> On 15 Dec 2015, at 04:10, Luc Van Bogaert <[email protected]> wrote:
>> 
> 
> 
> I tried what you suggested and made a button subclass and just declared 
> conformance in objective-c, and then imported the class into Swift.
> This seems to do the trick, my button subclass is now accepted as conforming 
> to the protocol.
> Thanks!
> 

Good - If you can find 5 minutes I really would suggest filing a bug report on 
it, it’s nice to be able to work around it for now but it’s something needs to 
get fixed, the protocol definition is inconsistent in Objective C (defined as 
properties, implemented as functions) and that needs cleaning up or 
special-casing. 

_______________________________________________

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

This email sent to [email protected]

Reply via email to