Post

Replies

Boosts

Views

Activity

Reply to hoe can I create an init view?
SwiftUI I have a idea You can display a view for about a few moments(depending on your statistics) and then about all initializations are done then. but it's really wasting time... and that's the only way I can think of😂 if iOS add a launch screen storyboard if AppKit & UIKit you can do this under imperative lifecycle by changing the interface each time a initialization is done: var SceneLoaded: Bool = false var DatabaseLoaded: Bool = false ..... override func viewDidLoad() { super.viewDidLoad() ... // load a launchscreen and a label print("launched") // load database // change label text to xxxx // load view // change label text to xxxx // init variables and constants // change label text to xxxx print("all done.") } } Note I don't code in imperative life cycle so my code might looks weird🫠
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’22
Reply to hoe can I create an init view?
SwiftUI I have a idea You can display a view for about a few moments(depending on your statistics) and then about all initializations are done then. but it's really wasting time... and that's the only way I can think of😂 if iOS add a launch screen storyboard if AppKit & UIKit you can do this under imperative lifecycle by changing the interface each time a initialization is done: var SceneLoaded: Bool = false var DatabaseLoaded: Bool = false ..... override func viewDidLoad() { super.viewDidLoad() ... // load a launchscreen and a label print("launched") // load database // change label text to xxxx // load view // change label text to xxxx // init variables and constants // change label text to xxxx print("all done.") } } Note I don't code in imperative life cycle so my code might looks weird🫠
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to Post
????
Replies
Boosts
Views
Activity
Jun ’22
Reply to Strange SwiftUI bug (just making sure if it's a bug or not)
@newwbee oh I add it afterwards in devforums so there might be a typo😂
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to Swift UI TableColumn with Int data
Me2
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to Contribution to Quinn’s Top Ten DevForums Tips
Check your code for typos Embarrassing
Replies
Boosts
Views
Activity
Jun ’22
Reply to Widget Kit
maybe you can.. oh fantastic Siri Intents never mind🫠
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to WeatherKit not showing Temp Correctly on device
, wrong location? you might have a different coordinate on your simulator and your actual device
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to Apple Developer Account
? no !
Replies
Boosts
Views
Activity
Jun ’22
Reply to VStack showing error. I'm unable to figure out why
Me2 https://developer.apple.com/forums/thread/708216
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to SwiftUI special effects,
AngularGradient? I'm trying
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to Dismissing a Sheet That Doesn't Call Another View
Your dismiss dismisses your ContentView another better way is to create a separate View struct SheetView: View { @Environment(\.dismiss) var dismiss var body: come View { ... Button { dismiss() } label: [ ... } } } Then it'll work. sth().sheet(...) { SheetView() }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to "Access to list denied" message in the run console
Ok I find out why Strange openpanel issue if anyone has any idea why, please post. I’ll not close this thread.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to Do iPadOS 16 Playground support RegxBuilder?
Thanks everyone I'm turning to Xcode🫠
Replies
Boosts
Views
Activity
Jun ’22
Reply to how i cant unable developer mode in iphone? please?
?what do u mean? enable or disable?
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Jun ’22