• 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: Encoding custom class from Interface Builder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Encoding custom class from Interface Builder?


  • Subject: Re: Encoding custom class from Interface Builder?
  • From: Seth Pellegrino <email@hidden>
  • Date: Fri, 6 Jul 2007 09:59:41 -0400


On Jul 5, 2007, at 7:55 AM, Stephane Sudre wrote:
Are you are using this custom view multiple times in your project or are you planning to reuse it in the future?

If the answer is No, then stick with awakeFromNib.

I'm also rather new to Cocoa, so I was wondering under what conditions should initialization code go in -awakeFromNib and when it should go in -init. I have a controller class (instantiated in IB) which makes use of an -init, and an NSLog statement tells me that - init method gets called on application startup. Why is my -init method called and Mr. Duniho's isn't?


Thank you,

Seth Pellegrino

_______________________________________________

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


  • Follow-Ups:
    • Re: Encoding custom class from Interface Builder?
      • From: Julio Cesar Silva dos Santos <email@hidden>
References: 
 >Encoding custom class from Interface Builder? (From: Peter Duniho <email@hidden>)
 >Re: Encoding custom class from Interface Builder? (From: Stephane Sudre <email@hidden>)

  • Prev by Date: Re: How to support an Application with International languages.
  • Next by Date: Re: Objective-c Run-time headers
  • Previous by thread: Re: Encoding custom class from Interface Builder?
  • Next by thread: Re: Encoding custom class from Interface Builder?
  • Index(es):
    • Date
    • Thread