Bright Devs Blog

ReactiveCocoa 4 - SignalProducer

ReactiveCocoa 4 - SignalProducer

iOS

Today we will take a look at SignalProducer class which is provided with ReactiveCocoa 4.

ReactiveCocoa 4 - SignalProducer
ReactiveCocoa 4 - MutableProperty

ReactiveCocoa 4 - MutableProperty

iOS

MutableProperty which comes with ReactiveCocoa allows us to track variable’s changes. Let’s take a quick look on how it actually works.

ReactiveCocoa 4 - MutableProperty
My thoughts on - StatefulViewController

My thoughts on - StatefulViewController

iOS

I had a chance to play a little bit with a nice pod that is called StatefulViewController, created by Alexander Schuch. StatefulViewController works with both UIView and UIViewController, and allows you to introduce placeholders for their different states: Loading, Error, Empty or Content. Everything is based on an intuitive protocol and after providing your placeholder views and implementing required methods everything works like a charm. You can find this pod on Alexander’s github. I’ve looked into the code of this pod and I found a few things that I want to share with you today.

My thoughts on - StatefulViewController
Custom XCode key bindings

Custom XCode key bindings

iOS

When I started writing Swift code, I found out that my beloved IDE(AppCode) for Objective-C, was not doing as well as I thought it would. Moreover, I’ve noticed that XCode did better job in terms of handling CocoaPods, autocompletion, debugging etc. It was more than enough for me to say sorry to XCode and leave AppCode for some time to let it solve it’s problems. I really miss it’s Objective-C features like code refactoring and it’s ability to generate code, but there is no place for sentimentality. Currently I’m proud user of XCode 7.3 beta and I really like it’s new autocompletion feature.

Custom XCode key bindings
My thoughts on - Whisper

My thoughts on - Whisper

iOS

Lately I’ve come across a nice pod which makes in-app messaging easier and decided to give it a quick look. I’ve created a test project in order to see how the pod behaves and my first impression was… “That was easy!”. If you want to find out how to use this pod, check out Hyperoslo’s github, which shows how easy it is to start sending your messages!

My thoughts on - Whisper
Swift files generator

Swift files generator

iOS

For some time, I have been creating iOS apps without using storyboards at all. Because of this fact ,creating screens in the application is connected to some repetitive steps. You create a ViewController, then a View which will be presented in the controller. You want a PageViewController? Create one, set up ViewControllers that will be presented inside it. After some time, you can recognise a pattern and prepare a bunch of code snippets that will do the job for you. Or… You can prepare a code generator, that will generate all the files for you. This will allow you to skip the part of creating files and filling them with code templates. In this blog post, I will tell you about creating my first code generator.

Swift files generator
Logging with Retrofit 2

Logging with Retrofit 2

android

Retrofit has been updated to 2.0 version. It’s a major change in the one of the most popular library for Android platform.</br> A lot of things have been changed out there but in this blog post I want to cover how to setup logging properly.

Logging with Retrofit 2
3 tips for iOS Calabash beginners

3 tips for iOS Calabash beginners

iOS

Have you ever felt that your app needs UI tests? Are you tired of checking behaviours of your application again and again? Consider using Calabash!

3 tips for iOS Calabash beginners
Quickly access Documents Directory for the iOS Simulator

Quickly access Documents Directory for the iOS Simulator

iOS

Let me share a small trick that I use to quickly navigate to documents directory for an iOS application that runs in the simulator. It requires adding some small snippet of code to the app but it really pays off.

Quickly access Documents Directory for the iOS Simulator
Desymbolicate crash reports from the command line

Desymbolicate crash reports from the command line

iOS

I was struggling again with desymbolicating of iOS app crash logs and thought that it would be nice to have a handy script that is a bit easier to use than the multi step process I had been using thus far. There’s no rocket science in it, just a simple script named desym that seems to work for me and probably will require more than one adjustment to work in general.

Desymbolicate crash reports from the command line