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

Re: Dissappearing string


  • Subject: Re: Dissappearing string
  • From: Graham Cox <email@hidden>
  • Date: Thu, 17 May 2012 08:56:44 +1000

On 17/05/2012, at 2:44 AM, Charlie Dickman wrote:

> The actual problem is that I am telling an NSTextfield to set it's contents (the method is actually a part of NSCell from which NSTextfield inherits it) and it does not appear in the textfield. It used to work but I have no idea what I did to break it.


Does the text field have a formatter? That might be changing its behaviour in all sorts of ways. For example, if a number formatter has a maximum value, your second string numerically has a much higher value than the first, so it might be being rejected by the formatter.

But the mutable vs. immutable suggestion seems more likely.

--Graham


_______________________________________________

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

  • Follow-Ups:
    • Re: Dissappearing string
      • From: Charlie Dickman <email@hidden>
References: 
 >Dissappearing string (From: Charlie Dickman <email@hidden>)
 >Re: Dissappearing string (From: Graham Cox <email@hidden>)
 >Re: Dissappearing string (From: Charlie Dickman <email@hidden>)

  • Prev by Date: Re: Dissappearing string
  • Next by Date: Re: mutableBytes Creates Autoreleased Objects
  • Previous by thread: Re: Dissappearing string
  • Next by thread: Re: Dissappearing string
  • Index(es):
    • Date
    • Thread