On 6 Sep 2011, at 12:10, Vyacheslav Karamov wrote:
> Cast window to the type id:
>
> if ([window respondsToSelector:@selector(setRestorationClass:)])
> {
> [(id)window setRestorationClass:someClass];
> }
That will only quieten the warning if -setRestorationClass: has been declared
for some other class, which in the 10.6 SDK is not the case.
_______________________________________________
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]