Re: WatchKit Noob Question
Re: WatchKit Noob Question
- Subject: Re: WatchKit Noob Question
- From: Charles Jenkins <email@hidden>
- Date: Tue, 08 Nov 2016 07:08:41 -0500
Well, no. The Apple docs I have found* and sample code from people asking
questions in places like StackOverflow all completely fail to mention you
need to import UserNotifications. Now that Apple’s docs have been
reformatted attractively with plenty of whitespace, it seems crucial
requirements info is often missing.
When I get home tonight, I’ll add that import statement, and from there
everything will probably work, so thanks, Quincey and Hunter! :-)
*I’m sure someone will be able to reply to this with a link and say “See?
It was right here!” But the word “import” doesn’t appear anywhere on
important pages where it should be such as
https://developer.apple.com/reference/usernotifications or
https://developer.apple.com/reference/usernotifications/unusernotificationcenter
On Mon, Nov 7, 2016 at 10:47 PM, Quincey Morris <
email@hidden> wrote:
> On Nov 7, 2016, at 17:00 , Charles Jenkins <email@hidden> wrote:
>
>
> What am I doing wrong?
>
>
> What is the error message?
>
> And you did import UserNotifications, right?
>
>
--
Charles
_______________________________________________
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