Archive

Archive for August, 2009

OSX CheatSheet

August 26th, 2009 rupert Comments off

1. iTerm – terminal with tabs.

2. MarsEdit- Blog Software. Im doing a local post on a local wordpress then copying and pasting to a remote wordpress.

3. Mac Shortcuts from http://www.danrodney.com/mac/index.html. Here’s a local post and another one.

4. How to create an ISO?

hdiutil makehybrid -o CS3v1.iso CS3

5. chmOX – CHM Viewer in OSX.

6. Git for OS X from google code.

7. Open a finder from terminal

open .

8. Keychain Access asking on passwordless ssh?

ssh-add
Enter passphrase: ******
ssh-add -l <to list your identities>
</to>

Credits goes to http://www.danrodney.com/mac/index.html

Picture 1.png

9. ln -s /Applications/TextMate.app/Contents/Resources/mate /usr/local/bin/mate Read more…

Categories: mac, osx Tags: ,

iPhone Note #9: Sending or Uploading over HTTP Post

August 18th, 2009 Rupert No comments

In this tutorial, we would use an Objective-C Library: ASIHTTPRequest, which abstracts the complexities of using NSURLConnection

http-final.gif Read more…

Categories: iphone Tags:

iPhone Quick Tip #2: Creating Objective-C Class Diagrams Instantly

August 18th, 2009 Rupert No comments

Omnigraffle provides a quick and dirty class diagram when you open your XCode projects. Very cool and saves you a lot of time than using VISIO. Read more…

Categories: iphone Tags: ,

iPhone Note #8: Exporting Oracle to SQLite3

August 16th, 2009 Rupert No comments

Since I’ve been working most of my time with iPhone Dev for the last couple of months, I thought it will be worthwile to post how to import files to SQLite3. In a nutshell, use MesaSQLite’s IMPORT function. It will save you a lot of time. Now it is up to you how to export into a CSV or TAB delimited file. For Oracle, I used SQLDeveloper. For other databases, such as MySQL or Postgres, I’ve used Navicat. Read more…

Categories: iphone, oracle, sqlite3 Tags: , ,

iPhone Note #7: TableView as Single Selections

August 14th, 2009 Rupert No comments

Today, I came up with a generic UITableViewController that allows single selections.

Part 1: Creating the view controller..

1. File -> New File -> UIViewController subclass. Check the checkbox UITableViewController subclass.

CheckListTableViewController will be referred to as the controller from here on..

2. The controller will accept:

a. NSArray *array – which holds the items.
b. NSString *title – title of the selection.

Read more…

Categories: iphone Tags: