iPhone Open Application Development
iPhone Open Application Development Write Native Objective-C Applications for the iPhone

By Jonathan A. Zdziarski
Book Price: $39.99 USD
£24.99 GBP
PDF Price: $27.99

Cover | Table of Contents | Forum | Colophon


Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Uiwebview.h Corrections -- No Uikeyboardinputprotocol.h Or Uiformcontrol
jamshid
post Apr 10 2008, 03:17 AM
Post #1


New Member
*

Group: Members
Posts: 3
Joined: 10-April 08
Member No.: 214



In case this helps others, or let me know if this means there's something wrong with my toolchain...

I had to make a few changes to a UIKit header in order to compile "examples/Code Examples/7.29 Web Views/SimpleWebView.m":

In /usr/local/arm-apple-darwin/include/UIKit/UIWebView.h I removed an import and added
another:

/*!!!#import "UIKeyboardInputProtocol.h"*/
#import <UIKit/UIKeyboardInput.h>

and had to remove all occurances of "<UIFormControl>", e.g.:

DOMNode/*!!!<UIFormControl>*/ *element;

Did anyone else have to do this? Did anyone else not have to do this?

Thanks, Jamshid
Go to the top of the page
 
+Quote Post
jzdziarski
post Apr 10 2008, 11:46 AM
Post #2


Active Member
**

Group: Members
Posts: 24
Joined: 1-April 08
Member No.: 187



This is likely a bug in the subversion repository for the headers. I'll pass it on.
Go to the top of the page
 
+Quote Post
DgDimick
post Apr 19 2008, 05:38 AM
Post #3


New Member
*

Group: Members
Posts: 3
Joined: 19-April 08
Member No.: 236



QUOTE (jamshid @ Apr 9 2008, 09:17 PM) *
In case this helps others, or let me know if this means there's something wrong with my toolchain...

I had to make a few changes to a UIKit header in order to compile "examples/Code Examples/7.29 Web Views/SimpleWebView.m":

In /usr/local/arm-apple-darwin/include/UIKit/UIWebView.h I removed an import and added
another:

/*!!!#import "UIKeyboardInputProtocol.h"*/
#import <UIKit/UIKeyboardInput.h>

and had to remove all occurances of "<UIFormControl>", e.g.:

DOMNode/*!!!<UIFormControl>*/ *element;

Did anyone else have to do this? Did anyone else not have to do this?

Thanks, Jamshid


Thanks for the Fix, I made the changes and 7.29 compiles for me.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 16th May 2008 - 12:43 PM