Post

Replies

Boosts

Views

Activity

Reply to How can I get name of variable (it is an object) as string at runtime in Swift?
What you are trying to do can probably best be accomplished with the built in logging system. These can easily log (print out) the message you give it (along with the source file name, func/method, line number in the source code, etc.). Take a look through the built in logging facilities here, they are VERY helpful: https://developer.apple.com/documentation/os/logging https://developer.apple.com/videos/play/wwdc2023/10226/
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’23
Reply to How can I get name of variable (it is an object) as string at runtime in Swift?
What you are trying to do can probably best be accomplished with the built in logging system. These can easily log (print out) the message you give it (along with the source file name, func/method, line number in the source code, etc.). Take a look through the built in logging facilities here, they are VERY helpful: https://developer.apple.com/documentation/os/logging https://developer.apple.com/videos/play/wwdc2023/10226/
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to Any tutorials for macOS Swift Game Development?
Ray Wenderlich has many great tutorials for building games in SpriteKit, Swift, etc. Just one example: https://www.raywenderlich.com/71-spritekit-tutorial-for-beginners Note some are a bit dated, but can get them pointed in the right direction.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Is it possible somehow in iOS to prevent screen capture?
Search around for information on using FairPlay streaming for doing something like this. That isn't what it is for exactly, but from what I read searching around there may be a creative way to use it to accomplish what you are asking.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’21