Post

Replies

Boosts

Views

Activity

Comment on Who can provide sample code written in Swift language for drawing multiple custom paths
I would like to ask if there is a class similar to GeneralPath class of Java in Swift language, and if there are methods similar to g2.draw (shape) and g2.fill (shape) of Java(because I don't have a deep understanding of Swift). I think using classes and methods like Java should be easier, but using a for loop would require more code and should not be complicated. Therefore, I would like to see an example for reference,Perhaps I can find a better way.
Topic: Graphics & Games SubTopic: General Tags:
Oct ’24
Comment on Who can provide sample code written in Swift language for drawing multiple custom paths
I am using the SwiftUI framework to draw multiple 2D polygons using a 3D float array of points. Each 2D array represents a polygon and contains an x-coordinate array and a y-coordinate array (you know that the Swift array corresponds to Kotlin's list). It is best to use a double for loop to implement this. I would like to find some examples for reference. Can you provide some code or tell me where to find these codes online? I hope to receive your guidance. Thank you!
Topic: Graphics & Games SubTopic: General Tags:
Oct ’24
Comment on Why is there a problem passing parameters from Swift to the shared Kotlin class when developing iOS applications using Kotlin Multiplayer Development in Android Studio
Can you provide a link? I really hope to receive guidance in this regard. However, I have found a solution to this problem, which is to add the name of the parameter corresponding to the kotlin function being called and ":" before the parameter when passing it, which is "data_in:" in this case. But if you can provide the link, I can also seek help when I encounter other problems. Thank you!
Topic: Programming Languages SubTopic: General Tags:
Oct ’24
Comment on How should the published application be promoted
Thank you for providing this very valuable information
Replies
Boosts
Views
Activity
Dec ’24
Comment on Do I need to test when publishing an application
Thank you for your guidance, this information is very useful to me.
Replies
Boosts
Views
Activity
Nov ’24
Comment on Who can provide sample code written in Swift language for drawing multiple custom paths
The code you provided is very useful, and I will study it carefully. Thank you for your guidance
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’24
Comment on Who can provide sample code written in Swift language for drawing multiple custom paths
I would like to ask if there is a class similar to GeneralPath class of Java in Swift language, and if there are methods similar to g2.draw (shape) and g2.fill (shape) of Java(because I don't have a deep understanding of Swift). I think using classes and methods like Java should be easier, but using a for loop would require more code and should not be complicated. Therefore, I would like to see an example for reference,Perhaps I can find a better way.
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’24
Comment on Who can provide sample code written in Swift language for drawing multiple custom paths
I am using the SwiftUI framework to draw multiple 2D polygons using a 3D float array of points. Each 2D array represents a polygon and contains an x-coordinate array and a y-coordinate array (you know that the Swift array corresponds to Kotlin's list). It is best to use a double for loop to implement this. I would like to find some examples for reference. Can you provide some code or tell me where to find these codes online? I hope to receive your guidance. Thank you!
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’24
Comment on Why is there a problem passing parameters from Swift to the shared Kotlin class when developing iOS applications using Kotlin Multiplayer Development in Android Studio
Can you provide a link? I really hope to receive guidance in this regard. However, I have found a solution to this problem, which is to add the name of the parameter corresponding to the kotlin function being called and ":" before the parameter when passing it, which is "data_in:" in this case. But if you can provide the link, I can also seek help when I encounter other problems. Thank you!
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’24
Comment on Can anyone provide guidance on a problem encountered during Kotlin's multi platform development
I tried it again later,I chose the second item in the ios option,There's no previous problem,I guess the method you provided should also be OK,I still have to look at some information to complete,Thank you for your guidance.
Replies
Boosts
Views
Activity
Oct ’24
Comment on Is there a quick way to package Android applications written in Kotlin language into iOS applications?
I have installed Xcode14.3. Can the applications packaged with this program be listed on the Apple App Store?
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Sep ’24
Comment on Is there a quick way to package Android applications written in Kotlin language into iOS applications?
Thank you for your pointers, this information was very useful to me
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Sep ’24