Post

Replies

Boosts

Views

Activity

Reply to comment trouver ou rejoindre un club de programmation Swift
Le mieux serait sans doute de contacter Apple Support. En attendant, j'ai trouvé quelques références : https://www.apple.com/fr/education/docs/swift-club-playgrounds.pdf C'est un programme Apple pour créer et animer des clubs. Il y a aussi des clubs Meetup, comme celui ci à Paris: Vous pouvez les contacter pour leur demander si il y a un groupe dans votre région. Bonne chance. https://www.meetup.com/fr-FR/swiftparis/
Topic: App & System Services SubTopic: General Tags:
Oct ’21
Reply to viewWillTransition not called since change to UISceneDelegate
I tested on a project with SceneDelegate. override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) { super.viewWillTransition(to: size, with: coordinator) // Some stuff print(#function) } viewWillTransition gets called when I rotate screen, as log shows: viewWillTransition(to:with:) Please show code of: SceneDelegate AppDelegate and check you have correctly defined the SceneManifest in info.plist
Topic: UI Frameworks SubTopic: UIKit Tags:
Oct ’21
Reply to XCODE 13 Brace matching / Code Collapsing
When I double click on a curly bracket for instance, all the code between opening and closing curly brackets gets selected, highlighted. It even jumps to the opposite end. To collapse code, just click in the gutter. I highlighted in red the gutter area: Hover mouse over the gutter It will turn white Click there, code will collapse Click again to expand.
Oct ’21
Reply to XCode 13 Reference
I did use, several years ago, this book : Beginning iPhone Development with Swift (APress - Author LaMarche). I learned a lot. I've seen there is a 2019 version, for Swift 5 (may be a more recent ?), in printed of eBook formats: h t t p s : / / w w w.apress.com/gp/book/9781484248645 But it is probably Xcode 12, not 13.
Oct ’21
Reply to viewWillTransition not called since change to UISceneDelegate
Not sure this matters, but when I compare to info.plist in a test project: I have an additional UISceneStoryboardFile : Main, after UISceneDelegateClassName You have 2 UISceneConfigurationName. Why ? I note that you have set UIApplicationSupportsMultipleScenes as false AppDelegate is different as well: func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { // Called when a new scene session is being created. // Use this method to select a configuration to create the new scene with. return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) } In which func is code of SceneDelegate ? Do you use a storyboard ?
Topic: UI Frameworks SubTopic: UIKit Tags:
Oct ’21
Reply to Xcode 13 - Swift compile error
Is it SwiftUI ? I tested in both Xcode 12.5 and 12.4  .background(Color.systemBlue) In both cases I get the error: error: Type 'Color' has no member 'systemBlue' So could you post more code and confirm if it is SwiftUI code ?
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to comment trouver ou rejoindre un club de programmation Swift
Le mieux serait sans doute de contacter Apple Support. En attendant, j'ai trouvé quelques références : https://www.apple.com/fr/education/docs/swift-club-playgrounds.pdf C'est un programme Apple pour créer et animer des clubs. Il y a aussi des clubs Meetup, comme celui ci à Paris: Vous pouvez les contacter pour leur demander si il y a un groupe dans votre région. Bonne chance. https://www.meetup.com/fr-FR/swiftparis/
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to What example argument can I give in place of (date: Binding<Video>), ?
You have already a post open on the same question. It is useless to repeat. Look there for answers. And when you post a question, please provide enough information.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to viewWillTransition not called since change to UISceneDelegate
I tested on a project with SceneDelegate. override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) { super.viewWillTransition(to: size, with: coordinator) // Some stuff print(#function) } viewWillTransition gets called when I rotate screen, as log shows: viewWillTransition(to:with:) Please show code of: SceneDelegate AppDelegate and check you have correctly defined the SceneManifest in info.plist
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to XCODE 13 Brace matching / Code Collapsing
When I double click on a curly bracket for instance, all the code between opening and closing curly brackets gets selected, highlighted. It even jumps to the opposite end. To collapse code, just click in the gutter. I highlighted in red the gutter area: Hover mouse over the gutter It will turn white Click there, code will collapse Click again to expand.
Replies
Boosts
Views
Activity
Oct ’21
Reply to XCode 13 Reference
I did use, several years ago, this book : Beginning iPhone Development with Swift (APress - Author LaMarche). I learned a lot. I've seen there is a 2019 version, for Swift 5 (may be a more recent ?), in printed of eBook formats: h t t p s : / / w w w.apress.com/gp/book/9781484248645 But it is probably Xcode 12, not 13.
Replies
Boosts
Views
Activity
Oct ’21
Reply to Navigation Link limitations inside a group in swiftui iphone
The limitation to 10 is effectively a very serious limitation of SwiftUI. But you can use Group and even Groups in Groups or Groups of Groups of Groups ! So the number of items is unlimited in fact Note : the forum does not accept the following text presented as code, so I paste a file. Groups of Groups of Groups
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to Navigation Link limitations inside a group in swiftui iphone
Error @main is not where the error occurs in fact. Did you try to list links in a ForEach loop ? May be it will clear the 50 limit (that I read in another post, but cannot find back). As described here: https://stackoverflow.com/questions/65910518/swiftui-10-view-limit
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to iPhone 13 Pro disconnect from Apple carplay
Did you read this : h t t p s : / / w w w.macrumors.com/2021/09/30/ios-15-iphone-13-carplay-issues/
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to SwiftUI help with application of multiple radio buttons to perform calculations based on selected option
What you want in fact is share properties between different Views. Environment object are a way to do this. h t t p s : / / w w w.hackingwithswift.com/quick-start/swiftui/how-to-use-environmentobject-to-share-data-between-views
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to Xcode 13 issue with iOS 15
It has probably nothing to do with the problem, but could you show the class AvailableFilterTableViewCell. If so, could you screenshot the Size Inspector for the TableView Cell?
Replies
Boosts
Views
Activity
Oct ’21
Reply to App Name Update
You can modify the name of the app. Change the display name in Xcode (detailed in this old thread): https://developer.apple.com/forums/thread/16676 You can also define the display name in Appstore connect. In fact you can even have a different name by country.
Replies
Boosts
Views
Activity
Oct ’21
Reply to What would be the benefits of switching from Apple to Samsung?
None ! 🙂 Do you want a round watch where you cannot display information correctly ? And this is not the place to have such discussion.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to viewWillTransition not called since change to UISceneDelegate
Not sure this matters, but when I compare to info.plist in a test project: I have an additional UISceneStoryboardFile : Main, after UISceneDelegateClassName You have 2 UISceneConfigurationName. Why ? I note that you have set UIApplicationSupportsMultipleScenes as false AppDelegate is different as well: func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { // Called when a new scene session is being created. // Use this method to select a configuration to create the new scene with. return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) } In which func is code of SceneDelegate ? Do you use a storyboard ?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to Xcode 13 Beta Phantom Errors When Indexing
Did you check Issues navigator (on the left panel). Are there any warning to update to new settings ? If so, do it.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21