Hi,

I would like to add support for ARC's weaks to my framework that supports Mac 
OS X down to 10.6

My current solution is:

#if defined(MAC_OS_X_VERSION_MIN_REQUIRED) && MAC_OS_X_VERSION_MIN_REQUIRED >= 
1070
    @property (weak) NSObject<SRValidatorDelegate> *delegate;
#else
    @property (assign) NSObject<SRValidatorDelegate> *delegate;
#endif

However, the value of MAC_OS_X_VERSION_MIN_REQUIRED is always 1070 despite of 
set Deployment Target (I compile on 10.11).
Why is it so and what solution could I use in my situation?

Best Regards,
Ilya Kulakov


_______________________________________________

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