Post

Replies

Boosts

Views

Activity

Comment on Face unlock
Please avoid playing in forum with questions which are not even questions to avoid polluting. Or just indicate it is a test you are doing.
May ’22
Comment on UIPickerView row descriptions
To get a better result (having "Std" appear during scrolling and disappearing from previous selection, you need to intercept the scroll position. See discussion here:      https://stackoverflow.com/questions/5237696/read-position-of-uipickerview-while-scrolling
Topic: Programming Languages SubTopic: Swift Tags:
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:
May ’22
Comment on Face unlock
Please avoid playing in forum with questions which are not even questions to avoid polluting. Or just indicate it is a test you are doing.
Replies
Boosts
Views
Activity
May ’22
Comment on Why do I keep getting this error
Could you find where it crashes (call stack). If so, please show code. You have a segmentation fault. This may be due to a missing or corrupted IBOutlet connection. Did you check all IBOutlets connections ?
Replies
Boosts
Views
Activity
May ’22
Comment on can i use sfsymbols in my app?
@makabaka1880    no what ?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on UIPickerView row descriptions
If you're not satisfied by the help and the solution, the best is that you search and find a better solution by yourself. Good luck.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on UIPickerView row descriptions
To get a better result (having "Std" appear during scrolling and disappearing from previous selection, you need to intercept the scroll position. See discussion here:      https://stackoverflow.com/questions/5237696/read-position-of-uipickerview-while-scrolling
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on Dateformatter with "dd-MMM-yyyy" for September month returning wrong date
@Mandar Pathak I think answer is in eskimo's: This can change from release to release, as Apple imports new versions of CLDR
Topic: App & System Services SubTopic: General 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
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 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 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 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 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 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 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 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