Recent Posts
Subscribe
Subscribe to the RSS feed or enter your e-mail in the form below, and get updates, cheatsheets, whitepapers and more.

Your Email:


Archive for the ‘Objective-C Programming’ Category

UITextField Validation That Also Handles Copy/Paste

A nifty little code snippet has been posted by John Muchow.

What it does, by simply dropping in the given snippet into the delegate for the text field, is apply simple validation using an NSCharacterSet in which you define the unacceptable characters, and apply that on a string using the componentsSeparatedByCharactersInSet. A very nice and quick way for doing simple validation, and it will validate characters that you try pasting in the UITextField from the clipboard.

2 Approaches To Twitpic Integration

I recently came across a couple of different tutorials on integrating TwitPic into your iPhone apps.

The first tutorial takes the approach of using the ASIHttpRequest library which allows for easier communication with web applications, and the second goes through each step using only Cocoa libraries for those that are looking for those who want to learn how it’s done using Apple’s URL loading system.

The first tutorial can be found here and the second can be found here.

Make Xcode Feel Like Microsoft Visual Studio

This may hurt some fanboys, but many believe that Microsoft Visual Studio is a better IDE, and that Xcode just plain sucks.  I think most of the hate towards Xcode stems from many of it’s features being turned off when first installed.  I found these great tips today on how to make Xcode feel like Microsoft Visual Studio.

The article covers tips on changing the cut and paste buttons so Windows users feel more at home, implementing an MSVC key configuration in Xcode, installing a decent SVN client and more.

Create Great Looking UIButtons Quick And Easy

If you’ve used interface builder then you’ve probably noticed that you can change the colors and the actual image used for a UIView or UIButton background.  The problem with doing this is that things end looking just a bit off.  Either the corners are squared, things are off center or the other view elements just end up not looking right and you wind up either giving up or changing everything.  I found this excellent tutorial from Matt Long, co-writer of the Core Animation book on creating custom buttons and views easily that just look great.

Programming in Objective-C 2.0 Live Lessons Pt.1 – Review

I know that many of the people viewing this site are absolute beginners to programming who are  frustrated because they have difficulty with iPhone development books that they’ve bought.  The problem is that most people don’t have the fundamentals in Objective-C or Object Oriented programming.  One of the books I’ve recommended is Programming in Objective-C 2.o by Stephen Kochan.  Stephen has also created a video course to go along with the book.