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 WKWebVIew Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
Just call the menu Product > Clean Build Folder or Cmd-Shift-K
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on Crash on Edit Scheme
You should ask Adobe about their pod. It most likely not an Xcode issue.
Replies
Boosts
Views
Activity
Feb ’22
Comment on iphone will not restart nor open apps ands the power button only works for siri
If you let battery to fully discharge, it will stop by itself.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on Capturing the image read by QRCode
I did not find any better way than recreate the QRCode from its text.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on How to prevent UITextField from intepreting its characters (e.g. converting "..." to elipsis)
Thanks for the feedback. You should file a bug report against documentation. Good continuation.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on NSFetchedResultsController error: 'no object at index 5 in section at index 0'
Thanks for feedback. Print usually doesn't create crash, unless you unwrap a nil inside…
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on Multiple Alerts not showing
I understand. But how is it codeExists is never set true ? And once again, "stacking" several .alert should not work, as far as I tested.
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
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 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 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?
logic is attached.
Topic: UI Frameworks SubTopic: UIKit 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 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 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