Post

Replies

Boosts

Views

Activity

Reply to How to make an updatable ForEach loop SwiftUI
Hi, you are working with a dictionary type. you have some issues in your code: This loop iterates from 0 to flags.count. flags.count returns 1 since there’s one item in the flags dictionary. But the loop will iterate from 0 to 1, meaning it will run two times, which may not be the intended behavior. This could lead to an off-by-one error. AND: you are not showing the dictionary entry in your Text View. You have to iterate over your Dictionary-Type. You are showing just the constant "hey". you have to change the code to something similar to: like ForEach(Array(flags.keys), id: \.self) and... Text("\(flag)") would propose you go to doc about dictionary. https://docs.swift.org/swift-book/documentation/the-swift-programming-language/collectiontypes#app-top)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’24
Reply to No new Xcode beta Since 16.2 Release on Dec 11
February 19, still working very hard, these guys. Do we have to be happy about what's coming one day, somewhere, sometime... or should we be afraid?
Replies
Boosts
Views
Activity
Feb ’25
Reply to Need to know how to stop indentation
Might be that you got some override from EditorConfig settings?
Replies
Boosts
Views
Activity
Jan ’25
Reply to cannot find text1 in scope
HI, it is about Scope. this will help: youtube short video: [https://youtu.be/kYl27LjJ594)
Replies
Boosts
Views
Activity
Dec ’24
Reply to Show device's provisioning profiles
here too. Bug still exists - confirming for latest Version 16.2 (16C5032a)
Replies
Boosts
Views
Activity
Dec ’24
Reply to "Keep Xcode Version" vs. "Use Version on Disk"
same here. and really no hint or clue to get this solved? this is affecting me quite a log...e. g. when switching between branches in Xcode...so often this happens. Version 16.1 and 16.2 Xcode. please, any help is highly appreciated.
Replies
Boosts
Views
Activity
Dec ’24
Reply to Xcode error
oh...no solution for this? Is still happening (quite often) with Xcode 16.1 and 16.2. no clue, really annoying! Help would be highly appreciated.
Replies
Boosts
Views
Activity
Dec ’24
Reply to Is this log noise? "CoreSVG: Error: NULL ref passed to getObjectCoreSVG: Error: NULL ref passed to getObject"
Thanks for bringing this up, @Bikrrr . same here. Curious how it will end.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Dec ’24
Reply to How do I change the foreground color of a SwiftUI Tab
hi, try with modifier: .tint(.yellow)
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Oct ’24
Reply to The Xcode Source Control functionality freezes.
also happened with Xcode 16.1 Beta 3 16B5029d (7-Oct) 🤨 Inline is working fine. Side-by-Side produces beachball. -- but: after force quit, the comparison side by side is shown.
Replies
Boosts
Views
Activity
Oct ’24
Reply to Xcode 16.1* / Canvas refresh / option+cmd+p is gone. :-<
ah....what a relief...with Xcode Version 16.1 beta 3 (16B5029d) the Canvas-Menu/Control/Shortcuts are back! :-)
Replies
Boosts
Views
Activity
Oct ’24
Reply to The Xcode Source Control functionality freezes.
similar here: enabling the Diff-View also triggers beachball. No pattern detected yet. still analyzing/testing/try to understand pattern.
Replies
Boosts
Views
Activity
Oct ’24
Reply to Xcode 16.1* / Canvas refresh / option+cmd+p is gone. :-<
BTW: meanwhile reported to Apple: FB15374055
Replies
Boosts
Views
Activity
Oct ’24
Reply to Xcode 10 Beginner
Hi, you should upgrade to current hardware/OS Level, and Xcode Version/provided SDKs. Then you have also new SDK available like SwiftUI. [https://developer.apple.com/documentation/swiftui/)
Replies
Boosts
Views
Activity
Sep ’24
Reply to Creating New Revision of Xcode Project
Hi, what about Source Control and creating new Branch? [https://developer.apple.com/documentation/xcode/source-control-management)
Replies
Boosts
Views
Activity
Sep ’24
Reply to How to make an updatable ForEach loop SwiftUI
Hi, you are working with a dictionary type. you have some issues in your code: This loop iterates from 0 to flags.count. flags.count returns 1 since there’s one item in the flags dictionary. But the loop will iterate from 0 to 1, meaning it will run two times, which may not be the intended behavior. This could lead to an off-by-one error. AND: you are not showing the dictionary entry in your Text View. You have to iterate over your Dictionary-Type. You are showing just the constant "hey". you have to change the code to something similar to: like ForEach(Array(flags.keys), id: \.self) and... Text("\(flag)") would propose you go to doc about dictionary. https://docs.swift.org/swift-book/documentation/the-swift-programming-language/collectiontypes#app-top)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24