FROM : Jonathan Hess
DATE : Mon Jan 14 19:19:45 2008
On Jan 12, 2008, at 8:43 AM, Patrick Mahoney wrote:
> Hello,
>
> I'm quite new to Cocoa development and I'm sad to say that I'm stuck
> pretty early on. I was walking through the Currency Converter
> example (with some minor changes), and I cannot get IB to create the
> CustomConverter from the file I laid out. Selecting File -> Read
> Class Files -> CustomController.h doesn't return any errors, but
> doesn't create an instance in my .nib file either.
Hey Patrick -
That's because "Read Class Files…" only informs interface builder
about a class. To create an instance of a class, drag an instance of
"NSObject" out of the library, to your main document window, and then
use the identity inspector (Command+6) to change the custom class to
"CustomConverter".
Jon Hess
>
>
> I have double checked that I have IBOutlets (and IBActions) in my .h
> file, and the formation is identical to what is shown in the
> tutorial, but still nothing. I'm at a complete loss for what to do
> to. I made sure that the project compiles w/o error (though I know
> that isn't necessary). Does IB log any output anywhere (I didn't
> find anything in the system logs)?
>
> Thanks,
> Patrick
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
DATE : Mon Jan 14 19:19:45 2008
On Jan 12, 2008, at 8:43 AM, Patrick Mahoney wrote:
> Hello,
>
> I'm quite new to Cocoa development and I'm sad to say that I'm stuck
> pretty early on. I was walking through the Currency Converter
> example (with some minor changes), and I cannot get IB to create the
> CustomConverter from the file I laid out. Selecting File -> Read
> Class Files -> CustomController.h doesn't return any errors, but
> doesn't create an instance in my .nib file either.
Hey Patrick -
That's because "Read Class Files…" only informs interface builder
about a class. To create an instance of a class, drag an instance of
"NSObject" out of the library, to your main document window, and then
use the identity inspector (Command+6) to change the custom class to
"CustomConverter".
Jon Hess
>
>
> I have double checked that I have IBOutlets (and IBActions) in my .h
> file, and the formation is identical to what is shown in the
> tutorial, but still nothing. I'm at a complete loss for what to do
> to. I made sure that the project compiles w/o error (though I know
> that isn't necessary). Does IB log any output anywhere (I didn't
> find anything in the system logs)?
>
> Thanks,
> Patrick
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Patrick Mahoney | Jan 12, 17:43 | |
| Jonathon Mah | Jan 12, 18:21 | |
| Gregory Weston | Jan 12, 21:06 | |
| Jonathan Hess | Jan 14, 19:19 |






Cocoa mail archive

