• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WatchKit Noob Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: WatchKit Noob Question
      • From: Quincey Morris <email@hidden>
References: 
 >WatchKit Noob Question (From: Charles Jenkins <email@hidden>)
 >Re: WatchKit Noob Question (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Creating an NSWindow with utility style in Xcode storyboard?
  • Next by Date: Re: Creating an NSWindow with utility style in Xcode storyboard?
  • Previous by thread: Re: WatchKit Noob Question
  • Next by thread: Re: WatchKit Noob Question
  • Index(es):
    • Date
    • Thread