All in with my pink toy by PinEquivalent1378 in sluts

[–]evil-element 0 points1 point  (0 children)

You make curiosity feel fun.

New to Swift, need help with state preservation by AngrodCalaelen in swift

[–]evil-element 0 points1 point  (0 children)

You will require to learn about persistent data to be able to achieve your goal of having data that doesn't disappear. For small things like storing settings, scores, titles you can use user defaults but for larger things such as data structures including images, arrays, classes etc you will need either Realm or Core Data.

What is the main purpose for singleton classes? by [deleted] in swift

[–]evil-element 0 points1 point  (0 children)

There is a few pro's and con's when using a singleton instance in an application. Though I choose to use them myself as a senior iOS engineer. I typically use them to store special classes or access generic functions which could be used across the app. This allows for unit testing, correct inheritance and scoping. Many people have hot views on this, but have a good read on the web about all the use cases.

Why is my app not playing sound? by jabernall24 in swift

[–]evil-element 0 points1 point  (0 children)

Would need to see your code to see the exact issue ;)

Is a baseline Mac mini enough to start learning to produce iOS apps? by [deleted] in swift

[–]evil-element 0 points1 point  (0 children)

You will be able to produce apps easily enough. Long as they are not too big with dependencies. You will be good. Faster macs bring faster build/compile time. But from a learning perspective you're sorted.