Re: Getting resource for key (Swift)
Re: Getting resource for key (Swift)
- Subject: Re: Getting resource for key (Swift)
- From: "Jan E. Schotsman" <email@hidden>
- Date: Tue, 21 Jul 2015 19:46:36 +0200
On Jul 21, 2015, at 6:07 PM, Jens Alfke wrote:
On Jul 21, 2015, at 1:48 AM, Jan E. Schotsman <email@hidden>
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.
That's what I meant with my remark about punctuation.
I didn't ask a question, I made a statement.
(I was afraid to add an exclamation mark after "statement" ;-)
Jan E.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden