Bright Devs Blog

ReactiveCocoa 4 - CocoaActions

ReactiveCocoa 4 - CocoaActions

iOS

CocoaAction is a wrapper around Action type that is available in ReactiveCocoa. (Here you can read more about Action). We use CocoaAction to bind our Actions to GUI controls. Let’s see a quick example of how it works.

ReactiveCocoa 4 - CocoaActions
ReactiveCocoa 4 - Action

ReactiveCocoa 4 - Action

iOS

Today I’ll tell you about an Action type that is available in ReactiveCocoa 4.

ReactiveCocoa 4 - Action
ReactiveCocoa 4 - Events

ReactiveCocoa 4 - Events

iOS

Understanding signal events in ReactiveCocoa is a must. We can’t effectively use signals and signal producers if we don’t know what will happen after certain event is received. We distinguish two kinds of events that you can send through signals - terminating and non-terminating. There are three kinds of terminating events: Failed, Interrupted, Completed, and one non-terminating - Next.

ReactiveCocoa 4 - Events
Open source by default

Open source by default

OpenSource

Using open source code in projects is a common thing. I do it. Most of us do. But what is “open source” by default? Well, I’ve heard about this for the first time at MCE Conf 2016 - “Open by default” panel. It’s an idea to make software open by default and close it only if needed. There are many reasons to close it of course, but sometimes we do it unnecessarily.

Open source by default
Creating an UIImage using ImageIdentifiers

Creating an UIImage using ImageIdentifiers

iOS swift

Hi! In my first post I want to share with you some cool tip which I watched in ‘Swift in Practice - Apple WWDC 2015’ Alex Migicovsky presentation about using UIImages in Swift project.

Creating an UIImage using ImageIdentifiers
A fast way to connect to the web proxy

A fast way to connect to the web proxy

android

Configuring Android device to connect to the web proxy running on development build machine is tedious. You have to make the same steps over and over again on every device you want to debug HTTP traffic.<br/ > It goes like this:

A fast way to connect to the web proxy
Trust specific certificate on JVM-based platforms

Trust specific certificate on JVM-based platforms

jvm java android

I wrote simple helper which allow loading specific certificate to SSLContext. You can use it to support HTTPS connections which rely on a untrusted certificate. By untrusted certificate, I mean this one which server is certified but system denies it (doesn’t trust it) for some reason. I found it very useful to load particular certificate dynamically.

Trust specific certificate on JVM-based platforms
Fetching contacts with CNContactStore

Fetching contacts with CNContactStore

iOS

Since iOS 9.0 we have a new nice method of fetching and saving contacts - CNContactStore! Today I will show you how to create a simple UITextField that will be responsible for fetching a contact for you!

Fetching contacts with CNContactStore
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