Post

Replies

Boosts

Views

Activity

Comment on To pass Bool value in an enum variable of type someView
i'm not Quinn, but I'd say what I think. The expression is a closure passed in the set: parameter of the initialiser. You need to pass a closure that takes a newValue parameter (of the T type as in Binding, which here is Bool) as input, and set it to whatever other variable you use. You use another variable to store the binding's actual value, and this value is of type MyBool.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’23
Comment on Apple's SF Symbol
Yes, it is, provided that you comply with the terms. An iPad / Mac app is in the scope of the challenge, so you can use them. Other than that, make sure you're not using them (or other "substantially or confusingly similar" symbols) for "logos, app icons or other trademark-related use".
Apr ’23
Comment on How to take off background from NavigationLink items.
NavigationView is deprecated. You can use NavigationStack and NavigationSplitView instead. Here you can find more details.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’23
Comment on Submission Format
Make sure to check if your app builds and runs on Swift Playgrounds.
Replies
Boosts
Views
Activity
Apr ’23
Comment on On which target will Swift Student Challenge submissions run on, when choosing Xcode 14 on macOS 13?
Thanks! I reviewed the options, and I was wondering which run destination (not target, sorry) will be used when choosing the Xcode option. I was worried about an issue I had with a SwiftUI NavigationSplitView in Mac Catalyst (FB12108868), but I found a workaround and I don't think I'll have any specific instructions.
Replies
Boosts
Views
Activity
Apr ’23
Comment on To pass Bool value in an enum variable of type someView
i'm not Quinn, but I'd say what I think. The expression is a closure passed in the set: parameter of the initialiser. You need to pass a closure that takes a newValue parameter (of the T type as in Binding, which here is Bool) as input, and set it to whatever other variable you use. You use another variable to store the binding's actual value, and this value is of type MyBool.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’23
Comment on To pass Bool value in an enum variable of type someView
No problem! Yeah, I figured out maybe that's what happened. For a moment, I read it that way too :)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’23
Comment on Forum editor bug since last maintenance
I was going to make a new post about this, but fortunately I found this thread. It seems that the less-than sign is still not fixed, but I think you know that :) Maybe this happens within some kind of cross site scripting protection? Just a guess...
Replies
Boosts
Views
Activity
Apr ’23
Comment on Impossible to reply to some thread even not marked locked
Weird... For me, on Safari (macOS) it does't work either (tried private browsing window too). The Reply and Add a Comment buttons are there but they don't do anything when clicked.
Replies
Boosts
Views
Activity
Apr ’23
Comment on Impossible to reply to some thread even not marked locked
Yeah, same for me. There's no Reply textbox.
Replies
Boosts
Views
Activity
Apr ’23
Comment on Impossible to reply to some thread even not marked locked
It seems that it doesn't work on other browsers either.
Replies
Boosts
Views
Activity
Apr ’23
Comment on Impossible to reply to some thread even not marked locked
Perhaps the thread allows only Apple-employee accounts to comment
Replies
Boosts
Views
Activity
Apr ’23
Comment on Bundle.main.url/path cannot locate audio file.
Sorry, I meant bottom left corner.
Replies
Boosts
Views
Activity
Apr ’23
Comment on Bundle.main.url/path cannot locate audio file.
Happy to help. Good luck with your submission!
Replies
Boosts
Views
Activity
Apr ’23
Comment on Will .swiftpm file work in iPad playgrounds file if made in Xcode ?
Must note that may be cases when App Playgrounds built with Xcode won't run in Swift Playgrounds, and the other way around (for example, see this thread). Check if your app runs fine on Swift Playgrounds on macOS.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’23
Comment on Forum editor bug since last maintenance
Oh... Well, that definitely shouldn't have happened.
Replies
Boosts
Views
Activity
Apr ’23
Comment on Apple's SF Symbol
Yes, it is, provided that you comply with the terms. An iPad / Mac app is in the scope of the challenge, so you can use them. Other than that, make sure you're not using them (or other "substantially or confusingly similar" symbols) for "logos, app icons or other trademark-related use".
Replies
Boosts
Views
Activity
Apr ’23