HI Kyle.
Thanks for that.
I totally missed the fact that NSUserInterfaceItemIdentification is a recent 
addition.
Looks like I will just have to refactor.

J
> On 9 Dec 2015, at 21:19, Kyle Sluder <k...@ksluder.com> wrote:
> 
> On Wed, Dec 9, 2015, at 11:20 AM, Jonathan Mitchell wrote:
>> NSViewController conforms to NSUserInterfaceItemIdentification so should
>> implement 
>> @property (nullable, copy) NSString *identifier;
>> 
>> I build my app on 10.11 with a deployment target of 10.9
>> 
>> Om 10.10 and 10.11 no issues.
>> On 10.9 I get
>> 
>> 'NSInvalidArgumentException', reason: '-[TSToolbarGroup identifier]:
>> unrecognized selector sent to instance 0x60000018ee10’
>> TSToolbarGroup is an NSViewController subclass of mine
> 
> As per the AppKit release notes, NSViewController only started
> conforming to NSUserInterfaceItemIdentification in 10.10. Sadly, the are
> no availability macros for conformances.
> 
> You might consider filing a bug report about this, but in the meantime
> you'll need to stop sending -identifier to your view controllers when
> running on 10.9.
> 
> --Kyle Sluder
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/jonathan%40mugginsoft.com
> 
> This email sent to jonat...@mugginsoft.com















_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to