Mac Cocoa |
Author |
Message |
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Wed Nov 19, 2014 3:50 pm Post subject: AppleWatch basics |
|
|
theverge.com - 11 things we just learned about how the Apple
Watch works
"An iPhone is required — at (almost) all times. In Apple’s own words,
Watch apps extend iOS apps. "You begin your Watch app development
with your existing iOS app, which must support iPhone." That’s in part
because Watch apps’ processing power is all coming from the iPhone.
Apple says that "as the wearer interacts with the Watch App, Apple
Watch and iPhone pass information back and forth. Taps and other
messages from Apple Watch cause code in your WatchKit Extension
[e.g. iPhone] to execute." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Thu Dec 08, 2016 9:07 pm Post subject: |
|
|
rw - watchOS 2 Tutorial Part 1: Getting Started
"In the process, you'll learn:
How to add a watchOS 2 target to an iOS app;
How to share data across the two targets;
How to add a watchOS 2 interface controller to the Storyboard, and lay out the interface objects; and
How to create the WKInterfaceController subclass and wire everything up." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed Dec 14, 2016 6:48 pm Post subject: |
|
|
github - Awesome WatchKit sample apps & tutorials
"A curated list of the best, in-depth WatchKit tutorials that explain key
concepts and provide sample code. Feel free to contribute." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed Dec 14, 2016 6:50 pm Post subject: |
|
|
RW - WatchKit FAQ
"In this WatchKit FAQ, we'll answer a bunch of frequently asked questions
that we've seen around forums, Twitter, email and Stack Overflow. We'll
also periodically update this FAQ as new questions bubble up." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Thu Dec 15, 2016 8:42 pm Post subject: |
|
|
github - Awesome watchOS
"A curated list of awesome watchOS frameworks, libraries, sample apps"
Contents
* Getting Started
* Library and Frameworks
* Design
* Design Guidelines
* Design Resources
* Tools
* Sample Apps
* Books
* Tutorials
* Twitters
* Other Awesome Lists
* Contributing" |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Thu Dec 15, 2016 8:50 pm Post subject: |
|
|
github - Microsoft Graph and Apple Watch Sample
"Who are you? is a watch sample that lets you find out more about a colleague
in a meeting. It's meant to be a fun take on how you can intersect a wearable
like an Apple Watch with Microsoft Graph, a unified endpoint for accessing data,
relationships and insights that come from the Microsoft Cloud.
This project has adopted the Microsoft Open Source Code of Conduct. For more
information see the Code of Conduct FAQ or contact opencode@microsoft.com
with any additional questions or comments." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Thu Dec 15, 2016 8:58 pm Post subject: |
|
|
github - Open-Source iOS Apps
"A collaborative list of open-source iOS, watchOS and tvOS apps, your
contribution is welcome."
Apple Watch, Apple TV, ... |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Sun Feb 04, 2018 1:26 am Post subject: |
|
|
telerik.com - Register Apple Watch and iPhone for Development and Distribution
"To run your bundle on an Apple Watch during the development process,
you need to build and code sign the bundle with provisioning profiles for
each of the three bundle components - the host app, the watch extension
and the watch app. You can use development provisioning profiles or Ad
Hoc distribution provisioning profiles." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sun Feb 04, 2018 4:29 pm Post subject: |
|
|
so - Xcode 6 error: 'Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier.'
"It looks like the bundle ID behavior changed when WatchOS 2 arrived.
Previously I had an extension bundle identifier like this:
com.mycompany.myappname.watchkitextension
Somewhere else on Stackoverflow it was mentioned that the extension
bundle identifier should be in this format, but no matter what I tried Xcode
kept throwing errors at me.
The only possible solution is changing the extension bundle identifier to:
com.mycompany.myappname.watchkitapp.watchkitextension" |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Fri Feb 23, 2018 11:02 pm Post subject: |
|
|
telerik - Tips for Apple Watch Development with Xcode & WatchKit
"The first thing you realize when you start working on a WatchKit app is that it
is not a standalone app. WatchKit apps are nothing more than an extension to
a standard iOS app that you may have already developed." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Fri Feb 23, 2018 11:07 pm Post subject: |
|
|
Felix Ha - Apple Watch: Connectivity +FAQ, Complications, NSURLSession
Code: | NSURLSessionConfiguration *sessionConfig =
[NSURLSessionConfiguration defaultSessionConfiguration];
// restricts network operations to Wifi
sessionConfig.allowsCellularAccess = NO;
// sets all requests to only accept JSON responses
[sessionConfig setHTTPAdditionalHeaders:
@{@"Accept": @"application/json"}];
// configures timeouts & restricts app to only have one network connection to a host
sessionConfig.timeoutIntervalForRequest = 30.0;
sessionConfig.timeoutIntervalForResource = 60.0;
sessionConfig.HTTPMaximumConnectionsPerHost = 1;
|
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sat Feb 24, 2018 3:09 pm Post subject: |
|
|
rw - watchOS 4 Tutorial Part 1: Getting Started
"In this watchOS 4 Tutorial, you'll build a simple but fully functional watchOS 4
app. Specifically, you will work on a Watch app for a fictional airline called Air
Aber." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sat Mar 10, 2018 12:44 am Post subject: |
|
|
techotopia.com - WatchOS 2 App Development Essentials
watchOS 2 Apps - An Overview ... Building an Example watchOS 2 WatchKit
App ... An Overview of the watchOS 2 App Architecture ... An Example
Interactive watchOS 2 App ... An Overview of WatchKit Tables in watchOS 2 ...
Tables at Apple: App Programming Guide for watchOS |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Sun Nov 04, 2018 12:33 am Post subject: |
|
|
Kristina.io - watchOS
"I'm Kristina Fox. Senior iOS engineer at Intuit. International tech speaker.
Posts too many pictures of food and animals on Instagram. Interested in
watchOS, wine, diversity and inclusion, avocado toast, engineering leadership,
and kittens. Closeted gamer. Toes the line between introvert and extrovert.
Has nightmares about deleting derived data." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Thu Feb 28, 2019 9:49 pm Post subject: |
|
|
FlickType - FlickTypeKit
"Type your words using the Qwerty keyboard.
Flick right for a space and then type your next word.
Flick right again for a period.
Flick left to delete a word.
Flick down to change the word and punctuation.
Rotate the Digital Crown to see what you typed.
Use Force Touch to pull up the menu which includes Clear, Send (using
Messages), and Custom Input options."
https://github.com/keleftheriou/FlickTypeKit |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Wed Jan 24, 2024 9:37 am Post subject: |
|
|
so - WatchKit didReceiveApplicationContext not being called
"Check the session to make sure its isPaired and watchAppInstalled
properties are both YES. It seems like updating the shared context while
these are NO will not work.
I was having this issue.
Made a change to not update the context when either condition was NO.
Added an implementation of sessionWatchStateDidChange:, and if both
conditions were YES, updated the context. It worked.
I suspect this in combination with another issue where the phone will not
send the context if the data is not different causes the "never updating"
issue. A workaround of passing a "uuid" did help but I suspect the above is
a better fix." |
|
Back to top |
|
|
|