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
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.
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Snapshot listener duplicating data
Thanks for clarifying. I have never worked with Firebase, so I am not sure, but your issue may be caused by the behavior of Firebase snapshot. You would get better responses sooner if you visit a site where more experienced developers of Firebase are watching.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to ISSUE: on iOS 15 the top and bottom banners are black instead of white. These need to be updated to a white background.
Can you create a minimized project that can reproduce the same issue and share the whole code?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Snapshot listener duplicating data
Can you tell us what is snapshot? I cannot find a method named addSnapshotListener in the Apple's frameworks.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
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.
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Alice Messages Exercise
Can you show a link to the exercise?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’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.
Replies
Boosts
Views
Activity
Nov ’21
Reply to Please Help: Thread 1: EXC_BAD_ACCESS (code=2, address=0x30ecb2ff8)
EXC_BAD_ACCESS code=2 may be caused by various reasons, but one possible reason is infinite recursive call. Do you think of any places where it may cause infinite recursive calls? Or can you show the stack trace?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to Updated code for Sharesheet in iOS 15?
Better avoid using such a code that no one is responsible for.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to Connect an Iphone and an External Camera over Wifi
Can you clarify what you mean by print the data onto an Xcode application? Xcode does not run on iPhone.
Replies
Boosts
Views
Activity
Nov ’21
Reply to SwiftUI Master/Detail view problem when Split View enabled
Please share your solution as an Answer and mark it as SOLVED.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to Updated code for Sharesheet in iOS 15?
am using examples from the Internet > You should better visit the author of the code.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’21