Re: How does an instance variable in the ObjC code get connected to an interface element in the NIB file? BACK ON TRACK
Re: How does an instance variable in the ObjC code get connected to an interface element in the NIB file? BACK ON TRACK
- Subject: Re: How does an instance variable in the ObjC code get connected to an interface element in the NIB file? BACK ON TRACK
- From: Erik Buck <email@hidden>
- Date: Mon, 16 Jun 2008 13:40:46 -0700 (PDT)
Over 130 outlets! Holy Sassafras Tea! That is ten to fifteen times more outlets than I have ever seen in a single class in 20 years of Objective-C programming!
I suspect you are doing something very wrong.
First, use the Model-View-Controller pattern. Dont store application state or Model data in the View.
Second, use patterns like data source and objects like NSTableView and NSMatrix and NSColectionView to structure user interfaces that require lots of objects.
Regarding the original question: How does an instance variable in the ObjC code get connected to an interface element in the NIB file?
I was hoping someone would point out the answer that was provided in this forum one month before this question was asked (again):
http://www.cocoabuilder.com/archive/message/cocoa/2008/5/15/206771
_______________________________________________
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