Making Smarter Table View Cells

November 18th, 2010 Posted by: - posted under:Featured » Snippets - 11 Comments
Microsoft_Surface_Icons_by_Jrdn88

Table Views are one of the most common things within iPhone Applications. The standard UITableViewCells that are provided by Apple are nice but have always had a HUGE flaw in my mind. When you apply some text to the textLabel or detailTextLabel of a UITableViewCell the length of the text is not considered at all. If the text is longer than a single line you need to set the numberOfLines property to be enough so that your content can be showed. Moreover, you also need to compute the new total height of the cell to supply for the height delegate method.

READ MORE

Interested in iOS programming? Join us on Reddit!

November 1st, 2010 Posted by: - posted under:Articles - 5 Comments
reddit-logo

Over here at iCodeBlog we love Reddit. I enjoy /r/programming but often developers aren’t interested in the iOS stuff that we are. As a result today I created , go over there and submit articles, GitHub projects you are interested in, questions, code samples or just thoughts on development. This should be a good place to ask us questions or get other iOS developers feelings about things you are creating or finding.

READ MORE

Adding a UIPopover to UISlider

October 29th, 2010 Posted by: - posted under:Featured » Snippets - 6 Comments
slider_cupcakes

If you have an iPad you have probably used iBooks, Apple’s eBook application that gives users access to the iBooks store. In this application you can navigate through books in a number of ways. Today we are going to focus on the scroll bar at the bottom of a book that a user can utilize to skip to any given page within the book. This control involves a customized UISlider and a UIPopoverView that drags along with the slider as the value changes. Today we will be making a UISlider subclass that will duplicate this functionality.

READ MORE

Working with UIGestureRecognizers

October 14th, 2010 Posted by: - posted under:Featured » Tutorials - 48 Comments
apple-multi-touch-gesture-language

Hey iCoders! Today we are going to make a fun project that takes advantage of UIGestureRecognizers which were introduced in iOS 3.0, way back when it was called iPhone OS. UIGestureRecognizer is an abstract class that several concrete classes extend Eg. UITapGestureRecognizer, UIPinchGestureRecognizer. Today we are going to be building a simple photo board application. You will be able to add photos from your board, move, rotate and zoom them in and out around the board. We will also build in some simple physics to give a sense of the photos being thrown around the board. Here is a short video of what our final product will look like.

READ MORE

Cloning UIImagePickerController using the Assets Library Framework

October 7th, 2010 Posted by: - posted under:Featured » Tutorials - 50 Comments
PostPic

Hello iCoders. This is a follow up post to my initial post on the Assets Library Framework and Blocks. We came across an interesting problem when working on the application for . They have had an since the very early days of the app store, and one of our biggest struggles has been creating an interface to allow …

READ MORE

iOS Developers Wanted!!

September 21st, 2010 Posted by: - posted under:Articles - 2 Comments
elc-logo-5

We’re a bunch of solo programmers turned collective working on interesting projects, from internal initiatives, to some of the largest Mobile applications in the world. We are founders of iCodeblog.com, and are looking for new talent to add to our team.

READ MORE

Dealing with the Twitter Oauth-Apocalypse

September 16th, 2010 Posted by: - posted under:Tutorials - 124 Comments
twitterapocolypse

As many of you may have seen in recent weeks, Twitter changed its access policies and now that access Twitter user accounts. This is a large change from how many iPhone developers having been incorporating Twitter into their applications. What is OAuth exactly? How can iPhone developers get their apps up to date so they don’t break their Twitter incorporation? Well we have all the info you need to know about …

READ MORE

Asset Libraries and Blocks in iOS 4

July 8th, 2010 Posted by: - posted under:Tutorials - 39 Comments
Screen shot 2010-07-06 at 1.45.15 PM

iOS 4 presented a million billion new API’s by Apple’s count, but for this post I am going to show a quick demo of the new Assets Library API where you can now get to users photos and videos with more access than ever before. This new API relies on the new programming device called Blocks that has been introduced with iOS 4. Blocks are used through many of the new API’s as a kind of extended @selector. We will …

READ MORE

Diving into the Twitter Stream

May 21st, 2010 Posted by: - posted under:Tutorials - 6 Comments
Twitter-Bird

Hey iCoders. As I posted earlier I recently made an iPad app called TweetMapper. I just put out a new release of the app with a big new feature. The app now has a scrolling timeline of the tweets it is seeing as they come in. In order to make this app I took advantage of the Twitter Stream API that is provided by twitter. This API creates a persistent connection between the Twitter servers and your application. We will essentially start a stream of incoming NSData object to an NSURLConnection that you create querying the stream. We will look into the different search parameters which can be passed into the request, the way in which our code responds to authentication requests from Twitter, and the logic we must use to ensure that the data we have received is a complete XML element and not chopped off.

READ MORE

Tweet Mapper in the App Store

April 20th, 2010 Posted by: - posted under:Articles - 6 Comments
TweetMapperIcon

I recently decided to look into the Stream API that is provided by Twitter. Though this API, you can specify a request with certain parameters and be stream tweets as they are posted live. I decided to make my first iPad app using it called Tweet Mapper. Tweet Mapper is meant to be a window into the live world of Twitter. It doesn’t require a Twitter account to use and is free in the store. The app looks at 10 major cities; Los Angeles, San Francisco, Chicago, New York, Miami, Barcelona, London, Tokyo, Rome and Mexico City.

READ MORE