> On Jul 21, 2015, at 1:48 AM, Jan E. Schotsman <jesc...@xs4all.nl> wrote: > > So I just needed to replace "Bool?" by "AnyObject?"
Yes. If you look at the method’s declaration, the parameter type is “id*” in Obj-C, so it’s pretty clear you need to pass a pointer to an object. If you’d tried to pass a BOOL* in Objective-C you would have gotten a similar error. —Jens _______________________________________________ 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