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

Subclassed AppKit vis IB & Designated Initializer


  • Subject: Subclassed AppKit vis IB & Designated Initializer
  • From: Brent Gulanowski <email@hidden>
  • Date: Thu, 13 May 2004 14:08:10 -0400

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?

In this case, I am subclassing NSTableColumn to override -cellForRow:

My workaround was to set ivars in awakeFromNib, but that is stupid.
Inits should go in init methods!


--
Brent Gulanowski email@hidden

[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: Ondra Cada <email@hidden>
  • Prev by Date: [ANN] Searchable Cocoa-Dev Web Archive
  • Next by Date: Re: Cocoa Programming for Mac OS X (SE)
  • Previous by thread: Re: [Slightly OT] PackageMaker question...
  • Next by thread: Re: Subclassed AppKit vis IB & Designated Initializer
  • Index(es):
    • Date
    • Thread