Saturday, February 27, 2010

OpenGL ES tutorial for the iPhone

An intro for OpenGL ES, as well as 3D programming. Just what I was looking for...

Thursday, February 25, 2010

Reusing views

To transfer views from one project to another, copy the view controller H and M files, as well as the XIB file, to the new project folder. In the new project's class view sidebar, choose to add existing files to whichever folder you want to place the files. I suppose the tip is that there's really nothing else needed, except to add the view to whichever master view or window you're using.

Adding tabs to the tab bar view

When you select a new Cocoa Touch project from XCode, you can choose to begin with a Tab Bar Application. The template starts you with two views that comprise a two-tabbed GUI. To add another tab:

1. Create another XIB file.
2. Open MainWindow.xib in Interface Builder.
3. Drag a new View to the tab bar.
4. Click on the new tab.
5. Open Tools > Attributes Inspector.
6. In the NIB Name drop-down box, select the name of the XIB you created in step 1.

Purpose of this blog

Simply put, whenever I discover something new related to iPhone, iTouch, and iPad development, I will post a short how-to. I'll try to answer questions too.

Unfortunately (for you), I've already discovered much. If I'm ever bored, I'll try to relay some of the more important findings.