Post

Replies

Boosts

Views

Activity

Comment on String verification in textfield while typing in SwiftUI
I don't know if it is possible to write an equivalent of isValidPAN with Regex…
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’22
Comment on Use of `self` - Confusion
Thanks for the feedback. However, it does not explain why @Published var 'var': URL works.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’22
Comment on Problem with GeometryReader
?????
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’22
Comment on Issue with string
Maybe you are reading local value (ie, on you Mac)/ So, when you run on another machine, it cannot get the value ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’22
Comment on iOS 16 SwiftUI TextField in section header (List)
Thanks. It seems you got answer in SO. Difference is that List in iOS 16 are no more based on tableViews but CollectionViews. With the advice to file a bug report.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’22
Comment on cannot find 'minutes' in the scope
Is it a new code ? What has changed ? Please, provide explanation, not only code. And once again, format properly, it is so hard to grasp your code as is.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on Can I create an app for my own phone for free?
Get much detail here: https://stackoverflow.com/questions/4952820/test-ios-app-on-device-without-apple-developer-program-or-jailbreak
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on How to change the font size of a button in Xcode
May need to increase slightly the delay. 0.2 or 0.3 to be safe.
Replies
Boosts
Views
Activity
Nov ’22
Comment on NSButton Failing to Reflect a Change of its Image
It is not a question of threading per se. It is a timing and the way NSRunLoop work. Could you give it a try ?
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on TabView Reloads all Tab
Thanks for feedback. Don't forget to close the thread.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on Error Cannot find « » in scope XCODE
Just a precision: guard is unneeded, as you have no value to guard ; you could simply write if !checkValue(email, value: "adresse email") { return }
Replies
Boosts
Views
Activity
Nov ’22
Comment on NSButton Failing to Reflect a Change of its Image
Could you post some code, where you set the image ? Reading here: https://stackoverflow.com/questions/36106645/change-image-for-nsbutton-with-swift-code that one should not use setImage but assign it directly.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on Looking for tutorial to write apps that receive push notifications (i.e. Messaging)
Me too.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on Checking more than 2 variables in a if statement
@VulcanCCIT switch has no use here. The test is to check simultaneous conditions. && is the thing to use (not $$)
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on swift error "Default Configuration" and 'NSNull' (0x1b7cc9a28) to 'NSString' (0x1b7cc7ec8).
Thanks for updating. But please note that you should not make the change in the code of the original post, because it creates inconsistences with the errors you still report. You'd better paste a new version of the code with the change.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’22