OmegaDelta.net

Hong Kong

Archive for July, 2009

iPhone Design Stuff

2009-07-26 12:17

This is a really useful App Icon template. Thanks Dustin!

A list of sweet app websites (mine’s not in the list, no surprise there :`( )

A really sweet tutorial on creating an awesome App website

Some common App design mistakes.

And this cool conversion app. I just bought it, even though I have a units converter already, and a currency converter which does a better job than this app (displaying all the currencies at once), it was just too damn slick to resist. Wish I could make videos like theirs. And thanks for the 3.0 adoption info! That encourages me for when I go 3.0-only next month (I was worried to lose sales, but maybe this won’t happen).

Also, creating beveled buttons, iPhone PSD mocup toolbox and this guy is just damn awesome.

All from a single google query !!! not bad, not bad at all. I feel like some tea.

Wikipedia external link icon

2009-07-18 06:42

I needed the external link icon from Wikipedia for an App – but I wanted to resize it.

Fortunately, they offer it in .svg format, and copyright free.

http://commons.wikimedia.org/wiki/File:External.svg

CensorDyne

2009-07-10 06:17

Get some of that minty censordyne into your ethernet cables Today!

Creating UITableViewCell’s from NIB’s

2009-07-10 05:22

Excellent post on the topic.

The guts of it is (slightly modified for my own needs):

CustomTableCell *customCell = (CustomTableCell *)[self.tableView dequeueReusableCellWithIdentifier:@"CustomTableCell"];

 if (customCell == nil) {
 CGRect startingRect = CGRectMake(0.0, 0.0, 320.0, ROW_HEIGHT);

  customCell= [[[CustomTableCell alloc] initWithFrame:startingRect reuseIdentifier:@"CustomTableCell"] autorelease];
 [[NSBundle mainBundle] loadNibNamed:@"CustomTableCellNIB" owner:customCell options:nil];
 [customCell loadContent];
 }

 return customCell;

In loadContent I basically go: [self.contentView addSubview:cellContentView]; where cellContentView is my IBOutlet UIView* cellContentView;

Easy…

svn ignores from the command line

2009-07-06 03:50

so I’m stuck in OS X without my beloved tortoise…

recursively set ignores by command line:

svn propset -R svn:ignore ‘*.blar’ .

Calling UIAlerts from a separate thread

2009-07-02 04:58

If you show a UIAlert from a separate thread, you may get a _WebThreadAutoLock exception, especially if that alert contains a lot of text (which changes the UIAlert to have a scrolled text field).

To fix it’s easy, simply change where you had:

to

[alert performSelectorOnMainThread:@selector(show) withObject:nil waitUntilDone:NO];

That will run the alert on the main thread. You can also [release] the alert instance immediately, as the scheduler retains it for you.