• 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: Newbie: Referencing Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie: Referencing Objects


  • Subject: Re: Newbie: Referencing Objects
  • From: Graham Cox <email@hidden>
  • Date: Mon, 27 Oct 2008 09:37:15 +1100


On 27 Oct 2008, at 8:11 am, john fogg wrote:

Does this apply even if I create my UI programatically?

It applies as much as you want it to apply... by which I mean you are free to make a big ol' mess if you wish! But the MVC pattern keeps things sanely organised and should generally be followed, especially if your project is likely to grow to something of realistic size.




I lay out all
my interface elements with code and not in Interface Builder.


This is really not a good idea. Many newbies seem to want to avoid IB, maybe because it fits with their experience on other platforms better - but IB really does so much donkey work for you. The time taken to learn to use IB will be repaid a thousand times over in time not spent writing code to lay out UI, and then the time wasted endlessly tweaking it to line things up 'just so'.

Don't avoid IB, it's not worth it.

hth,

Graham



_______________________________________________

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


References: 
 >Newbie: Referencing Objects (From: "john fogg" <email@hidden>)
 >Re: Newbie: Referencing Objects (From: Andy Lee <email@hidden>)
 >Re: Newbie: Referencing Objects (From: "john fogg" <email@hidden>)
 >Re: Newbie: Referencing Objects (From: Nathan Kinsinger <email@hidden>)
 >Re: Newbie: Referencing Objects (From: Ken Thomases <email@hidden>)
 >Re: Newbie: Referencing Objects (From: "john fogg" <email@hidden>)

  • Prev by Date: Editing a dictionary using NSTableView
  • Next by Date: Re: Editing a dictionary using NSTableView
  • Previous by thread: Re: Newbie: Referencing Objects
  • Next by thread: Callback for when a window from another app is moved
  • Index(es):
    • Date
    • Thread