Swift Class Diagrams and more

Introduction Documentation is one of the things that developers don’t like to do much – but it’s something very important not only for newcomers to the project, but also to the people who originaly have written that code. We tend to forget what’ve done two weeks ago, so it’s always good idea to write down […]

Reactive image downloading and caching with RXSwift

Introduction Downloading images from a URL is one of the most common things that mobile developers do. Most of the solutions have to also support image caching (both in memory and file based), so the same image is not downloaded everytime when is needed – because that’s wasteful and ineficient. Also, one of the challenges […]

Swift considerations and decisions

Introduction Swift is already 3 years old, but still changing and improving a lot. Its unique features are starting to change the developers’ mindset, moving away from the old Objective-C concepts to some new ways of thinking with value types, protocols, generics, immutability. It’s a pitty and a lot of unlocked potential if you decide […]

JSON Parsing in Swift with Generics

Introduction Most of the time, the mobile apps are calling REST services to get and display the latest data to their users. We’ve already covered the networking part – making requests to the server and getting response. After we get the response, we need to check its Content-Type, and based on that, parse the data […]

Injecting code in iOS framework startup

Introduction Apple’s new programming language has been around for 3 years now and it’s adopted really quickly¬†by iOS developers. However, Objective-C is still around and used a lot. There are a lot of legacy projects that need to be maintained and also a lot of big complex frameworks written in Objective-C, for which it doesn’t […]

Networking in Swift

Introduction Connecting the mobile apps with a REST service is almost inevitable in every project – apps would be useless and boring if they don’t get the latest data from the servers. There are a lot of great frameworks that do this for iOS, like AFNetworking and its Swift counterpart AlamoFire, Moya, APIKit and many […]

Introduction to Functional Reactive Programming and Table Views

Introduction In the last few years, there has been a lot of talking at conferences, blog posts and tutorials about this awesome different approach to programming – Functional Reactive Programming (FRP). Facebook uses it as a way to handle the countless different news posts appearing on their mobile apps feeds without making large unmaintainable codebase […]