• 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: IBOutlet does not initialize. Newbie Q.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IBOutlet does not initialize. Newbie Q.


  • Subject: Re: IBOutlet does not initialize. Newbie Q.
  • From: Bernd Carl <email@hidden>
  • Date: Mon, 23 Feb 2004 20:05:32 +0100

Thank You!
You won't guess how many hours I've been working on this. This email saved my day. No more grief etc. etc.
Even if I don't get it 100% I kinda know where you're pointing at :-)
Many greetings, Bernd.

Amul Goswamy wrote:

You are creating a new instance of StringSplit here. An instance of StringSplit lives in your nib and that is the instance whose Outlets point to the text fields.

Instead of instantiating it in code. Make the input ivar into an IBOutlet and connect that Outlet to your StringSplit instance in IB.

ie:
IBOutlet StringSplit *input;

On Feb 23, 2004, at 8:49 AM, Bernd Carl wrote:

StringSplit *input;



input = [[StringSplit alloc]init]; [input analyse];



Amul Goswamy
Interface Builder
Apple
_______________________________________________
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: 
 >IBOutlet does not initialize. Newbie Q. (From: Bernd Carl <email@hidden>)
 >Re: IBOutlet does not initialize. Newbie Q. (From: Amul Goswamy <email@hidden>)

  • Prev by Date: Re: daemon processes at boot time
  • Next by Date: Re: Table sorting in panther
  • Previous by thread: Re: IBOutlet does not initialize. Newbie Q.
  • Next by thread: Position of the selection cursor in an NSTextField
  • Index(es):
    • Date
    • Thread