Post

Replies

Boosts

Views

Activity

Reply to Winzo app
This is not a place to request(?) an invitation code of some specific app. Contact to the author of the app.
Dec ’21
Reply to Cannot convert value of type 'ChooseModel.Angle' to expected argument type 'Angle'
My model like: Some lines missing. Is it a struct or a class? What is the type name? Cannot convert value of type 'ChooseModel.Angle' to expected argument type 'Angle' If you want to use SwiftUI.Angle, you should not define your own Angle. They have the same name but two different things. To make a struct Codable which contains SwiftUI.Angle, you need to make SwiftUI.Angle Codable, or add a conversion method to and from your own Angle and SwiftUI.Angle. By the way, you should better respond to all answers and comments you get, which helps you to get better answers sooner.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’21
Reply to Code
@Shikithita, Unless you are the author of the app, this is not a place to ask sort of code for TestFlight of some specific app. TestFlight apps are controlled by the authors of the apps, you should contact them.
Dec ’21
Reply to Calling an object.method as variables
If you want to apply some method dynamically, you may need something like perform(_:).         _ = (target as AnyObject?)?.perform(action) Please remember, Swift compiler cannot check if the target can respond to the selector target at compile time. Neither can check the number nor the types of the arguments. You should better consider using closures if you can touch the class definition.
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’21
Reply to Double value conversion issue
Double represents values in binary floating point system. So, every programming language may show the same results. One way would be showing the result with proper rounding. Another might be using Decimal instead of Double. But which would be better depends on your use case.
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’21
Reply to Swift playgrounds 4
is it still going to be released this year or has it been scrapped and is not coming out? What are publicly released from Apple after the later this year statements: (not sure it was later this year or late this year.) The release notes of Xcode 13.2 beta contains: General New Features in Xcode 13.2 Beta Xcode 13.2 includes support for app projects created with Swift Playgrounds 4. (84436977) Xcode 13.2 beta 2 still has a template for Swift Playgrounds App: As far as I checked, this new template creates a new file type different than Swift Playgrounds 3 or Xcode Playground. So, it is very unlikely that been scrapped and is not coming out. You may need to wait a little more, but not too long. I strongly expect Apple would keep the promise late this year.
Nov ’21