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.
Related
I am currently working on an AR-App using SceneKit. I can't use RealityKit because I need Image Recognition which it doesn't support at this time.
With this tutorial I found a way to integrate SwiftUI into the AR-Scene but not as a typical UI-/HUD-Element.
Is it there a way to use SceneKit for Image Recognition and SwiftUI as UI?
In a certain way you can. Here's a Medium story on this topic. Also this SO post might be useful.
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
as the title would suggest i'm trying to make a system that automatically will prioritize my ad networks and display the next in line when one fails to load. I currently have iAd implemented and working following this example: How to add iad in cocos2d? and I plan on using the example provided by the same person, Guru, to implement AdMob. Example found here: AdMob with Cocos2d v3. Now preferably I would like to just add on/change the working code as it is very well built and organized. Along with prioritizing iAd followed by AdMob, I would like to also have revmob as well. I was thinking of just doing revmob as the fullscreen ad when launched, but I would still like to know how I would go about adding the revmob banners to the rotation just as good measure. If any of my code is needed I'll gladly post it :)
I am trying to create graphs on timecards, which can be shown on Google Glass. Wat would be the best way to go about this? I tried using d3.js, but was unsure how to integrate the library.
Any help would be highly appreciated
Since you cannot run JavaScript inside a card on Glass, d3.js probably isn't the best choice.
Seek out a graphing library that generates images. You can then attach or source those images into the timeline cards you create.
This is deprecated, but could work nicely for your use case: https://developers.google.com/chart/image/
I am building an iOS app using Rubymotion. I am constructing the UI with the help of Interfaceb Builder. In the screen that I am working on I got the following elements:
Navbar
Label
TableView
I am populating the tableview via an API call. All works fine but I am not sure I am doing things like I am supposed to do. From what I can understand IB is only used to "draw" the UI instead of coding it, nothing more?
This is my controller code. Again, it works fine but I think I am not following "best practice".
http://pastie.org/5368976
There are many different ways of figuring out how you want to build your views.
If you are not doing a crazy amount of custom designed UI, then I don't see why I would not use something like #colinta's Teacup.
I would avoid using storyboards to build a UI. Please see the thread here.
On that note, don't hesitate to check out the discussions on the Ruby Motion Google Group if you can't find the answers on SO. The group seems very active.
Also, IRC: irc.freenode.net, #rubymotion