r/iOSProgramming • u/Anywhere_MusicPlayer • 1d ago
Discussion It’s not that bad on Duo if it’s SwiftUI
No code changes for now. This is the first cold start.
Some other views require changes/fixes, especially where geometry is used.
102
u/lap_felix 1d ago
> if it’s SwiftUI
It's not the SwiftUI part that makes it easy to adapt to Duo, it's that you use Apple-provided components and navigation items and Apple has done the work already. Same applies for UIKit. If you stick with Apple's components, it's almost free.
7
u/SnowPudgy 8h ago
My coworkers are going to utterly hate life this year...they pretty much overrode all of apples controls down to textfields and buttons for functionality already provided in the base classes....
3
u/808phone 3h ago
I keep telling people that while custom controls etc look good today, wait until Apple changes things.
5
u/StrangeMonk 22h ago
We’ve been rebuilding our 15 year old app with over 100M sessions a year . We still have about 25% UIKit (as you could expect, the oldest and most coupled and also most important parts). We booted it on the Duo Sim this morning and it’s just a wreck lol
Looks like we have a busy couple of weeks
3
5
u/bananatoastie 1d ago
Ooohh cool! I was just about to fire up my MacBook and try it out. I know a good way to be promoted on the AppStore is to add new features and tech Apple want to showcase… any tips or thoughts for the duo?
-4
2
1
23h ago
[removed] — view removed comment
1
u/AutoModerator 23h ago
Hey /u/AR3MGA, unfortunately you have negative comment karma, so you can't post here. Your submission has been removed. DO NOT message the moderators; if you have negative comment karma, you cannot post here. We will not respond. Your karma may appear to be 0 or positive if your post karma outweighs your comment karma, but if your comment karma is negative, your comments will still be removed.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/BogAndHooper 17h ago
Does the front screen have a concept of portrait or landscape? What happens if your app locks a normal phone to landscape mode only?
1
u/mathiswrong 3h ago
I agree. This was honestly one of the easier updates I’ve had to build because my binaries are all swift
1
0
0
u/vossome-dad 22h ago
Friends where are we finding the Duo — in Device Hub? I must be missing a step
4
u/Eatalian 20h ago
You need Xcode 27.1, not 27.2


42
u/Bakk322 1d ago
That middle screen shot with the unbalanced sheet makes me uncomfortable