Re: Stupid objective-c question
Re: Stupid objective-c question
- Subject: Re: Stupid objective-c question
- From: Quincey Morris <email@hidden>
- Date: Wed, 21 Sep 2016 18:22:40 -0700
- Feedback-id: 167118m:167118agrif8a:167118sS5zSm_QeE:SMTPCORP
On Sep 21, 2016, at 18:00 , Slipp Douglas Thompson <email@hidden> wrote:
>
> isEqualToString: could cause issues here so isEqual: is the most sure-fire solution
Er, no. If the context is not an object, [context isEqual: … anything …] is going to crash in objc_msgSend before execution gets to the ‘isEqual’ method.
_______________________________________________
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