• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How does an instance variable in the ObjC code get connected to an interface element in the NIB file? BACK ON TRACK
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.  Don’t 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

  • Prev by Date: Re: Convert CGImageRef from BGR to RGB
  • Next by Date: Re: How to disconnect bound views temporarily
  • Previous by thread: Re: Convert CGImageRef from BGR to RGB
  • Next by thread: Re: How does an instance variable in the ObjC code get connected to an interface element in the NIB file? BACK ON TRACK
  • Index(es):
    • Date
    • Thread