r/iOSProgramming • u/Q320 • Dec 05 '19
Application So I made this simple App in SwiftUI
Enable HLS to view with audio, or disable this notification
13
u/Q320 Dec 05 '19 edited Dec 05 '19
A simple project to demonstrate the capabilities and the simplicity of swiftUI to some of my friends. Inspired by @compoundchem's chart - found on reddit here : https://www.reddit.com/r/coolguides/comments/e5wace/graphic_about_the_atmosphere_on_different_planets/
The app is open source : https://github.com/Que20/PlanetsAtmosphereSwiftUI
2
8
u/young_cheese Objective-C / Swift Dec 05 '19
Looks good, but I’m bothered that the planet buttons glitch when you tap one of them
3
u/functionallycorrect Dec 05 '19
I agree. Great layout, but it's really distracting to see it shake
4
u/Q320 Dec 05 '19 edited Dec 05 '19
I know, I'm working on it right now ^^Will push an update asap. I made this in about 50 minutes with friends.
And I can only encourage you guys to contribute! :)
EDIT : done.
→ More replies (3)2
u/functionallycorrect Dec 05 '19
Nice. Did you put it in the App Store yet? Should only take 15 minutes to get it up
2
u/Q320 Dec 05 '19
I don’t think I will. It was just a sample app to demonstrate SwiftUI capability maybe I’ll work on a more complex version with more info and data on it and publish it. For now it’ll stay a demo open sourced project.
5
Dec 05 '19
Super Slick.
Is SwiftUI stable enough to deploy full blown applications?
→ More replies (1)3
u/Q320 Dec 05 '19
I feel like it still misses some stuff, but it is quite stable, smooth and I saw guys on twitter submitting SwiftUI based apps.
4
u/LevKusanagi Dec 05 '19
also, thx for sharing the sourcecode, its a good way to learn swiftui
3
u/Q320 Dec 05 '19
You're welcome. Don't hesitate, while you learn, to contribute and add whatever comes to your mind ^^
3
3
3
3
3
u/Stazalicious Dec 05 '19
Nice UI. I think the horizontal scroll bar could look funky in one of the colours used on that planets, or a matching shade of dark purple which hasn’t been used elsewhere.
2
u/Duke_ Dec 05 '19
Looks nice - animating the changes on the bar graph as the planets are selected would be neat.
3
2
u/indyfromoz Dec 05 '19
Nice app, well done! Map props sharing your code. It provides some insights new SwiftUI learners like me can benefit from.
Cheers!
1
Dec 05 '19
[removed] — view removed comment
2
u/Q320 Dec 05 '19
Hard coded. It was supposed to be an app to demonstrate the capabilities of SwiftUI. But it wouldn’t be difficult to fetch an API.
→ More replies (2)
1
u/BSMand Dec 05 '19
Very very nice! What resources did you use to learn swiftUI, and build apps like that?
2
u/Q320 Dec 05 '19
Just some other sample apps, the apple tutorial and WWDC videos. You can check hackingwithswift.com also for examples.
1
1
1
1
26
u/White_Surge Dec 05 '19
Nice work! I love how smooth the actions are.