WhatPaint is now Available on the App Store

Introducing WhatPaint. Tired of forgetting what paint you used on a project? Worry no more because WhatPaint is now available in the App Store. WhatPaint keeps track of your Paint Color details so you don’t have to. Simply enter the details of your Paint  Project and it gets saved to your iOS device. Now you have details of your Paint Project you can search and share with contractors, designers, architects, friends and family. WhatPaint works on iPhone, iPad and iPod Touch. Download WhatPaint today.

WhatPaint App was Submitted


Since coming up with the idea to create WhatPaint last October I have been back in software development. iOS Development is a robust and efficient platform for creating and deploying a product. I am very motivated to keep developing for the iOS platform. I gave myself a firm deadline to deliver the app for review on July 4th. I was able to deliver on this promise with the incredible help of my awesome wife, Anh, who did all the graphics including the above app icon. Now the app lies in Apple’s hands “waiting for review” in the app approval process.

Why is DetailViewController Table View empty?

What have I been up to lately? I have been immersing myself into programming. iOS development to be exact. The one way I have found to be fully engaged in learning software development is to solve a problem that you are passionate about. In this instance it’s an app that I find may solve an immediate issue of mine. iOS development demands a great bit of time to get familiar with especially with the fact that I have been away from any serious programming since 2004-’05. This past October I have dedicated myself to learning and being as consistent as possible with iOS Dev. Since thinking about this app and working on its creation the process has been fun. Today I solved one of the many bugs/issues I’ve faced in building the app.

I am using iOS 5 and Xcode 4.2. In iOS 5 storyboards was introduced. Storyboard helps better the UI creation process. So I came across an issue where my DetailViewController object was not being properly instantiated in search. I have been trying to solve this for the last week or so. Today I finally read over the View Controller Guide Apple documentation and realized that if you attempt to initialize a view controller while using segue (a feature of storyboard) you do not get the behavior that you’re hoping for in your view controller. So with the guides help I fixed this issue in the code below.

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath

{

if (tableView == self.searchDisplayController.searchResultsTableView)

{

if (!self.detailViewController) {

UIStoryboard *storyboard = self.storyboard;

self.detailViewController = [storyboard instantiateViewControllerWithIdentifier:@"DetailViewController"];

}

self.detailViewController.project = [self.dataController.filteredListContent objectAtIndex:indexPath.row];

[[self navigationController] pushViewController:self.detailViewController animated:YES];

}

}

Where is MainWindow.xib in Xcode 4.2 ?

In Xcode 4.2 the MainWindow.xib is not included for some of the project templates. Its means now we have to generate GUI elements by code or we can reconstruct the MainWindow.xib in project. I am describing you the second option here.

If you create a new project in XCode 4.2, and choose the Empty Application template to start from, change nothing and try running it in your iPhone 5.0 simulator, you will see an empty – black – screen. The only thing you get from the template is an AppDelegate.h and AppDelegate.m.

We’ll now reconstruct the MainWindow.xib file in our project. So the next thing is now to create a empty user interface file. Choose iOS > User Interface > Empty as template. The name of this file is not very important but we’ll use MainWindow.xib because this name is familiar to us. (cont’d on sited source)

Follow

Get every new post delivered to your Inbox.