Post

Replies

Boosts

Views

Activity

Comment on TextField gives error message
You say "I wasn't much bothered by the accuracy of it": that's really bad, you should care, because those who answer to help loose their time to correct your typos. In addition, you marked your own ack as correct answer, not the real answer. That's not how to use forum.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’24
Comment on Invalid Binary, no reason given
Have you checked privacy reports ?
Replies
Boosts
Views
Activity
Apr ’24
Comment on Migrating from ObservableObject to Observable in SwiftUI but still run on older OS
Thanks for the link. That seems to shows there is no simple solution to it.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’24
Comment on TextField gives error message
You say "I wasn't much bothered by the accuracy of it": that's really bad, you should care, because those who answer to help loose their time to correct your typos. In addition, you marked your own ack as correct answer, not the real answer. That's not how to use forum.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’24
Comment on How to get the position of dominant colors in CGImage?
I have implemented a demo code. It is reasonably efficient even though not optimized). For a small image of 600 * 400, it takes 1 or 2 seconds to proceed ; for a large (3000 * 2000), it is about 30s (on iPhone 15 type device).
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’24
Comment on no data from userdefaults
So it is working now ? If so, don't forget to close the thread and good continuation.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’24
Comment on no data from userdefaults
You don't tell what is the result of debug print.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’24
Comment on I plan to study iOS Development. I need to buy a MacBook.
I agree storage is more important than RAM. But one concern with M Mac is that RAM cannot be expanded…
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’24
Comment on How keep NSWindow always on top other windows?
I learned something ! Thanks.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Mar ’24
Comment on Language guide for Swift 5.9
Good continuation. Don't forget to close the thread by marking the correct answer bit that's OK for you. And don't hesitate to post new questions on the forum if you need some help.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’24
Comment on Why does the content moves down twice after the keyboard is dismissed in SwiftUI Form?
Also tested on iOS 16 simulator. No issue either.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’24
Comment on Half Donut Chart using SectorMark
Great. BTW, VStack is superfluous, you can get rid of it (but keep .frame). Let us know how you handle the legend. And don't forget to close the thread by marking the correct answer.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’24
Comment on Half Donut Chart using SectorMark
Hi, I tried to play with angularInset, to no avail. I did not find anything in documentation. .init(angle: PlottableValue, innerRadius: MarkDimension = .automatic, outerRadius: MarkDimension = .automatic, angularInset: CGFloat? = nil)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’24
Comment on Swift Charts Won't Update a Variable Value
So, is it solved now ? If so, don't forget to close the thread.
Replies
Boosts
Views
Activity
Feb ’24
Comment on Simple tricks to bypass the review team
Thanks, I was mislead by the title…
Replies
Boosts
Views
Activity
Dec ’23
Comment on Very embarrassing beginner's question...
Great. But Terminal is not the best place to learn Swift. Playground is way more firndly and powerful. Don't forget to close the thread by marking my correct answer.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’23