• 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: Xcode / Interface Builder creates nil binding of an NSTextField instance ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode / Interface Builder creates nil binding of an NSTextField instance ...


  • Subject: Re: Xcode / Interface Builder creates nil binding of an NSTextField instance ...
  • From: Jay Reynolds Freeman <email@hidden>
  • Date: Sat, 19 Jun 2010 19:21:12 -0700

On Jun 19, 2010, at 5:20 PM, Jens Alfke wrote:

>On Jun 19, 2010, at 4:15 PM, Jay Reynolds Freeman wrote:
>
>> In IB, I drag an instance of NSTextField from the library onto my
>> window, and use control-drag to hook it up to as instance of
>> NSTextField in a controller, the instance being declared in that
>> controller's header file.
>
> Which nib file is it? What is the object you’re wiring the textfield to?
> (It sounds like it should be the MainMenu.xib, and you should be wiring
> it to the object identified as the NSApplication’s delegate, i.e.
> the object that’s wired up as the ‘delegate’ outlet of the NSApplication in the xib.)

That is indeed what I am doing.

>> IBOutlet NSTextField *ExpectStuff;
>
> Not directly relevant, but as a matter of Obj-C coding style,
> instance variables should not be capitalized.

  That's why they call it "style" ...  :-)

—Jens

--  Jay Reynolds Freeman
---------------------
email@hidden
http://web.mac.com/jay_reynolds_freeman (personal web site)
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Xcode / Interface Builder creates nil binding of an NSTextField instance ...
      • From: Chris Hanson <email@hidden>
    • Re: Xcode / Interface Builder creates nil binding of an NSTextField instance ...
      • From: Jens Alfke <email@hidden>
References: 
 >Xcode / Interface Builder creates nil binding of an NSTextField instance ... (From: Jay Reynolds Freeman <email@hidden>)
 >Re: Xcode / Interface Builder creates nil binding of an NSTextField instance ... (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: _NSZombie Breakpoints won't Resolve (Xcode 3.2.2)
  • Next by Date: Errors linking to stdarg.h and float.h
  • Previous by thread: Re: Xcode / Interface Builder creates nil binding of an NSTextField instance ...
  • Next by thread: Re: Xcode / Interface Builder creates nil binding of an NSTextField instance ...
  • Index(es):
    • Date
    • Thread