Igor Delovski Board Forum Index Igor Delovski Board
My Own Personal Slashdot!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AppleWatch basics

 
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Mac Cocoa
Mac Cocoa  
Author Message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3137
Location: Europe

PostPosted: Wed Nov 19, 2014 3:50 pm    Post subject: AppleWatch basics Reply with quote

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
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3137
Location: Europe

PostPosted: Wed Dec 03, 2014 4:23 pm    Post subject: Reply with quote

github.com - charlieelliott/SpaceWatchRunner

"A little POC of Animations on the Apple Watch in Swift"
Back to top
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Thu Dec 08, 2016 9:07 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Wed Dec 14, 2016 6:48 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Wed Dec 14, 2016 6:50 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Thu Dec 15, 2016 8:42 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Thu Dec 15, 2016 8:50 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Thu Dec 15, 2016 8:58 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3137
Location: Europe

PostPosted: Sun Feb 04, 2018 1:26 am    Post subject: Reply with quote

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
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Sun Feb 04, 2018 4:29 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3137
Location: Europe

PostPosted: Fri Feb 23, 2018 11:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3137
Location: Europe

PostPosted: Fri Feb 23, 2018 11:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Sat Feb 24, 2018 3:09 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Sat Mar 10, 2018 12:44 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3137
Location: Europe

PostPosted: Wed Sep 05, 2018 3:24 pm    Post subject: Reply with quote

http://vojtastavik.com/2015/04/30/how-to-open-the-parent-app-in-the-foreground-from-the-watchkit-app-handoff/

How to open the parent app in the foreground from the WatchKit app
Back to top
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Wed Oct 31, 2018 7:48 pm    Post subject: Reply with quote

git - nightguard/nightguard WatchKit Extension/ExtensionDelegate.swift

WKSnapshotRefreshBackgroundTask
WKURLSessionRefreshBackgroundTask

...
Back to top
View user's profile Send private message Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3137
Location: Europe

PostPosted: Sun Nov 04, 2018 12:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3137
Location: Europe

PostPosted: Tue Nov 27, 2018 8:23 pm    Post subject: Reply with quote

so Detecting when person wearing an Apple Watch falls

"motion.deviceMotion will just get the latest sample of device-motion data.

So, this might just fetch the data once on when you run it. You will probably
need something like a timer to check the acceleration.

Something like this taken from

https://developer.apple.com/documentation/coremotion/getting_raw_accelerometer_events "
Back to top
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3137
Location: Europe

PostPosted: Thu Feb 28, 2019 9:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3137
Location: Europe

PostPosted: Sun Aug 29, 2021 7:42 am    Post subject: Reply with quote

Apple - Status icons and symbols on Apple Watch

"Learn what the status icons at the top of your Apple Watch screen mean"
Back to top
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3137
Location: Europe

PostPosted: Wed Jan 24, 2024 9:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Mac Cocoa All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Delovski.hr
Powered by php-B.B. © 2001, 2005 php-B.B. Group