Post

Replies

Boosts

Views

Activity

Comment on How to format a number(text) in UITextField when user is typing?
Great, thanks for feedback. What you will see is that this code does not work properly if you move the insertion point somewhere in the text. You need some extra code, using the content of range to handle properly. But that may be unneeded complication in your case. You should also take care of the locale: separators depend on local, as well as decimal point. Good continuation.
Topic: UI Frameworks SubTopic: UIKit Tags:
Feb ’22
Comment on Messages in Swift Playgrounds (Xcode 13.2.1)
You can find previous version of Xcode here, if you need for testing purpose: https://xcodereleases.com .     Did you first try to reboot and reinstall ?
Replies
Boosts
Views
Activity
Jan ’22
Comment on AR let anchor = AnchorEntity(plane: .vertical)
This is not clearly explained in the docs. : Effectively, I looked for it but could not find it in the convenience init(plane:classification:minimumBounds:) doc page.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on how to fix build failed
deleted
Replies
Boosts
Views
Activity
Jan ’22
Comment on IB Designables Failed to render and update auto layout status for ViewController
Unfortunately, the only answer I ever got is 'it depends'… Did you do a Clean Build Folder and reboot the Mac ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on Several tags do not open anymore on the forum (today 1/29/2022)
Great, with your help it will move rapidly for sure. But, in a sense it is comforting for all of us developers. We are not the only one who leave bugs in our code… 😏
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on How to convert Data into struct in Swift
@HayesLiang Do you get result in a JSON format ?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on What is this thing in xcode?
I mean't Minimap of course (but spell checker did't see it that way…)
Replies
Boosts
Views
Activity
Feb ’22
Comment on Cannot set constraints for an image view inside a scroll view
Using Version 13.2.1 (13C100). But the pattern I explained was first implemented on Xcode 12 or may be even 10. It is all in IB, so nothing to do with Swift or objC. Did you try to repeat each step as I did ? Specially "added constraints for the image size => this is required to remove the red warnings". Otherwise, have you a sample code you could send ?
Replies
Boosts
Views
Activity
Feb ’22
Comment on How can I get my app to wait for a permission request to complete?
My mistake, sorry. completionHandler: (granted: Bool) is executed in another thread, hence no change. Did you look at wait/async pattern ? Or you could also use a semaphore that will be cleared in the completion handler.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on IOS
What is the name of your game ?
Replies
Boosts
Views
Activity
Feb ’22
Comment on How to format a number(text) in UITextField when user is typing?
logic is attached.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on ForEach won't show text
Please post code in Answer area, not comments, they come out totally unreadable.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on How to format a number(text) in UITextField when user is typing?
Great, thanks for feedback. What you will see is that this code does not work properly if you move the insertion point somewhere in the text. You need some extra code, using the content of range to handle properly. But that may be unneeded complication in your case. You should also take care of the locale: separators depend on local, as well as decimal point. Good continuation.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on Multiple Alerts not showing
However, if I move… what do you expect and get ?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on Different app name for different languages in AppStore
If you miss one of the files in ru.lproj, that could cause the problem. What does Appstore says about the number of languages in your app ? Does it say "English and one more" ? It should. PS, sorry to ask: of course you search for russian name when in russian ?
Replies
Boosts
Views
Activity
Feb ’22