Dec 1 2008

NSLog format specifiers

Why? Cuz I’m trying to learn Objective-C, and I need this for quick reference =)

%@ Object
%d, %i signed int
%u unsigned int
%f float/double

%x, %X hexadecimal int
%o octal int
%zu size_t
%p pointer
%e float/double (in scientific notation)
%g float/double (as %f or %e, depending on value)
%s C string
%.*s Pascal string (requires two arguments, pass pstr[0] as the first, pstr+1 as the second)
%c character
%C unichar

%lld long long
%llu unsigned long long
%Lf long double

Trying to learn it so I can make an iPhone app.

Word!


Oct 8 2008

iPhone App Poetry

A while ago, I upgraded my iPhone to the 2.1 firmware and then re-jailbroke it. Before hand, I copied down all the apps I had installed and what order on what page, so that I could put it all back the way I had it. Looking at the list, it kinda looks like some type of poetry.

Ode to the iPhone

camera, calendar, maps, remote
photos, contacts, clock, twitterific
notes, yelp, aim, loopt
myspace, facebook, zenbe

settings, bossprefs, wordpress, terminal
citytransit, my libraries, mxtube, weather
app store, cydia, installer, airportstatus
calculator, 1password, movies

simplify, sol free, vnc, holdem
cannongame, tris, trism, whirlwind21
pegjump, flipbook lite, macman, quake4iphone
buzzer, labyrinth le, hanoi

snapture, cycorder, whatip, youtube
last.fm, pandora, weatherbug, nes
constitution, linkedin, urbanspoon, icoming
1337pwn, wikipanion, air sharing

MM, Respring, swaptunes, winterboard
icallbr, swapcameraroll, stocks, itunes
intelliscreen

.: Adam


Sep 25 2008

Flipbook iPhone App

I recently purchased the iPhone app called Flipbook, and I have to say that it’s great =)

It’s by far the best time killer out there. There are just so many cool things to create with this. Should be fun forever! In the app, it also allows you to upload the finished films to their website (Flipbook.tv). From there, I just saved out the MP4 files, and sent them to YouTube.

Here are the 2 I’ve made so far:


Sep 24 2008

Mail Accounts No Syncing to iPhone

If you have a jailbroken iPhone and add a new mail account, then try to sync your existing mail accounts from your computer, you’ll prolly see this message:

“Could not sync mail accounts to the iphone because the iphone cancelled the sync”

It’s just a permissions issue, and can be resolved by either SSH’ing into your phone as root or using MobileTerminal and su as root.

Navigate to: /var/mobile/Library
then: chmod -R 777 Mail/

That’ll fix the permissions, and then you can sync away =)

This fix was originally found at This Blog.

.: Adam