Upgrade to Pro — share decks privately, control downloads, hide ads and more …

iPad App Power Ups with iOS13

iPad App Power Ups with iOS13

Presented at iOS Munich event, Google, 8th July 2019

Avatar for Andy Bell

Andy Bell

July 08, 2019

More Decks by Andy Bell

Other Decks in Programming

Transcript

  1. - Project Catalyst What I’ll talk about… - menus &

    context menus - multi-window scenes - PencilKit B E T A
  2. Make all of your apps functionality accessible via the menu

    system (more on this soon…) Menu Systems
  3. TestFlight is not available for macOS apps. Mac App testing

    macOS apps can be configured to launch outside Xcode on designated Mac computers using a development provisioning profile.
  4. If you want to distribute the Mac version of an

    iPad app through the Mac App Store, the Mac version must have a different bundle ID and app record than the iPad app * https://help.apple.com/xcode/mac Mac App Distribution
  5. If you have In-App Purchases or Subscriptions, you’ll need to

    recreate them for the Mac version in App Store Connect * https://help.apple.com/xcode/mac Mac App Distribution
  6. ) { override func buildMenu(with builder: } // Remove items

    from the builder… // Add UICommand items to the builder… The Menu Bar UIMenuBuilder
  7. Help menu - HTML - Searchable & Localised - Stored

    in ‘Resources’ of application bundle - OR…on remote server - OR…hybrid
  8. UIApplication Session A Session B NSUserActivity ‘userInfo’ Dictionary [AnyHashable: Any]?

    NSArray, NSData, NSDate, NSDictionary, NSNull, NSNumber, NSSet, NSString, or NSURL
  9. PKCanvas • handles all of the touch events and data

    coming from Apple Pencil, and renders that information using the tool you specify • is a scroll view, so you can make the drawable area bigger than the canvas view’s frame rectangle • conforms to the PKToolPickerObserver protocol, so you can add it as an observer of the window’s tool picker
  10. PKToolBar When added display is handled as responder on the

    PKCanvas similar to UITextField keyboard
  11. PKDrawing func image(from: CGRect, scale: CGFloat) -> UIImage func dataRepresentation()

    -> Data Returns an image object containing the specified portion of the drawing. Returns an opaque representation of the rendered content.