• 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: contextual menu and NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: contextual menu and NSTextField


  • Subject: Re: contextual menu and NSTextField
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 13 Sep 2002 14:02:13 +0200

On Friday, September 13, 2002, at 12:53 , Arthur Clemens wrote:

@implementation TextFieldWithContextualMenu
- (id)init {
...
but the init method is never called.

That would be since it is not the designated initializer: all controls (all views, actually) are init'd by initWithFrame:, as cleanly documented.

In IB I have made the right connection...

Nevertheless, for initialization of a nibbed object you want to use awakeFromNib instead of different inits anyway.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: contextual menu and NSTextField
      • From: Arthur Clemens <email@hidden>
References: 
 >contextual menu and NSTextField (From: Arthur Clemens <email@hidden>)

  • Prev by Date: Re: mail.app plug-in API's
  • Next by Date: Re: mail.app plug-in API's
  • Previous by thread: Re: contextual menu and NSTextField
  • Next by thread: Re: contextual menu and NSTextField
  • Index(es):
    • Date
    • Thread