Re: interface builder "read class files"
Re: interface builder "read class files"
- Subject: Re: interface builder "read class files"
- From: Jericho Hasselbush <email@hidden>
- Date: Mon, 24 Dec 2007 15:12:34 -0800
After you delete the instantiated object Converter Controller from the
icon view in the IB window, you have to drag a Object of NSObject type
into the window again to re-instantiate the object, then change it's
class to ConverterController. Unfortunately, there is no feedback
that IB actually reads the header file.
This as per the instructions on the tutorial page. http://developer.apple.com/documentation/Cocoa/Conceptual/ObjCTutorial/06Controller/chapter_6_section_6.html#/
/apple_ref/doc/uid/TP40000863-CH8-SW16
HTH.
--
Jericho
On Dec 24, 2007, at 1:05 PM, mikie wrote:
i'm new to cocoa programming. some time ago i tried to write simple
application in tiger and it worked.
now i'm trying to write the same application under leopard + xcode 3
+ interface builder 3.0 (629).
i have a problem adding the class to the interface builder.
when i do "read class files..." from the file menu and then point
header file
(my_interface_class_with_iboutlets_and_things_like_that.h) to add
it, ib doesn't say anything. no error, no "ding" etc. the same is
when i drag myheaderfile.h from xcode browser. it doesn't appear in
interface builder at all.
i found some question like this by googling but there was no answer,
tho.
may be i do something wrong way but it happens when i do step by
step tutorial from apple too (the currency converter one). even in
the final project file downloaded from apple dev site, if i remove
controllerclass.h from ib i can't reimport it again.
thanks,
mikie
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden