Post

Replies

Boosts

Views

Activity

Comment on Concurrency
In Swift 5.5, async wait could be used. You may have a look here: h t t p s : / / w w w .hackingwithswift.com/articles/233/whats-new-in-swift-5-5
Replies
Boosts
Views
Activity
Oct ’21
Comment on Long Press Gesture on collectionView not working
That's why I try to avoid declaring a func in the middle of some code.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on TextField entry throws NSInvalidArgumentException
We cannot post code in a comment. You need to Answer the question.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on My system Data takes 71Gb
Thanks for feedback. Hope it will not grow again unreasonably in the future. That could be worth a discussion with Apple Support. Good continuation.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Calendar Component Quarter always returns zero
I understand the frustration, notably because that's a feature since MacOS 10.9. They have had a lot of time to complete it !
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Type of expression is ambiguous without more context
Sorry, I wrote Content8 and Content9 because I test the code in another SwiftUI app. You can simply use ContentView and the name of the destination you want.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on projects
That's a different question. Is it in the context of Student challenge ? In any case, the forum is not the right place for this type or request.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on iPad Pro iPadOS 15.0.2 Orientation Changes Not working
Does it rotate in iPhone ? What do you get once button fired ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on pdfPage.draw ios15 strange results
@nefimoffRTA, no I'm not an Apple employee
Replies
Boosts
Views
Activity
Oct ’21
Comment on How Do You Assign Int To UILabel
@colekong    What OOPer said ; please follow the code of conduite on the forum.     Plus: you could also add a property var scoreStr : String { String(score) } and use it for setting label: Score.text = newScore.scoreStr.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Safari Crashing on MacBook
deleted
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Cannot convert value of type '[Double]' to expected argument type 'Double'
Thanks for feedback. Which answer did solve it ? Please close the thread now by marking the solution.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on How Do You Assign Int To UILabel
removed
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Modifying the Y-position of navigation bar isn't possible in iOS 15.1 Beta / iOS 15 simulators
@Rincewind   Thanks for this definitive answer; that closes the question. However, I do not understand how it worked once on iPad and only once ! And seems to work on iPhone (simulators). Probably that's in the gray zone of unsure assumptions… Does that mean that those who implement create their own "phone" navbar ?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on iOS UIAlertController Line separator missing in iPhone 12, iOS 15
I've no iPhone 12 here, sorry I cannot test. But if it does not show on simulator, that's probably a bug.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21