r/iOSProgramming • u/LetsYouKnow • Aug 30 '19
Application Might not be super impressive, but we're developing an app in SwiftUI and this is our hierarchy so far.
123
Upvotes
r/iOSProgramming • u/LetsYouKnow • Aug 30 '19
48
u/USERNAME_ERROR Aug 30 '19
On a scale of 0 to 10, how likely are you to recommend
SwiftUIto a friend or colleague?13
u/abstract45 Aug 30 '19
Is the ui a separate internal framework. That would separate ui logic from flow/services
21
u/[deleted] Aug 31 '19
Y U hate alphabetization?
6
u/[deleted] Aug 31 '19
I highly recommend you try grouping by function as opposed to file type ect... its much better for usability
5
u/dewski Aug 31 '19
What did you do about UICollectionViews?
1
u/carboncomputed Aug 31 '19
It looks like your model layer uses structs? How do you communicate changes to your UI (since KVO isn’t an option on structs)
1
u/MuskIsAlien Aug 31 '19
Data on local servers or using third party like aws?
3
u/obkenobi13 Aug 31 '19
Why would you only use a view layer and a network layer?
1
u/akmarinov Aug 31 '19
Do you use Combine for the rest of it? How do you show an Error in the UI when a Combine publisher emits it?
1
u/masterqif Aug 31 '19
Pardon me, I have never program with SwiftUI. Is this normal?
1
u/nfms Aug 31 '19
Man I miss working with iOS
-2
u/iGoalie Objective-C / Swift Aug 30 '19
So I had a meeting with Apple (I work for a large company, so we get some consideration) and apple was not able to clearly articulate (the team that showed up is mostly sales, not developers)
Why would I use swiftUI, over standard swift? What is the use case? Or is this the future and standard swift is going away?
-13
u/snaab900 Objective-C / Swift Aug 30 '19
Oh god I weep for the next poor bastard who has to maintain that monstrosity.
-2
u/cruelandusual Aug 31 '19
Why is this notable? Why are people upvoting this?
-9
u/larikang Aug 31 '19
I love the idea of SwiftUI but... Why do this? What benefit do you get from developing an app with beta software with almost no community support for an unreleased OS?
I really want my company to adopt SwiftUI... in maybe a couple years. Let the kinks get worked out, let the community figure out good development practices. For now we can keep using UIKit and release for iOS 12.
0
u/[deleted] Aug 31 '19
[deleted] — view deleted comment
0
u/[deleted] Dec 29 '19
[deleted] — view deleted comment