• 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: self.myTextField.stringValue = @"" fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: self.myTextField.stringValue = @"" fails


  • Subject: Re: self.myTextField.stringValue = @"" fails
  • From: Eeyore <email@hidden>
  • Date: Tue, 08 May 2012 09:59:30 -0700

There's definitely a nil being passed somewhere it shouldn't, I don't have any insights on that based on what was posted. However, I don't think @"" will be nil (at least it isn't in Xcode 4.3.2 for iOS 5.1):

NSString* theString = @"";
NSLog(@"%p", theString);

prints

2012-05-08 09:54:20.270 iSplit[1450:15503] 0x235f24

Aaron


On May 8, 2012, at 9:28 AM, Charlie Dickman wrote:

> Read the message...
>
> Catchpoint 7 (exception thrown).2012-05-08 18:09:31.742 MyApp[18775:507] Invalid parameter not satisfying: aString != nil
> On May 8, 2012, at 12:15 PM, Antonio Nunes wrote:
>
>> Catchpoint 7 (exception thrown).2012-05-08 18:09:31.742 MyApp[18775:507] Invalid parameter not satisfying: aString != nil
>
> @"" is the nil string and the compiler is smart enough to make the substitution.
>
> Charlie Dickman
> email@hidden
>
>
>
>
> _______________________________________________
>
> 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
>


_______________________________________________

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: 
 >self.myTextField.stringValue = @"" fails (From: Antonio Nunes <email@hidden>)
 >Re: self.myTextField.stringValue = @"" fails (From: Charlie Dickman <email@hidden>)

  • Prev by Date: Re: self.myTextField.stringValue = @"" fails
  • Next by Date: Re: self.myTextField.stringValue = @"" fails
  • Previous by thread: Re: self.myTextField.stringValue = @"" fails
  • Next by thread: Re: self.myTextField.stringValue = @"" fails
  • Index(es):
    • Date
    • Thread