Post

Replies

Boosts

Views

Activity

Comment on Accessing Buttons Through Different View Controllers
Note that notification will work only if FirstViewController is loaded when you tap in SecondViewController (that is the case if you are in a navigation stack or if you present modally). Otherwise, you could save to userDefaults (in SecondViewController) and read userDefaults to set the button1 enabled or disabled in viewWillAppear in FirstViewController
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’22
Comment on Deleting Forum Posts
There are developers on the forum who don't pay developer fees.
Replies
Boosts
Views
Activity
Apr ’22
Comment on Swift TextField Not Horizontally Scrolling
At the bottom of this page, you have a FeedBack and bug report link (in the Support section). Please report the bug number here, in case.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22
Comment on What is the logic of autocapitalizationType and the corresponding global setting?
I tried to set on the UITextField class, with         DispatchQueue.main.async { UITextField.appearance().autocapitalizationType = .words }  in viewDidLoad  but did not succeed yet.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on TableView editingStyle
But you can do it !
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on NavigationLink pops back one view when a value changes (SwiftUI)
If you cannot share code, it is really hard to help. Good luck.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on How can I fix Apple developer when it s error now?
Thanks. But if you need more help, please give more details.
Replies
Boosts
Views
Activity
May ’22
Comment on Buttons for page
Yes, you can do the same. But if you are to use in many places, environment var are probably a better choice.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on function within a switch case
Complete code, I mean the view including the switch as well as the views you call. And most important, the error code. You can also attach a textFile with the attach button just below the editing frame in this page (rightmost icon ∞)
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on function within a switch case
So please show complete code, for instance of          struct remi5en250
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on Accessing Buttons Through Different View Controllers
Note that notification will work only if FirstViewController is loaded when you tap in SecondViewController (that is the case if you are in a navigation stack or if you present modally). Otherwise, you could save to userDefaults (in SecondViewController) and read userDefaults to set the button1 enabled or disabled in viewWillAppear in FirstViewController
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on Accessing Buttons Through Different View Controllers
you place it anywhere at top level, outside of any class.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on Issue with split(or at least I think so)
Does it work now ? If so, don't forget to mark the correct answer to close the thread.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on Trying to add more parts to my API Struct
Please just post the ContentView file ? The one you call from SceneDelegate. Anyway there are files missing in the attached github.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on SwiftUI Tutorial - Scrumdinger - mysterious AVPlayer initialization syntax
No, when you declare a computed var, you have to declare type. If you try without, you'll get an error: computed property must have an explicit type
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on Dateformatter with "dd-MMM-yyyy" for September month returning wrong date
Thanks, I learned something. But it could be useful for doc to remind it.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’22