Re: self.myTextField.stringValue = @"" fails
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