Post

Replies

Boosts

Views

Activity

Comment on How to set UINavigationBar barStyle in iOS 15 beta 8
But this seems to work:           self.navigationController?.navigationBar.barStyle = UIBarStyle.blackTranslucent. But as it is deprecated since iOS 13, you should use :           self.navigationController?.navigationBar.barStyle       = UIBarStyle.black           self.navigationController?.navigationBar.isTranslucent       = true. I also found this comprehensive analysis of the changes since iOS 13 :        h t t p s : / / sarunw.com/posts/uinavigationbar-changes-in-ios13/
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’21
Comment on UICollectionViewController + UITextField autoscroll behavior
When you compile project, do you get some warnings in Issue Navigator advising to adapt to new settings ?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on xx'\"><script>alert(domain);</script>
What is the question ? What are you trying to achieve ? What do you get, what did you expect ?
Replies
Boosts
Views
Activity
Sep ’21
Comment on Xcode 13 duplicates error messages in the editor
@AndyQ that effectively smells the bug…
Replies
Boosts
Views
Activity
Sep ’21
Comment on How to redraw a child view in SwiftUI?
Great. Didn't you get the error when running as I did ? Which version of Xcode (maybe they have improved error messages in Xcode 13RC). Good continuation and don't forget to close the thread.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on Why is my macbook air 10x slower than it was randomly after overnight update?
10.12.6 is not a recent update. So the update is not MacOS. Have a look with Activity Monitor.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on XCode 12.5 - How to disable automatic jumps at editor
Still cannot reproduce. A short video could help show the issue.
Replies
Boosts
Views
Activity
Sep ’21
Comment on iOS15 NavigationView release sequence
I could not reproduce in simulator iOS 15.0. Do you get a crash ?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on iOS15 NavigationView release sequence
Reverse engineering the log to get the source code is not that easy 😉. You'd better post the code yourself.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on Xcode 13 beta, code completion error!!!
As @robnotyou noted, if you type func view…, then it works and even provide template once you have accepted the proposal. But it is important it makes the difference between a mere call to the API and the declaration of API override.
Replies
Boosts
Views
Activity
Sep ’21
Comment on Xcode 13 beta, code completion error!!!
Sorry, I missed your question. Code completion just tells you what is the API (or your own function or var) that could match. It does not intent to give a code template. Note that when you type super.vi… in the override, it is logical it proposes viewDidLoad().
Replies
Boosts
Views
Activity
Sep ’21
Comment on How to set UINavigationBar barStyle in iOS 15 beta 8
I clarified the point. When I typed appearance.bar… I got a completion proposal but with a warning of deprecation that I ignored. I could then type appearance.barStyle = . and get the constants proposals. But later, that cause a compiler error…
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on How to set UINavigationBar barStyle in iOS 15 beta 8
But this seems to work:           self.navigationController?.navigationBar.barStyle = UIBarStyle.blackTranslucent. But as it is deprecated since iOS 13, you should use :           self.navigationController?.navigationBar.barStyle       = UIBarStyle.black           self.navigationController?.navigationBar.isTranslucent       = true. I also found this comprehensive analysis of the changes since iOS 13 :        h t t p s : / / sarunw.com/posts/uinavigationbar-changes-in-ios13/
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on How to set UINavigationBar barStyle in iOS 15 beta 8
I'm confused now: the screenshot is a real one, captured in Xcode. But now, I cannot repeat it ! All I can set is the backgroundColor:           let appearance = UINavigationBarAppearance()           appearance.backgroundColor = .green
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on Keyboard cause crash Xcode 13 beta 5, iOS 15
Did you check on Xcode 13 RC ? Do you call func trimmingCharacters(in set: CharacterSet) -> String yourself or is it a system call ? Are you using PrivateFrameworks ?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on There are two variables set by the user. After counting up from 1 to one variable, I want to count up the number from 1 to the other variable.
What is it you cannot make work ? Open a new thread and post the complete code of your class with a detailed explanation of what doesn't work. For sure someone will help you.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21