Iconoclasm Layout Guide

Iconoclasm uses layouts, which tells it how many icons to display on-screen and where to display them. This is a guide on how to create new layouts.

Layouts Explained

Layouts are property list files (plists), stored in /Library/Iconoclasm/Layouts.

There are two types of layouts:

The origin (0,0) for the coordinate system on iOS is in the upper left. This means that X increases as you go to the right, and Y increases as go to the bottom.

Grid Layouts

Grid layouts have three keys:

Freeform Layouts

Freeform layouts have one key, Origins, which is an array of dictionaries. Each dictionary represents a point, and it has two keys: x and y.

Expanding to the iPad

The above keys are used to create layouts for the iPhone and iPod touch. You can create iPad-specific layouts by using different keys.

The same amount of icons must be available in both orientations, or you will be sent into Safe Mode on respring. If you do not provide landscape coordinates, the portrait coordinates will be scaled accordingly.

Speeding Up Respring

Plists can be stored in a variety of different ways; the two most common formats are XML and binary:

If you wish to speed up respring time, consider converting your layout plists to binary. You can do this with Property List Editor (if you have Xcode 3), Xcode (if you have Xcode 4), or plutil.

A Few More Details

Updates