Notes from building software
Articles about app development and lessons from practice.
Storing NSAttributedString with UIImage in Core Data
I have recently worked on solving a bug in a simple note-taking app. It allowed the user to save notes that could contain text together with images. The app was built using Core Data and there was a bug where...
Read article →How to add Carthage support in existing CocoaPods project
I've finally found some free time to review the contributions on AHDownloadButton repo and prepare a new release. Before releasing a new version I wanted to add support for Carthage, because the project is currently only supporting CocoaPods. Even though...
Read article →Determining the content size of a WKWebView
In one of my recent projects I had to use a web view to display an HTML string with local CSS and custom font. The web view had to be embedded inside a scroll view along with a couple of...
Read article →Replicating the App Store download button
With the release of iOS 11, Apple introduced a completely redesigned App Store app with greatly improved UI. Among many features and improvements, one thing that I found interesting was the redesigned download/purchase/update button. I've been working in my spare...
Read article →New features in Swift 4.2
Yesterday, Apple officially released the latest version of Swift programming language - Swift 4.2. It is a major release with a lot of improvements that include faster build times and features aimed towards removing boilerplate code and improving efficiency. It...
Read article →