Relative Content

Tag Archive for swift-language

Usage of MVVM in iOS

I’m an iOS developer and I’m guilty of having Massive View Controllers in my projects so I’ve been searching for a better way to structure my projects and came across the MVVM (Model-View-ViewModel) architecture. I’ve been reading a lot of MVVM with iOS and I have a couple of questions. I’ll explain my issues with an example.

Workaround for unit testing Core Data in Swift

I am still pretty new to programming, but my first app was recently approved and is now for sale on the App Store. My app uses Core Data and is written in Swift. After some initial difficulties, I decide to write the app without unit tests. Now I’d like to implement unit tests to prevent regression.

Workaround for unit testing Core Data in Swift

I am still pretty new to programming, but my first app was recently approved and is now for sale on the App Store. My app uses Core Data and is written in Swift. After some initial difficulties, I decide to write the app without unit tests. Now I’d like to implement unit tests to prevent regression.

Ways to do callback, when and where

I’ve recently started to do some more complicated programming with network-related work on iOS with Swift.
This introduced a lot of asynchronous code not only in networking but also some exchange of information between view controllers.

Ways to do callback, when and where

I’ve recently started to do some more complicated programming with network-related work on iOS with Swift.
This introduced a lot of asynchronous code not only in networking but also some exchange of information between view controllers.

Would I rather use Core Data or save files to the system?

I’m developing an iOS app which basically fetches a JSON from a remote location, parses it and instantiates classes for a couple of its elements. For some visualization, this should give you a basic idea of what my json looks like:

Would I rather use Core Data or save files to the system?

I’m developing an iOS app which basically fetches a JSON from a remote location, parses it and instantiates classes for a couple of its elements. For some visualization, this should give you a basic idea of what my json looks like: