Post

Replies

Boosts

Views

Activity

Comment on Xcode: Keyboard autorepeat
In fact, behaviour depends on character typed. Ponctuation as '-' or '_' or '=' do auto-repeat. Seems that all chars except letters do as well. They have privileged giving direct access to modified characters (as é, è, … for e) over auto repeat. That's a little like (but not exactly) how it works in iOS.
Aug ’21
Comment on Xcode: Keyboard autorepeat
I mean getting the accented characters. Even though I still do not see the real problem with such behaviour, I suggest you file a bug report.
Replies
Boosts
Views
Activity
Aug ’21
Comment on Xcode: Keyboard autorepeat
In fact, behaviour depends on character typed. Ponctuation as '-' or '_' or '=' do auto-repeat. Seems that all chars except letters do as well. They have privileged giving direct access to modified characters (as é, è, … for e) over auto repeat. That's a little like (but not exactly) how it works in iOS.
Replies
Boosts
Views
Activity
Aug ’21
Comment on Leap Year Exercise in Lesson 11 (Making Decisions.Playground)
That's logical, it is the same, just put in a long logical test what was in a series of if else. The main difference is a question of readability.
Replies
Boosts
Views
Activity
Aug ’21
Comment on Xcode13 beta -> Xcode 12 issue
Launch screen ?. Do you mean initial VC screen or launch storyboard (I would not understand why launch storyboard has an impact here).
Replies
Boosts
Views
Activity
Aug ’21
Comment on Need Help Transfer Data From Button
Do you confirm that you get         "this is the player name that was transferred (playerName)"       printed twice ? So the key is to analyse WHO calls it. The called function cannot tell us.
Topic: Programming Languages SubTopic: Swift 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
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 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 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 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 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 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 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 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 [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