Alternative to Stepper in WatchOS with SwiftUI - swiftui

G'Day All from Brisbane,
I have been starting to develop some trial watch apps and I came across something interesting and a bit odd. The SwiftUI Stepper is not available in WatchOS. This meant I had to modify my app code from the iOS version and now it uses the Digital Crown instead. That’s a bit annoying as the crown is not integer which means extra code to convert stuff. I cannot find any comments about the Stepper not being in watchOS in the internet which was a surprise. 😮. Anyone got a better solution ?
Cheers

Stepper is now available as of watchOS 9 🥳

Related

What is the NSUbiquitousKeyValueStore equivalent for watchOS?

App Groups is sadly not supported on watchOS still and NSUbiquitousKeyValueStore is available for every platform except watchOS. I've read the Keeping Your watchOS Content Up to Date and mentions iCloud and they make it sound so easy but don't provide an example. It seems I have to create a whole client-side CloudKit infrastructure to support it and seems like overkill, then requires the rest of the platforms to do the same just because watchOS is the odd ball.
Is there a simple key/value iCloud store equivalent in watchOS that I'm missing? It seems really difficult to share cloud data when you add watchOS to the mix. I tried using the iPhone as a source of truth and communicate with watchOS, but was very clunky and requires them to be in range with each other or they become out of sync. Any help or guidance would be greatly appreciated!
NSUbiquitousKeyValueStore is available starting with watchOS 9.0
Doc: https://developer.apple.com/documentation/foundation/nsubiquitouskeyvaluestore

Using CareKit in SwiftUI

I've been struggling with CareKit for past few days and I were unable to use CareKit in my SwiftUI project.
It would be so great if I could get a really really simple project on SwiftUI.
Also how can I use only one specific Card? for example only Task Card.

Is it possible to design for CarPlay with SwiftUI?

I have been playing around with SwiftUI since the beta launched and was curious if anyone has figured out way to design for CarPlay in Xcode using SwiftUI? It doesn't seem to be available in Apple's list of devices and so far I haven't been able to find a way to enable it as a secondary screen.
Currently using Xcode 11 Beta 5. Tried seeing if CarPlay could be added as a .previewDevice, but that is specifically for hardware.
You don't need MFi for CarPlay, you need CarPlay entitlement.
Still not sure about SwiftUI and CarPlay.
I am sure SwiftUI will not support some specific CarPlay categories such as Media Playback and Messaging & VoIP, but maybe with Navigation or Automaker.
You won't be able to see CarPlay in Xcode because it's only for people who are enrolled with Apple MFi Program. This gives you access to the tools, documentation, technical specs and the license itself to develop for CarPlay. Please see here for the MFI program and here for the MFI FAQ.
A very good write up on StackOverflow can also be found here.
It is also currently unknown if CarPlay can be developed with SwiftuI because people who develop CarPlay apps need to sign a NDA. But I think Apple will continue to push SwiftUI so I don't see why it's not possible

Is it possible to enable a Cocos2d app to mirror display on HDMI-AirServer-Apple TV?

AirServer, AppleTV support only certain iPhones models and iPads. However, iPod touch 4th generation is supported but only for certain applications (e.g. YouTube).
I had asked a very similar question which has been closed, and has been voted for re-open. With this question I would like to focus on the programming side of the question.
Is it possible to add some code to my iPod touch 4 Cocos2D app to enable the App mirrowing?
I found some reference and UIScreen has the mirrored property but I am a bit confused because the Apple store assitant said that iPod 4 generation has a different chip that doesn't allow the mirrowing. I thought that this was not true because is actually possible to mirrow Youtube, as well as by jailbraking the iPod 4 it should be possible too.
I am in the hunt of a tutorial-guide to enable this for my Cocos2D iPod 4 app. With iPhone 4S onwards this should be possible without adding any code but the issue that I want to solve is for iPod 4.
Airplay mirroring is an iOS 5 feature and available when the user selects it. This feature is not available on iPod Touch 4.
To connect to Apple TV refer to this guide where the minimum requirements (iPhone 4S, iPad 2) are also listed.

which cocos2d project to use for android?

We are building a game with sns features.
We are planning to use native framework(e.g. UIKit for iOS) for sns features.
With that in mind,
which one would be better?
http://www.cocos2d-x.org/ or http://code.google.com/p/cocos2d-android-1/
By which definition of "better" are we supposed to decide what is "better" for you?
I'm answering this question by saying that you should try out both, then go with the engine that you feel more productive with. Make the quickest prototype possible using the minimum features you require. In your case that might be displaying a native UI view inside a cocos2d OpenGL view.
For more information about what really matters when selecting an engines read my "game engine picker guide".
I think might be cocos2d-x. I did compare those two, basically, the android one is almost dead and there is no update any more. and the support and tutorials is pool.
But cocos2d-x will be difficult when you try to integrated with the SDK features as you need to go through jni. However, there are plenty of tutorials online to show you how to do that.
I have attempted cocos2d-x in windows environment using eclipse and eventually decided against it because it lacks debugging support and proper IDE integration, which is very good in Java/Android/eclipse/ADT. The only way I would recommend cocos2d-x is if you are developing for IOS and then porting to Android but I don't know about UIKit and SNS.