Blog Articles
-

Day 53…54 – Bookworm
Today we are building an app that stores its data in CoreData. However, very early on in the build process Paul suggests using the TextEditor input view. This unfortunately is not available in watchOS, so I chose to use TextField instead. Next on Day 54, we have to deal with a ‘navigationBarTrailing’ is unavailable in…
-

Day 40…41 Moonshot
Mostly everything works quite well on the watch. Because of the screen size we only end up with one column in the LazyVGrid, but this is fine and allows the same code to run on other devices without modification. However, the NavigationLink on watchOS by default uses a background colour, and this also tries to…
-

Day 36 – iExpense
Everything seemed to go well with the first set of topics for the iExpense App. However, one thing that is not available on watchOS yet is the EditButton(). Xcode gives the error ‘EditButton’ is unavailable in watchOS. This is unsurprising as the EditButton is primarily used to select several items at once and then delete…
-

Day 29 and 30 – WordScramble App
The WordScramble App was a partial success on watchOS. There are some big ‘gotchas’ that mean some further knowledge of workarounds would be needed to make it truly work well on the most personal device. Modifiers Strangely in watchOS, I couldn’t get the textField modifier .autocapitalization(.none) to work. The editor would throw a Cannot infer…
-

Choosing to develop for the Apple Watch
I’m a recent convert to developing in Swift for the iOS devices. I got my Apple Watch when it was still mirroring Apps on the iPhone. The Watch basically being a display with the WatchKit Extension running on the iPhone and sending over it’s data to the WatchKit App on the wearable. watchOS 3 changed…
-

Day 20 – Material struct is not available on watchOS
Looks like the Material struct is not available on watchOS, for instance the background below works well on iOS and iPadOS, but throws and error in Xcode if you try to using it in an Apple Watch App The next interesting issue with Paul’s code is that the role: parameter for a Button view on…
-

Post While Travelling
A little test This is a test post to see if the site is being federated. Hopefully someone will be able to see the post via Mastodon or similar site that uses ActivityPub.
-

Day 17 (WeSplit)
Today, the modifier .keyboardType() is unavailable for watchOS. I guess that makes sense in a way as some models of Apple Watch do not even have an on-screen keyboard. However, it might be nice to be able to use this specifier for things like the continuity keyboard. If the message pops up on your iPhone…
Search the blog for more articles

