Unicode Mirror Character

August 4th, 2010

It turns out that unicode standard defines a character that explicitly reverses the following text. You can insert it as ‮ in your html. Here is a sample:

Normal Text:

Send more money

Prepended By Mirror Character:

‮Send more money

Here is the specification of algorithm.

Customizable UIPageControl Clone

August 1st, 2010

I'm working on a project that requires to use UIPageControl. The catch? White background. With UIScrollView you can choose between white and black indicators, with UIPageControl no luck — only white dots.

But it turns out that UIPageControl is not that complicated. I've opened its definition, copied it, added dots color property and implementation. Now I have a drop-in replacement for UIPageControl and free to choose any color for the dots.

ZZPageControl

Sample project with ZZPageControl class is available in SVN repository. If you spot any problems with it please contact me!

A few things iOS developers ought to know about the ARM architecture

July 19th, 2010

Many iOS developers just take advice on optimizing their code for specific architectures without investigating details, like use this option in this case and that option in that case. Here is a great article that clarifies details of ARM for Apple's devices: A few things iOS developers ought to know about the ARM architecture.