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

Re: newbie: nil textfield


  • Subject: Re: newbie: nil textfield
  • From: mmalcolm crawford <email@hidden>
  • Date: Fri, 14 Nov 2003 17:32:57 -0800

On Nov 14, 2003, at 4:45 PM, Jorge Ramirez wrote:

if(textField == nil)
NSLog(@"text field is nil");
else
NSString *name = [wireTypeNameField stringValue];
When the method gets called, it prints text field is nil.

When is the method called?
If it's in init , it should probably be in awakeFromNib instead...

<http://developer.apple.com/documentation/Cocoa/Conceptual/ LoadingResources/index.html>

mmalc
_______________________________________________
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.

References: 
 >newbie: nil textfield (From: Jorge Ramirez <email@hidden>)

  • Prev by Date: Re: NSSearchField
  • Next by Date: MPEG2 "thumbnailing?"
  • Previous by thread: newbie: nil textfield
  • Next by thread: MPEG2 "thumbnailing?"
  • Index(es):
    • Date
    • Thread