Advanced iOS Animations

This post will be probably very long and will cover a lot about making your app as juicy as possible. Best iOS apps have heavily animated UI and guide users by themselves so today we will talk about how to take advantages of all new xCode features, and how design app or how to use eyes in terms of imagining your app being animated.

Read on →

Camera and iPhone

It’s been a while since i wrote last post but it is time to cover another topic. I start seeing more and more Instagram like apps and as i have to put some camera preview in one of the last apps i was developing. I come to idea that is it a good thing to talk about. Basically if you want to use camera in you app you are using UIImagePickerController and in most cases is good enought. But what if you really need some nice custom animations and most of all custom size?

Read on →

iOS8 Weirdness Part4: URLSessionTask

This post is one of those short ones. Again I’m confused how switching from one iOS to another may transform your day to a horror. So what is this all about, if you are typical user of NSURLConnection you should acutally know that Apple introduces NSURLSession as a new way to handle networking. And if somethings goes wrong you need to handle it somehow…

Read on →

Godrays for Mobile Devices

This time I want to talk about one of the best postprocess effect I saw in games. It’s called Godrays or Lightshafts depents on people I’m calling it godrays. Basically it’s one of the most challenging effects due to it’s horsepower consumption. Today i will show you how to implement low cost Godrays for your mobile game (or PC).

Read on →

iOS UIButton backgroundColor You Do It Wrong…

This post is for those who are just starting they journey with iOS and Swift and want to learn some good practices on how to build this nice looking flat UI in modern iOS. Basically i want to talk about rectangle buttons that are filled with color. I saw some really bad implementations of UIButton and now, I want to present you a common mistake, i ofen see in many project even those mature ones.

Read on →

iOS8 Weirdness Part3: Laggy UICollectionView

Autolayouts, something that people love and hate. When Apple introduced them i had mixed felling about it, from one hand it reduces tons of code, also do a lot of calculation for you and of course it magically works! In other hand… it is terribly slow i still see my manual setFrame: at least 10 times faster than calculation something in AL but nothing for free.

Read on →

iOS8 Weirdness Part2: Modal ViewController

As i promised we are continuing werid iOS8 bugs i encounter after update. Last one was funny but this one is a masterpiece. Imagine you have project where your user can type some values eg. add contact, some place or something. We want to help our user by giving him some hints while typing or some predefinied values he can choose from. It is a good idea to present this kind of view as a modal view controller…

Read on →

iOS8 Weirdness Part1: UIPopoverController

As and old wolf programmer with years of expirence in iOS I survive most of big iOS updates including switch from 4.2 to 5, from 5 to 6 and so on. Some people remember time when your app was able to work fine on all iOS verions, but all of that changes with iOS7 it makes a big change to how app are made. There is no more easy way to support iOS6 and iOS7 in one app. Apple make new iOS7 API really cool, now we have truly working Interface Builder, StoryBoards, Autolayouts etc. Making apps was never easier before. iOS8 looks event almost the same, so what could possibly go wrong?…

Read on →

Efficient Particle System Using OpenGL ES2.0

My first blog post, wow it took me a while to force myself to do that. If you are tired of digging in docs and stackoverflow it’a a good place to read.

Particles are the most wanted things in games, every good game need some nice and fast particle system on board. Most of people know that good particle system require tons of particles to be processed. Today i’m gonna show you not how to implement master piece class to manage particles but how to implement simple and most important fast particle system on GPU for your own OpenGL game.

Read on →