• 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: Amul Goswamy <email@hidden>
  • Date: Mon, 23 Feb 2004 09:09:01 -0800

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.

  • Follow-Ups:
    • Re: IBOutlet does not initialize. Newbie Q.
      • From: Bernd Carl <email@hidden>
References: 
 >IBOutlet does not initialize. Newbie Q. (From: Bernd Carl <email@hidden>)

  • Prev by Date: Can't open specified type in NSOpenPanel
  • Next by Date: Re: Problems deleting a Window in IB
  • Previous by thread: A Question about StuffIt SDK
  • Next by thread: Re: IBOutlet does not initialize. Newbie Q.
  • Index(es):
    • Date
    • Thread