• 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
WatchKit Noob Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WatchKit Noob Question


  • Subject: WatchKit Noob Question
  • From: Charles Jenkins <email@hidden>
  • Date: Mon, 07 Nov 2016 20:00:58 -0500

I’m writing my first WatchKit app. My deployment target is watchOS 3.1.

I have searched the documentation and tutorials for scheduling local
notifications on the watch, and I’m stuck at step 1. This line of my
WatchKit Extension app’s InterfaceController.swift app file will not
compile:

  let content = UNMutableNotificationContent()

I’m sure I’m missing something that should be obvious, but this is how the
documentation I’ve found says to instantiate the content object.

What am I doing wrong?

--

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>
  • Prev by Date: Re: Programmatically Clear Dirty NSDocument
  • Next by Date: Xcode inspector-like tabs?
  • Previous by thread: Re: Programmatically Clear Dirty NSDocument
  • Next by thread: Re: WatchKit Noob Question
  • Index(es):
    • Date
    • Thread