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 protected]) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/rols%40rols.org > > This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
