Post

Replies

Boosts

Views

Activity

Comment on Xcode Crashes While I Am doing SwiftUI Tutorial
Every developer may make simple mistakes. Please do not call it silly. Making simple mistakes is not a big issue, we need to learn how to fix them as soon as possible. In this case, this part of the error messages keyNotFound(CodingKeys(stringValue: "longtitude", intValue: nil) is suggesting what is happening.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’21
Comment on Please Help: Thread 1: EXC_BAD_ACCESS (code=2, address=0x30ecb2ff8)
Thanks. Seems you are passing an instance of OnboardingView to a method !!! As you know, in SwiftUI, View is a struct -- value type, and passing or assigning a view would cause any unexpected behavior and that is one thing you should never do. You may need to find a way to achieve what you want without passing a View.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on Please Help: Thread 1: EXC_BAD_ACCESS (code=2, address=0x30ecb2ff8)
OK. Tell us if it is too difficult for you to find a way doing things  without passing a View.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on Call 2o API after finishing 1st one
I dont want to do differently. > Then you cannot achieve what you want.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on Apple, surely it is possible to block some of these these spam posts?
Seems it is just spammers are working or not. The fix may not be working nor deletion by moderator is not fast enough when spammers are working heavily.
Replies
Boosts
Views
Activity
Dec ’21
Comment on Cannot convert value of type 'ChooseModel.Angle' to expected argument type 'Angle'
Thanks for you reply. i created on in model struct then i didn't know how to deal with it > That means defining your own struct with the same name is the right way to go.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on Cannot convert value of type 'ChooseModel.Angle' to expected argument type 'Angle'
@tankman, please share your solution (and mark it SOLVED) when you are done well.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on Run async tasks using Background Tasks
Thanks for trying. As for now, I can think of nothing more under the currently shown info. Hope your issue will be solved soon. Good luck.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on Optional somehow becomes nil after passing through a condition to prevent that
True, you should have mentioned all such thing in the opening post. Can you show your code as text? (Or are you expecting all the readers would get into external links?)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on M1 - entitlements are missing
was not notifying about the need to update them > Have you already sent a bug report?
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on How do I fill in CXProviderDelegate in SwiftUI?
Hard to say something concrete, but one way would be making the delegate class ObservableObject and update @Published var in the delegate method. If this is not enough for you, please do not hesitate to start a new thread.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on Where is Playgrounds 4? It's 2021-12-14 now...
Thanks, I'm trying it now and really thrilled. Would Apple start a Developer Program for students (or possibly, for school). Many high school students love Playgrounds.
Replies
Boosts
Views
Activity
Dec ’21
Comment on Swift playground 5
Apple kept the promise late 2021, though my expectation for the beta version did not come true, but it's better we can use the App Store version earlier than I expect.
Replies
Boosts
Views
Activity
Dec ’21
Comment on Xcode Crashes While I Am doing SwiftUI Tutorial
Every developer may make simple mistakes. Please do not call it silly. Making simple mistakes is not a big issue, we need to learn how to fix them as soon as possible. In this case, this part of the error messages keyNotFound(CodingKeys(stringValue: "longtitude", intValue: nil) is suggesting what is happening.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on Referencing initializer 'init(_:content:)' on 'ForEach' requires that 'Image' conform to 'Identifiable'
@Franklan010, sorry but not works is one of the least useful responses. Can you share your code which can reproduce the issue? Including what you get with the code and what you expect.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on Log4j XCode vulnerability - resolution eta?
@niclego, better update to Xcode 13.2.1.
Replies
Boosts
Views
Activity
Dec ’21