Favourite posts

What it Takes to Get an e-Commerce Site Online

Getting an e-Commerce website online might sound like a huge undertaking,...

WebView Interactions with JavaScript

WebView displays web pages. But we are interested not only in web-content...

Google Maps API for Android

Google Maps is a very famous and helpful service, which firmly entrenched...

Unit Testing with RSpec

RSpec is an integral part of Test Drive Development (TDD) and its main id...

Client side JavaScript: Knockout in practice

When developing a web application that extensively works with user input ...

Accessing Field Configurations in JIRA for changing field description

Field configuration defines behavior of all standart (system) fields and ...

A Guide for Upgrading to Ruby on Rails 4.2.0

As you might have already heard, the latest stuff for upgrading rails was...

UIAppearance

11 Apr 2013

iOS UI that shines forever with UIAppearance and Core Graphic

Traditionally, developers build UI relying on resources included within the application package with a huge part of it as images, sprites, backgrounds and then by using built in API present the complex graphical interface on the screen. 

Since iOS 5 developers can finally change the tint and outlook most of elements without much trouble. The UIAppearance protocol was added to simplify custom styling of iOS application UI elements and the classes that support the UIAppearance protocol have access to an appearance selector. This selector returns the appearance proxy for the receiver. With this proxy you can call selectors like setTintColor ...