Post

Replies

Boosts

Views

Activity

Comment on code sign failed with non zero exit code
Thanks. It will be better to start a new thread and close this one.
Replies
Boosts
Views
Activity
Aug ’21
Comment on Who's on top? Swift, nonSwiftUI
Thanks for feed back, you can close the thread now.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on [Swift] How to properly subclass UITextfield and work with its delegate
As a precaution you could add information header to the subclass (///) warning that it sets its delegate and this should not be done in calling method. Or use myTF.delegate = myTF
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on [Swift] How to properly subclass UITextfield and work with its delegate
Yes, need to be careful. You are not the only one to have met the issue. This may be of interest for you: https://stackoverflow.com/questions/35763244/implementing-a-delegate-method-in-a-subclass-whose-superclass-conforms-to-that-p
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on [Swift] How to properly subclass UITextfield and work with its delegate
You did it perfectly by marking the correct answer. That "closes" the thread, showing readers that you got what you needed.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on [Swift] How to properly subclass UITextfield and work with its delegate
The key point is that an object can have only one delegate ; so you cannot trigger textFieldDidBeginEditing() in both the calling code as well as the one inside the subclass by invoking the delegate. But notification as I described will allow to get a similar result.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on Does Apple allow an app that has a log-in feature without a sign-up feature on App Store?
Sorry if that was not clear. You never have an obligation for a sign-in. But if you have some sign-in, you must also have Apple sign-in, except for few cases. So, in your case, with a simple login, without any sign-in to Google, Facebook, … you don't need any sign-in.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on Need Help Transfer Data From Button
Note that you cannot have a segue from a button altogether with an IBAction. Segue would be executed directly and IBAction not called (that different from having performSegue in IBAction, because in this case, segue is not from button but from VC generally).
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on Ios15 beta version touch screen stopped working
You marked this a the solution. What is the solution you found ? Or do you just mean you give up, like emoji seems to hint ?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on Xcode 13 beta has issues during build storyboards
Could you now show Main and LaunchScreen storyboards ? As well as the info.plist, with the details of Application Scene Manifest ?
Replies
Boosts
Views
Activity
Aug ’21
Comment on Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
Thanks for the feedback. Good continuation.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on Xcode 13 beta has issues during build storyboards
Could you post some screen shots: - of the Project Navigator panel for the empty project - of the storyboard
Replies
Boosts
Views
Activity
Aug ’21
Comment on Applying .cornerRadius results in artifacts on view corners
Artifact… Do you mean the thin clear border ?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on Is there an entitlement for screen capture on macOS?
Being marked as available in MacOS 10.15, while last Mojave is 10.14.6, means that crash is normal. You have to wrap the call to the API by @available(OSX 10.15)
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on drag and drop @iboutlet
@mksmurali most common cause is that the class in IB of the viewController is not set to the one where you try to drag and drop. Check in Identity Inspector. You may also have to do a Clean Build Folder and possibly restart Xcode.
Replies
Boosts
Views
Activity
Aug ’21