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

    An Introduction to Categories (Part 1 of 2)

    November 4th, 2010 Posted by: - posted under:Featured » Tutorials - 11 Comments
    pie

    Overview
    Have you ever wished that you could add one, or a couple, additional functions to an Objective-C core class?
    Well Apple has thought of this, and they provide a way without extended the class! The way to do this is called a category. A category is a way to enhance an existing class, by adding additional functions to it. The difference between this and extending a class is that when you extend a class, you can add additional functions, as …

      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

              Adding Local Weather Conditions To Your App (Part 2/2: Accessing Google’s XML Weather API)

              September 29th, 2010 Posted by: - posted under:Tutorials - 40 Comments
              Screen shot 2010-09-29 at 12.41.17 PM


              In this Part 2 of ‘Adding Local Weather Conditions To Your App’, I’ll show you how to quickly add current temp, conditions, and today’s high / low temperature to your app.
              If you’re lucky enough to already have the user’s zipcode or city and state, this should go very quickly for you. Otherwise, check out Part 1 (Integrating CoreLocation).
              Let’s get started.
              There are a handful of solid XML Weather APIs out there. The best one I’ve seen so …

                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

                    Join Me At The Voices That Matter iOS Dev Conference **Coupon Code**

                    September 13th, 2010 Posted by: - posted under:Articles - 4 Comments
                    150x150DontMissiPhoneVTM

                    Learn from Industry Leaders Who Literally “Wrote the Books” on iOS Development

                    Coming to you direct from Addison-Wesley Professional, which has published some of the leading books in the field, the Voices That Matter: iPhone Developers Conference is taking place October 16-17 in Philadelphia!

                    Take a look around at all the tech books you have on your physical and digital bookshelves. If you’ve been developing for the Mac, the iPhone and the iPad – chances are good that you rely on books by Steve Kochan, Erica Sadun, Aaron Hillegass and Jeff LaMarche. Even more, you probably follow the Tweets and blogs of folks like Graham Lee, Mike Lee, Matt Long and Chris Adamson. Wouldn’t it be great to meet and learn from these thought-leaders in person? Now you can at the Voices That Matter: iPhone Developers Conference!

                      READ MORE