Relative Content

Tag Archive for iosswiftxcode

How to animate your loading screen

I have the logo in the middle of the first screen that people see when they open my IOS app. How can I animate the loading screen? Can someone point me to an example of how I can animate the logo just like the Retell IOS book summary app does?

Xcode – Optimal way to store data in dictionary/map

I am curious what the best (least memory, fastest retrieval) way to store small amounts of data is in Swift? And with that, what the best way to store large amounts of data is. I am trying to store a dictionary of about 25 key/value pairs in Swift – a [String: String] mapping. I can do this with a JSON file, plist, struct, class (not optimal). I am deciding between a struct and a plist file, since I know that structs are passed by value and Apple seems to like plist files (we have Info, Entitlements, etc). Plist files are in XML format, which I thought carried slightly more overhead than JSON files. However, it’s easier to retrieve/encapsulate data with a struct as opposed to loading from a plist file.

How to find toolchain in xcode 15.0.1

Failed to build module ‘PayUCheckoutProKit’; this SDK is not supported by the compiler (the SDK is built with ‘Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)’, while this compiler is ‘Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)’). Please select a toolchain which matches the SDK.

Array and UserDefault

I am making a Quiz app, but I’ve gotten a bit stuck where I am now. This is the class for the quiz questions: