Archive

Archive for the ‘Uncategorized’ Category

Phodder is Looking for Help!

February 17th, 2010 jeremy No comments

The following has been posted to the intranet for TAMU CS students.  It’s not just open to students, in case you know someone that’s interested.

Phodder, a consortium of passionate technologists, is seeking to hire two graduate students for part-time positions. We are a small development shop located centrally in College Station, and are focused on making great iPhone experiences and groundbreaking social media applications. If you have experience with Python, Objective-C, C++, JavaScript or other development languages, we want to talk.

We have a great time solving very interesting and practical problems and offer very flexible work schedules. We ask for 14 – 24 hours of work per week, but are very flexible with class schedules. Short code samples showing your coding abilities are greatly appreciated.

Please send a brief statement of your experience and interests, as well as any applicable code samples, to jobs at phodder.com.

Categories: Uncategorized Tags:

Tab Bar Tuesday

November 10th, 2009 Dave 1 comment

So they say the road to hell is paved with good intentions. And I had “intended” to post tab bar tuesday last week, but due to various unforseen circumstances (mowing the lawn, fixing the fence, hanging out with wife/kids) I find myself staring at 1 week gone by without a tab bar Tuesday. I’m ashamed of myself. Ok, not really.

Anyhow, on to the icons. By request, CaptCrunch asks

Any chance of getting a “Sharing”, or “Share”, or something along those lines?

Here you are sir.

Share

Share

Also, here’s a “Add user” icon

Add User

Add User

Thanks again for reading, and keep those tab icon requests coming!

Categories: Uncategorized Tags:

Tab Bar Twosday mach 6 AKA a rose by any other name…

October 26th, 2009 Dave No comments

Hey phoddites, welcome to tab bar twosdays VI

Below you’ll find two icons. If I was clever, I would have done a pumpkin or something for halloween. Maybe next year. Oh well, they’re free, why are you complaining!? You’ll take the two I give you and like it! (I kid, I kid…)

Anyhow enough pseduo-witty banter. Here are the icons, free to use.

Flower

Flower


Preferences

Preferences

Well there you go! Enjoy and see ya next week!

Categories: Uncategorized Tags:

Tab Bar Twosdays

October 20th, 2009 Dave 1 comment

Hey peeples.

Here it is, 2 more tab icons, thrown into the wind, to land in whatever apps you may choose to use em in. Free of charge. You’re welcome.

Dollar Icon

Dollar Icon


Note

Note

Well, till next week, happy coding! Cheers

Dave

Categories: Uncategorized Tags:

Tab Bar Twosdays, the sequel!

September 29th, 2009 Dave No comments

Hi and welcome to this, the second installment of Tab Bar Twosdays. If you saw last week’s post then you know the drill. These icons are free to use, however you please, in whatever iphone app project you have. You can use em in other stuff, too. Regardless, if you do use em, let us know where!

Anyhow, on with the icons.

Camera Icon

Camera Icon

Chat Balloon Icon

Chat Icon

Enjoy! If you’ve got any requests for future icons, let us know!

Categories: Uncategorized Tags:

Collective Labs

September 22nd, 2009 aaron No comments

Hey, what’s this? Who put that there? ;)

More info coming soon!

Categories: Uncategorized Tags:

Dynamic classes with Objective-C

May 27th, 2009 aaron 2 comments

I recently worked on a project for a client that had a lot of data coming from a web service as JSON. The data was comprised of associative arrays (or dictionaries as they are known in other languages) with each key pointing to a set of data. Each of those sets of data can be used to instantiate one of several custom classes I created in Objective-C. Using TouchJSON from the handy TouchCode library I was able to translate the incoming JSON string to an NSDictionary object. An NSDictionary of data is much nicer than a raw string of JSON, but what I really wanted was to take each data set in the JSON and use it to initialize the custom classes I created.

My first pass at this was overly repetitive. I wrote a bunch of methods on my ResponseHandler class (which, as the name suggests, handles responses from the web service) that would consume each entry in the dictionary and return an instantiated object. So I had a bunch of methods on the ResponseHandler that looked like “newJSON”. Kind of messy if you ask me and I was not keeping in line with the DRY principle.

I did some digging into Objective-C and found that it is possible to do some nifty things with the language. One of them being dynamic class creation. With this new bit of knowledge, I had a clean way to resolve my lack of DRYness (…and incidentally, made me happy since I come from a Python background where dynamic class creation is relatively normal).

Lets take a contrived example of a web service which returns data about various shapes to the client. The JSON data retrieved from the web service can be used to instantiate two shape classes: Square and Circle.

If we make a request to this web service we get back the following JSON:

{'SquareObject': {'width': 10, 'height':10, 'center':[5,5]}, 'CircleObject': {'radius':10, 'center':[2,2]}}

Again, with TouchCode’s TouchJSON class, the JSON string above can be turned into cocoa objects.

The shape classes have the following interfaces:

@interface Square : NSObject {
    NSNumber *width;
    NSNumber *height;
    CGPoint center;
}
 
- (id)initWithJSON:(NSDictionary *)jsonData;
 
@end
 
@interface Circle : NSObject {
    NSNumber *radius;
    CGPoint center;
}
 
- (id)initWithJSON:(NSDictionary *)jsonData;
 
@end

Notice I have a method on each class that has the same signature:

- (id)initWithJSON:(NSObject *)jsonData;

This method will be used to instantiate each class with the appropriate data.

The final setup requirement is to create a NSDictionary that maps the JSON keys to Class objects. It lives in my ResponseHandler class where I also instantiate the shape objects, but you can do this where ever makes sense for you.

NSDictionary *classMap = [NSDictionary dictionaryWithObjectsAndKeys:
  					   [Square class], @"SquareObject", [Circle class], @"CircleObject", nil];

In my ResponseHandler class, where I am instantiating the shapes from JSON, I iterate through the expected keys in the NSDictionary that was created from the JSON string (jsonData) and send the initWithJSON: message to each class like so:

NSMutableArray *tmpObjs = [[NSMutableArray alloc] init];
NSObject *anObj;
for (NSString *aKey in [classMap allKeys]) {
	anObj = [[[classMap objectForKey:aKey] alloc] initWithJSON:[jsonData objectForKey:aKey]];
	[tmpObjs addObject:anObj];
	[anObj release];
}
self.dataObjs = [NSArray arrayWithArray:tmpObjs];

That’s it. A relatively simple way to dynamically instantiate classes based on incoming data. If you want to see the complete program I used to write this program, you can find it here.

Categories: Uncategorized Tags:

iPhone: For Business or Pleasure?

April 28th, 2009 john No comments

Apple iPhone Owners Favor Personal Uses, Not Business

So you can look at this survey from Compete in many ways.  Here is my take.

Simple answer: Because not enough businesses understand what the iPhone is capable of. 

Most of the apps downloaded are games and weather.  But is it cause that is what people want and use, or cause there is no choice? Businesses make applications but they are all so very small on fuctionality.  Truly they have concentrated more on branding and asthetics then what they could truly give the end user.  When businesses begin to be more innovative and creative you will see the iPhone go to places we have not yet thought of. 

Imagine doctors using it in the hospital for medications, airline pilots having back up gauges when dashboard goes out, or sales men with presentations ready at any moment.  Applications dont have to be for America.  They can be just for your business.  Now that is a cheap, highly informative device that can increase your profits and efficiency. I ask all businesses to take over the iPhone so you can take over the competition.  See what iPhone possibilities are out there.

Categories: Uncategorized Tags:

Should there be a shelf life for iPhone apps?

April 21st, 2009 john 1 comment

Should there be a shelf life for iphone apps? Would this cause more harm or more good to the iTunes store?
Lets look at both.  First the harm.  The harm this would cause is that great apps would be unnecessarily pentalized because of a clock rather than their performance and popularity.  A great app should not come to an end because of a calendar date.  The other effect would be to discourage developers.  If you were to work really hard on something knowing it would only last a year or so would they still put forth the same kind of effort?  What about the people?  Perhaps the people should decide if they want the apps around or not.  So maybe a system where unpopular or rarely downloaded apps would be dropped for poor performance.  That would ease the search of what iPhone apps you were looking for.

The good of the shelf life.  The main advantage is to cycle through and turn over the store.  It would get rid of alot of unnecessary applications.  Would also give other apps a chance.  If something is ranked in the top 10 its very hard to overthrow it when it has the exposure.  Even if that app was not as good, just being in the top 10 would keep it there from shear download amounts.  Now Apple will say it has a formula for helping the natural order of things, but they will not say.  I think not because of security of manipulation but because they have not found a good solution yet.  A shelf life would clean it up.  Developers could always reupload their app and let it fight it out again.

There are many pros and cons to this but as we approach 50k apps this year or next there needs to be a system to find what you want.  And please, don’t let Google do it.

Categories: Uncategorized Tags:

Five Reasons You Might Want an App

April 7th, 2009 john No comments

Great Reasons to Get the App Going Now

  1. Engagement 101. If done right, an app is an opportunity to deeply involve the consumer and a way to extend dialogue after a campaign has ended.
  2. It can raise brand loyalty. The more times consumers interact with a brand, the greater the chances they will gravitate toward it when they’re ready to buy.
  3. You’ll be ready when the app market really explodes. Within five years, In-Stat expects handset makers to ship a total of more than 100 million units that are app-compatible, so now is the time to gain some experience.
  4. It’s where the eyeballs are. The numbers are compelling: some 800 million downloads from the iPhone App Store.
  5. IPhoners have great demographics. Their income specifically makes them a very desirable target, and they’re ravenous multimedia users. According to AdMob, iPhone generates half the smartphone traffic in the U.S.
Categories: Uncategorized Tags: