> I'm pretty sure this isn't what you're
> proposing, but it could be one interpretation of your
> description!
Sorry, I should have phrased it better. I am trying to avoid hardcoding the
filenames into the custom views
> In the NIB, just use a "custom view", then set
> its class to your class
> name. Then you don't have to instantiate it in code at
> all - it's
> already in existence in the NIB. When the NIB is loaded you
> can set
> the filename of the image, most likely using the
> -awakeFromNib
> message. To obtain the reference to the view, add an
> IBOutlet to its
> controller and link it up in IB. Then you can use that
> outlet to refer
> to the view.
I tried you suggestion and it worked. Thanks a lot !!!!!!!
Genu
_______________________________________________
Cocoa-dev mailing list ([email protected])
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/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]