Content of the archive
Following list contains titles of the articles with a comment, same as published.
- May 09 - Asynchronous NSBlockOperation - Here is an useful snippet for asynchronous NSBlockOperation.
- Jul 30 - How do I build a Network Layer - Reusable, easy to build and maitain network layer with almost 100% test coverage.
- Jun 22 - iOS: A Beautiful Way of Styling IBOutlets in Swift - Trim Your View Controller With This IBOutlet Trick.
- Jun 18 - Finding contours on paper sheet scans - First step to handwritten digits recognition - collecting data from paper sheet scans.
- May 21 - iOS: Prototyping button-like control with nice animations - Again inspired by work on drihugo bbble.com - Building control on top of UIControl.
- May 14 - iOS: Custom View Controller Transition by expanding view - Implemented custom view controller transition inspired by work on dribbble.com
- Feb 26 - Small break in writing - job seeking - Seeking for a job is hard and very time consuming. I'll be back soon.
- Feb 08 - iOS: Selecting audio inputs - Getting proper audio input for audio recording.
- Jan 24 - Xcode: BUILD FAILED while building project using xcodebuild and Xcode 7.2 - Workaround for building project for simulator using xcodebuild and Xcode 7.2.
- Dec 19 - CocoaPods: Ensure that your team uses the same version to install pods - A trick that help you and your team in cocoapods install and updating process.
- Dec 06 - iOS: Passing data back using unwind segue instead of delegate pattern - Nice way to pass data back without using delegate pattern.
- Nov 29 - iOS: Realm instead of Core Data - Let's take a look how easy to use Realm is.
- Nov 14 - Xcode: XCConfig files for managing targets configurations - Easier configuration management using XCConfig files.
- Oct 27 - CloudKit: Introduction and let's build an app - CloudKit getting started.
- Sep 26 - iOS: 3D Touch, impressions and thoughts - Few thoughts about 3D Touch.
- Sep 14 - Swift: Why Float, Double and Int are AnyObjects? - This is a question I asked yesterday, and copy-pasted my question details and answer I get on StackOverflow topic just to have it here.
- Sep 13 - iOS: Undo and redo with NSUndoManager - NSUndoManager was mysterious thing to me for a really long time. I wanted to learn using it, and actually never got a time. To date. I wrote a simple app that allows to create rectangles that can be moved around and change their properties like background color or corner radius.
- Sep 12 - Xcode: Moving view in storyboard and keeping it on the same level in hierarchy - I am playing a bit with storyboards and was thinking if there is a way to move view without changing its level in views hierarchy. And, there is one.
- Sep 01 - Xcode: Trick shows how to create constraint to Top of UIViewController's view instead of Top To Layout Guide - This is a pretty useful trick that my colleague Piotr Tobolski shown me recently when I was struggling with Auto Layout (mainly cleaning it up).
- Aug 21 - iOS: Initialization process of a view loaded from a storyboard - This post is continuation of the UIViewController's view loading process demystified post I've wrote some time ago. I'd like to cover how custom view is loaded when it is placed in a storyboard.
- Aug 14 - Swift 2: Error handling using ErrorType, throws, try and do-catch - Swift 2.0 brought us ErrorType. Let's take a brief look on it.
- Aug 10 - iOS: Using UIMotionEffect to add perspective to a view when tilting device - UIMotionEffect is a class that provides motion-based modifiers for views. It allows views to react on tilting of a device - nice class that I've learned about today.
- Aug 07 - Swift 2: @NSManaged can be used for autogenerated methods - Another addition to Swift 2 in Xcode 7 beta 5. We can use @NSManaged to declare autogenerated methods when using to-many relationships.
- Aug 06 - Swift 2: Force-unwrap failable initializer when chaining to it from convenience initializer - Xcode 7 beta 5 is out and there is nice addition to Swift. It is more about Xcode 7 beta 5 compiler, but still it is available in Swift 2.
- Aug 04 - Thoughts and impressions after creating and submitting 2048 game in 10 hours - That was pretty effective Saturday. Writing game was an interesting process and I played a lot 2048 that day. Here are my thoughts and impressions.
- Aug 03 - iOS: UIViewController's view loading process demystified - @NatashaTheRobot posted about testing view controllers and issues with loading views on her blog in The One Weird Trick For Testing View Controllers in Swift post.
- Aug 01 - Open Sourcing City Bike, Free Bike Finder app for iOS and Apple Watch - I was working on City Bike app for some time recently. Today I am excited to announce that I am making it open source project and the code is available on GitHub.
- Jul 24 - Energy Efficiency Guide for iOS released with new Xcode 7 beta 4 - Apple released "Energy Efficiency Guide for iOS Apps" few days ago when releasing Xcode 7 beta 4. Note about this document is in the change log.
- Jul 23 - iOS 9: Getting single location update with requestLocation() - Apple added new API to CoreLocation framework. One of the available methods is requestLocation() which allow to get single location update.
- Jul 22 - iOS: Low Power Mode - "Even longer battery life." - Apple says. Low Power Mode is a new feature of iOS 9 which lets iOS users extend their devices battery life. For now up to one hour, but hey, this is additional one hour, right?
- Jul 21 - Swift 2: Enums marked "indirect" in Xcode 7 beta 4 - Apple released Xcode 7 beta 4 today with some fixes and many improvements of the Swift language. One of them is indirect attribute for enums and its cases.
- Jul 18 - iOS: Strings with length variations - iOS 9.0 SDK provides new way to select and display proper localized string variation depending on screen width.
- Jul 16 - Xcode: Native Fuzzy Autocompletion - @hamzasood (Thanks!) mentioned about hidden feature in Xcode7 - Fuzzy Autocompletion.
- Jul 14 - iOS: Second try to NSOperation and long running tasks - Yesterday I wrote about using NSOperation for background tasks. It was more about long running tasks. When I finished writing the code I wasn't so happy about how it looked. There were few bad things that I didn't like. If you didn't read the first version give it a try and next continue this one, I'll wait :)
- Jul 13 - Xcode: New NSManagedObject subclass generator - Xcode 7 includes new generator of NSManagedObject subclasses and it works for both Swift and Objective-C classes.
- Jul 12 - iOS: Using NSOperation for background tasks - I has been inspired by this great Advanced NSOperations WWDC 2015 session yesterday and wanted to perform tasks in Quotes app in NSOperation-manner.
- Jul 11 - iOS: Searching with UISearchController - iOS 8 brought a lot of new APIs for developers. One of them is new API used for searching. Before iOS 8 we're using UISearchDisplayController. Since iOS 8 there is new UISearchController available - let's play with it for a moment and implement in Quotes app.
- Jul 11 - iOS: Unit testing in Swift and CLPlacemark mocking - Joined one project yesterday and I am responsible for converting few Objective-C classes to Swift where I can get some experience in Objective-C and Swift interoperability.
- Jul 10 - Swift: Enums without explicit string raw values - Xcode 7 beta 3 brought us changes in Swift 2.0 language - It is not necessary to set raw values explicitly for enums that inherit from String - Great!
- Jul 09 - iOS: Self-sizing table cells - Watched WWDC 2015 session about Auto Layout - Mysteries of Auto Layout, Part 1 and encountered issues during testing what Kasia Wawer presented there.
- Jul 08 - Starting project in Swift 2 for iOS 9/8 features testing - Today I started new project on github, called Quotes. It has been created for testing features of iOS 9 and iOS 8 too which I was not able to test in the past or not tried yet because things are new.
- Jul 07 - Xcode: PDF vectors in Assets catalog - Recently I realized that it is possible to work easier with Assets catalog in Xcode 6/7. As I started searching the Internet I found that the feature I'm using now is available since Xcode 6 has been released - PDF vectors. Don't know how could I missed that.
- Jul 05 - Swift: Checking API availability - This is very nice addition in Swift 2. It provides API availability checking and makes our lives easier.
- Jun 30 - Integrating Travis CI with Swift project - Finally I successfully integrated Travis CI with Swifternalization. I spent some time finding ready-to-go solution how to configure my Swift 1.2 project to work with Travis and I couldn't find it.
- Jun 29 - Test Driven Development for code safety and your peace - Today I spent time working on one framework I would like to share end of this week. It took me 8 hours and this were very peace, calm and nice hours of funny coding today. Why you might ask? Because of unit testing.
- Jun 28 - Swifternalization - localize apps smarter - I am happy to annouce my new framework written in Swift I built this week, Yay! As mentioned in previous post about Test Driven Development I was working this week on framework that solves problem of app localization and plural strings support in smarter way - And there it is - Swifternalization.
- Jun 26 - iOS: NSNumberFormatter additions in iOS 9 - I've read changes in iOS 9 APIs and found interesting addition in NSNumberFormatter class. There are additional NSNumberFormatterStyle enum options to format numbers.
- Nov 10 - iOS: Simplifying view controller's code and a view hierarchy in storyboard - I'll show a way how to create custom controls/components and how to reduce the code inside view controller classes. This is a thing I learned few months ago, and I'm using it daily when dealing with custom controls.
- Oct 26 - Swift: Failable Enums with Optionals - This is response to Natasha Murashev's post. She asked if someone found some better way of handling initializing enums with optional values. I think here is described a better one.
- Jun 27 - iOS: Mastering Core Data - Need to master Core Data? I finished reading one book right now, it's really great.