• 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: Subclassed AppKit vis IB & Designated Initializer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subclassed AppKit vis IB & Designated Initializer


  • Subject: Re: Subclassed AppKit vis IB & Designated Initializer
  • From: Ondra Cada <email@hidden>
  • Date: Thu, 13 May 2004 21:47:01 +0200

Brent,

On 13.5.2004, at 20:08, Brent Gulanowski wrote:

> How do I make sure that if I subclass an AppKit class to use in my GUI,
> that Interface Builder will call its designated initializer? Or has IB
> stopped bothering?

Oh, just make it read your documentation thoroughly, and it would
surely bother. Otherwise, how do you propose it finds which initializer
is the designated one of your class?

Meantime, whilst IB does not read docs that often, try using
awakeFromNib for initialization. If for some reason impossible, you may
override initWithCoder:.
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Subclassed AppKit vis IB & Designated Initializer
      • From: Brent Gulanowski <email@hidden>
References: 
 >Subclassed AppKit vis IB & Designated Initializer (From: Brent Gulanowski <email@hidden>)

  • Prev by Date: Re: Calling a method on objects in an NSArray
  • Next by Date: Re: [Slightly OT] PackageMaker question...
  • Previous by thread: Subclassed AppKit vis IB & Designated Initializer
  • Next by thread: Re: Subclassed AppKit vis IB & Designated Initializer
  • Index(es):
    • Date
    • Thread