Re: Editing nib files in XCode 4 and other stuff (corrected!)
Re: Editing nib files in XCode 4 and other stuff (corrected!)
- Subject: Re: Editing nib files in XCode 4 and other stuff (corrected!)
- From: Christiaan Hofman <email@hidden>
- Date: Sat, 30 Apr 2011 19:32:25 +0200
On Apr 30, 2011, at 18:25, John Love wrote: I've just converted my long-standing XCode 3 project to XCode 4. I was very fortunate in that the only change I had to make was because the call to -setDelegate was changed from:
- (void )setDelegate:(id)delegate to: - (void )setDelegate:(id < NSToolbarDelegate >)delegate - (void )setDelegate:(id < RunPortDelegate >)delegate
for one class's ToolbarCategory and for my RunPortCategory for another Class.
(1) For what reason did they make that change to -setDelegate .. just plain ole (id) worked ??
That change was made long ago, and has nothing directly to do with Xcode 4 vs Xcode 3. It was added in the 10.6 SDK, and was added to allow for better compile time warnings if calls made on the delegate (for id all methods are valid, while for id<protocol> only the methods defined in the protocol).
Christiaan
(2) Based on what I've read (and shown) SO FAR is that XCode 3 generated nib's are not editable in XCode 4 and that the only way to get around this is: a. edit them in XCode 3 and do everything else in XCode 4 .. thank heavens I was smart enough to keep XCode 3 around b. re-generate them in XCode 4, basically starting over in XCode 4's integrated environment. I don't know how to do that yet .. have downloaded various PDFs, so I've got a lot of reading to do .. something about creating a file first via the File Menu .. I'll get there eventually
John Love Touch the Future! Teach!
This is simply not true.
Christiaan
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden