Bright Devs Blog

Heartbeat button

Heartbeat button

iOS

Hi! Today I will show you how to create a simple heart button that will simulate a heartbeat upon each tap. You can find an example project on my Github.

Heartbeat button
ReactiveCocoa 4 - Signal

ReactiveCocoa 4 - Signal

iOS

Today, let’s take a look at basic aspect of ReactiveCocoa - Signal.

ReactiveCocoa 4 - Signal
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