Feb 23 2009

Open Source Screen Capture Tool

Published by john under Tools/Utilities

I’ve been on the hunt for an open source screen cature tool for the Mac. I finally found what I was looking for, a tool that in which you can specify the exact size of the capture window. Let me explain…

In the process of creating screenshots to accompany applications submitted to the App Store, you can include up to 5 images. Although the images can be anything you like, typically the images consist of screenshots of an application running in the iPhone simulator. When working with the simulator there are two sizes used most frequently, 320w x 460h (Apple recommends not to show the status bar across the top) and 480w x 320h (landscape mode).
Continue reading...

2 responses so far

Feb 19 2009

Xcode Expert Preference Settings

Published by john under Xcode

Beyond the settings you can access from the Preferences menu of Xcode, there are a number of configurable options that can be set using the defaults command from a terminal window.

Two of the settings that I have configured are to beep when a left bracket ( ] ) is entered without a matching right bracket, and second, to increase the number of entries in the recent projects menu (File menu, Recent Projects).
Continue reading...

No responses yet

Feb 01 2009

Change Company Name in Xcode

Published by john under Xcode

Although covered many other places on the net, I recently had to make a change to the name that Xcode automagically inserts when creating new files, so I figured I’d also pass on this tip to readers of this blog as well.

By default, Xcode inserts a company name something similar to the following in all new source files (.m .h etc):
Continue reading...

Technorati Tags:

3 responses so far

Jan 16 2009

Date Formatters – Part 3

Published by john under Cocoa

While working on an iPhone application recently, I needed to convert a date read from an XML stream that was in the following format: 20081122 to a nicely formatted string for display on the device: Saturday November 22, 2008.
Continue reading...

No responses yet

Jan 09 2009

Date Formatters – Part 2

Published by john under Cocoa

In the first post on working with dates several of the examples use the “old style” date format syntax. The examples work, however, I want to show an additional example that uses the ICU (International Components for Unicode) library for format strings.
Continue reading...

No responses yet

Dec 30 2008

Date Formatters – Part 1

Published by john under Cocoa

Sometimes all you’re really looking for is a basic chunk of code to get something done. For example, I was working on an application yesterday and needed to display the current date in text format: October 29, 2008. A simple concept for sure, however, with the many nuances of date formatters, it takes some time to pull together the “right” code.
Continue reading...

One response so far

Dec 23 2008

Xcode FIXME and TODO

Published by john under Xcode

In a previous post I introduced how to use #pragma mark to help navigate source files within Xcode. There are several additional tags that can be used within a source file to call out specific code or content.
Continue reading...

4 responses so far

« Prev - Next »