• 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 question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question


  • Subject: Re: Newbie question
  • From: Simon Wilson <email@hidden>
  • Date: Wed, 11 Feb 2009 20:07:10 +0100

Hi Martin,

Interface Builder's outlets are an implementation of the "Dependency Injection" pattern, which is related to the "Inversion of Control" pattern:

http://en.wikipedia.org/wiki/Dependency_injection
http://en.wikipedia.org/wiki/Inversion_of_control

If you are not familiar with these patterns/concepts and have not used DI containers (which are very popular in Java with frameworks like Spring) then I strongly suggest you read up on them. IB is implementing very similar concepts, the only difference being that the configuration of dependencies is done graphically by establishing connections instead of in code/XML as is the case with most DI containers.

I hope this helps.

Simon

On Feb 11, 2009, at 13:45 PM, TrePos wrote:

Hi,

Sorry to bother with a newbie question but I'm kinda stuck. I fail to grasp the concept of interface builder. I know it sort of generates object meta information which is instantiated at program startup and thus eases the UI design process. I just have difficulty understanding how the 'connection' between IB defined objects and 'coded' objects work. The IB user manual is great but mostly explains the usage of the program but not so much about underlying concept.

Is there any doc/web page/ or book that some one can refer to? Or maybe the advise is to hand code everything, I don't know.

Thanks in advance,
Martin Schouten. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Newbie question (From: TrePos <email@hidden>)

  • Prev by Date: Re: Problem with (Saturn) Profiler
  • Next by Date: Re: Newbie question
  • Previous by thread: Re: Newbie question
  • Next by thread: Re: Newbie question
  • Index(es):
    • Date
    • Thread