• 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: Interface showing wrong values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interface showing wrong values


  • Subject: Re: Interface showing wrong values
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 29 Sep 2010 21:47:54 -0700

On Sep 29, 2010, at 7:02 PM, Evan Coleman <email@hidden> wrote:

> I'm having a very strange problem. I can't provide any code because I don't
> know which part of my code is causing the problem. I have an NSMenuExtra,
> and for some reason some labels and image views in an NSView inside of an
> NSMenuItem are displaying their default values (the values that are set in
> interface builder). But when I do [textField stringValue] it returns the
> value it should be displaying, not what is actually displayed. Anyone know
> what's causing this?

Are you sure you're talking to the objects you think you're talking to? Most often this happens because two copies of the views are created, and the code only interacts with the offscreen one.

--Kyle Sluder_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Interface showing wrong values (From: Evan Coleman <email@hidden>)

  • Prev by Date: Creating and associating my own file extension based on plist
  • Next by Date: Re: Table column alignment
  • Previous by thread: Interface showing wrong values
  • Next by thread: Creating and associating my own file extension based on plist
  • Index(es):
    • Date
    • Thread