All posts

Category: iOS

What’s new in AVFoundation in iOS 10

With iOS 10 we are getting some new features which can improve camera usage in our apps. I would briefly talk about three of them.

Read more

Add elements to an array like a pro

It’s well known that merging arrays through plus operator cause the compilation process to take much longer. But what about an execution time? As could be expected the winner can be only one.

Read more

Face tracking with AVFoundation

Face tracking is an interesting feature which is available in iOS since it’s 5th version. In this tutorial I would like to show you how to implement it in Swift 3.0.

Read more

Notifications in iOS 10

With iOS 10, tvOS 10 and watchOS 3 launch Apple introduced the new UserNotifications framework. It supports the delivery and handling of local and remote notifications. Cool, but you can say that it was already possible through UIKit and classes like UILocalNotification or dictionaries for remote notifications. And you’re completely right, but these new possibilities, in particular, are extremely convenient and powerful. Take a look at it with me!

Read more

3D Touch in Swift 3.0

With the introduction of iPhone 6S, Apple presented new feature called 3D Touch. It is a new layer on device’s screen that can detect the force of our touch. 3D Touch allows developers to provide users with the bunch of new experiences when using the app. 3D Touch API can handle three different use cases of […]

Read more

How to spice up your app with iOS 10 magic?

Since September 7th iOS 10 Golden Master is available. That means in a few days there should be also the first initial public release of it. And that’s pretty awesome. I really enjoyed all the previous betas on my iPhone and can’t wait for the public seed available for everyone! But what does it mean for developers?

Read more

What’s new in iOS 10?

On June 13th people were sitting in Bill Graham Civic Auditorium and waiting for the biggest Apple developers feast of the year – WWDC. They spent a lot of money, travelled thousands of kilometres, wrote myriads of lines of code to be a part of this memorable event, to hear what’s new in Apple devices microcosmos first-handy.

Read more

/dev/full on OS X

How to simulate ENOSPC errors on OS X

Read more

Error Handling in Swift 2.0

Does it sound frightening? Not anymore! Easy example how to implement new error handling model in Swift.

Read more

Why do we love Realm?

For many Core Data is a synonym for an iOS database. Mobile Core Data appeared in 2009 and for five years was the one and only solution. Nowadays Core Data in iOS 9 looks almost the same as the first from iOS 3 SDK. That makes it a little bit out-of-date, especially in Swift app. Fortunately since 2014 there is Realm – new king in the database kingdom.

Read more

RxSwift by Examples
#4 – Multithreading.

When we are talking about Rx, often times it all boils down to connecting (binding) our data sources with UI. You can see it clearly in our examples – we are connecting data to UI on a daily basis. In previous parts of the series, apart from UI bindings, we were also talking about retrieving the data. […]

Read more

Beautiful charts in Swift

Charts are lovely way to present complicated data sets. Everything seems to be easier when you can see it. One picture is worth of thousand words and the same can be said about charts.

Read more

RxSwift by Examples
#3 – Networking.

Learn how to fetch your data from API, chain requests and setup Moya with RxSwift! 🎉

Read more

RxSwift by Examples
#2 – Observable and the Bind.

In this article we will learn about bindings and how you can connect things in RxSwift!

Read more

Swift vs Obj-C Performance Comparison

Is Swift faster than Objective-C? This question has been asked so many times and the answer is still unclear. So I took the recent Xcode 7.3 beta and ran some tests comparing Swift 2.2 and Objective-C. The results were surprising even for me.

Read more

RxSwift by Examples
#1 – The basics.

Start your adventure with Functional Reactive Programming and learn how to use RxSwift with your projects! 🎉

Read more

What’s new in Swift 2.2?

Swift 2.2 is going to be released with Xcode 7.3 and is supposed to be sometime in March to May of 2016. This issue is planned to be an intermediate point between Swift 2 and Swift 3 contains more changes. Actually Swift 2.2 only warns you about changes, when Swift 3 would not allow you many things you have got used to. But do not worry – I guess it is another big step to make Swift swifter.

Read more

IBDesignable and IBInspectable in Interface Builder

A picture is worth a thousand words. Simple and meaningful. Why have to setup whole view (meaning not only UIView, but all its subclasses included buttons, images or cells) with raw code and imagine how it possibly could look, when you can easily use IBInspectable and IBDesignable available in Interface Builder since Xcode 6? Exactly! Let’s try it out and take a look how simple it is.

Read more

How to integrate Gerrit with HipChat

You can find complete source code on Droids on Roids’ GitHub repository Background One of the useful features for Gerrit users is to receive notifications about events related to their changes. Gerrit contains built-in support for email notifications. You can just configure SMTP settings and voilà, bunch categories of emails will be sent. So far so […]

Read more

Google Cloud Messaging and Parse comparison

Two different ways of approaching the implementation of Apple Push Notification Service in iOS app. Google Cloud Messaging versus Parse Push Notifications. Which one is the best for you?

Read more

SwiftCarousel

Circular UIScrollView – SwiftCarousel

Circular UIScrollView. Learn how to use SwiftCarousel helper with examples.

Read more

Log in with Twitter

Currently, most mobile applications have login by social networks. In this post we will focus on solution using Twitter platform. We will try to create simple login using Parse backend service which provides support the Twitter API.

Read more

Maze Game with SpriteKit

Do you remember days when maze games like Labyrinth 2 from Illusion Labs where one of the most popular titles on the App Store? In fact it was kinda long time ago, when iPhone 3Gs and 4 had its glory time. I still think it was really nice idea, so why not to create own Maze game, especially since iOS SDK has such great framework like SpriteKit?

Read more

Apple TV Menu

Apple TV Parallax Effect in Swift

Have you seen new Apple TV? Looks great, and brand new design brings some iOS/OSX feeling! As always, Apple included subtle, but very cool effect to interact with interface. Here’s you can look how to recreate it in Swift.

Read more

iOS & Android Mobile Development Company Software House Poland

Content Blockers in iOS 9

Since iOS 9 and OS X El Capitan, Apple has started supporting content blockers. This brings us ad blocking and many other interesting possibilities.

Read more

iOS & Android Mobile Development Company Software House Poland

UIStackView in Swift Part 1

In June 2015, something finally changed in terms of layout in iOS. On WWDC Apple introduced a new layout tool for developers – UIStackView. Well known to OSX developers, this great layout view finally came into iOS world. Let’s be honest – AutoLayout is not trivial – for experienced developers is logical and enable them […]

Read more