Re: Works in 4.1 but not 4.2 ...
Re: Works in 4.1 but not 4.2 ...
- Subject: Re: Works in 4.1 but not 4.2 ...
- From: Roland King <email@hidden>
- Date: Thu, 2 Dec 2010 20:03:11 +0800
Runtime doesn't care about casts, you have what you have, it is what it is, that cast only shuts up the compiler.
What's the real error and real code.
On 02-Dec-2010, at 7:56 PM, James Cicenia wrote:
> ((PersonaDetailView*)self.view).controller = self;
>
> This fails at runtime but only in 4.2. Why ?
>
> It doesn't sense the typecast and thinks it is only a UIView.
>
> Thanks
> James
>
> _______________________________________________
>
> 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