Dev Center

dev_xcodesmall dev_simulatorsmall dev_interfacesmall dev_instrumentssmall

Welcome to the Developer Center

This is a place, where I would like to share with you my knowledge and how to start developing iPhone / iPod Touch Applications. You will find here many useful examples, sample codes, tricks, tutorials and more. Enjoy!

Questions?

If you want to ask me about anything, don’t hesitate send me an email to krzysiekr@mac.com . I will post new tutorials for frequent questions.

Do you like it?


List of contents:

  1. Useful information
    1. Learn how to use Xcode
      a tool where you put all your code
    2. Learn how to use Interface Builder
      a tool helping you to design a user interface
    3. Learn how to use iPhone Simulator
      a tool to quick debug your applications
    4. Learn how to use Instruments
      a tool to check the “quality”, test performance of your applications
    5. How to install apps on devices without the certificate
      tutorial with useful information how to debug or distribute your application without paying $99 for the certificates
  2. Creating a simple applications
    1. Hello World
    2. Simple Calculator
  3. Creating programmatically…
    1. a switch [ UISwitch ]
    2. a spinner [ UIActivityIndicator ]
      also UIActivityIndicator in status bar
    3. a label [ UILabel ]
  4. Useful code
    1. Touches
      handling touch events, touch begins, moves, ends, coordinates
    2. Alerts
      displaying UIAlertView, multiple buttons
    3. Saving data
      how to save data and restore it after the application terminates
    4. Loading pictures
      using UIImagePickerController to load photo from albums and camera
    5. Creating a nice glass buttons
      learn how to create the stunning buttons with UISegmentedControl
    6. Timers
      using NSTimer to repeat, animate or load an action after given delay
    7. Making screenshots
      save the screen content or a part of it into the camera roll
    8. View transitions
      Use transitions to switch the views. Fade transition included.
    9. Logs
      Learn how to keep track of you application progress.
    10. Memory Management
      No Garbage Collection in iPhone SDK. Learn how to deal with the memory usage and leaks.
    11. Passing data between classes
      Learn how to pass object’s and variables from one controller to the other.
    12. Tables
      everything about tables (UITableView)
    13. Autorotating the interface
      how to create an application running in both portrait and landscape mode and more
    14. Accelerometer
      determine the device orientation and handle events using UIAccelerometerDelegate
    15. Creating a view programmatically
      learn, how to create user interfaces without Interface Builder
    16. Animations and transformations
      scale, move, rotate and object, smooth animations, perform task after animation is finished
    17. Random numbers
      generate any random number within the given range
    18. Colors
      color / colour, textures, alpha, RGB colors
    19. Status bar
      change the color, orientation or hide the status bar
    20. Vibration
      how to trigger vibration on iPhone
    21. Short sounds
      how to convert your music and play it on your iPhone
    22. Playing background music
      how to play a music, loop it, fade the volume
    23. Planning a bigger application
      learn how to start programming a bigger applications and easily navigate between any two views

62 comments

  1. Hi there,I love your blog.. very nice colors & theme. Did you make this website yourself or did you hire someone to do it for you? Plz reply as I’m looking to design my own blog and would like to know where u got this from. appreciate it

  2. BLOG says:

    Appreciating the persistence you put into your blog and in depth information you offer. It’s good to come across a blog every once in a while that isn’t the same outdated rehashed material.Once again nice blog Wonderful to read!

  3. I love your blog.. very nice colors & theme. Did you make this website yourself or did you hire someone to do it for you? Plz reply as I’m looking to design my own blog and would like to know where u got this from. appreciate it

  4. SOFA says:

    Hmm it looks like your site ate my first comment (it was super long) so I guess I’ll just sum it up what I wrote and say, I’m thoroughly enjoying your blog. I as well am an aspiring blog blogger but I’m still new to everything. Do you have any suggestions for beginner blog writers? I’d genuinely appreciate it.

  5. Fantastic blog! Great!

  6. Hi there!Waht a nice post! This is my first visit to your site/blog! We are a collection of volunteers and starting a new project in a community in the same niche. Your blog provided us valuable information to work on. You have done a wonderful job! Awesome!

  7. Wider Fluent says:

    I do enjoy the way you have framed this specific issue plus it does indeed supply me some fodder for thought. Nonetheless, because of everything that I have experienced, I simply wish when the commentary pack on that people continue to be on point and don’t get started on a tirade involving some other news of the day. Yet, thank you for this excellent piece and though I can not really agree with the idea in totality, I value the viewpoint.Thanks!

  8. Thanks for a marvelous posting! I certainly enjoyed reading it, you are a great author.I will be sure to bookmark your blog and will often come back from now on to read your good posts. I want to encourage that you continue creating your great blogs , have a nice Day!

  9. Keep up the fantastic works guys I’ve incorporated you guys to my own blogroll.

  10. I do enjoy the way you have framed this specific issue plus it does indeed supply me some fodder for thought. Nonetheless, because of everything that I have experienced, I simply wish when the commentary pack on that people continue to be on point and don’t get started on a tirade involving some other news of the day. Yet, thank you for this excellent piece and though I can not really agree with the idea in totality, I value the viewpoint.

  11. Have you ever considered writing an e-book or guest authoring on other websites? I have a blog centered on the same subjects you discuss and would really like to have you share some stories/information. I know my readers would enjoy your work. If you are even remotely interested, feel free to shoot me an e-mail.

  12. fx pips says:

    Very good post.Thanks for sharing this great article! I feel strongly about it and love learning more on this topic.Excellent post and wonderful blog, I really like this type of interesting articles keep it up.

  13. this has all while using usefull data necessary.

  14. This was highly fascinating to scan and scan your page, I did not know anything at all about that before. Many thanks!

  15. rebelguy says:

    Became a fan of you …..so nicely explained each and every aspect of how to use sdk , thanks a ton for sharing this info dude.

  16. Hey nice post i have ever seen.Keep blogging and sharing new ideas

  17. xixihaha567 says:

    I believe you’ll find a downside to your weblog post utilizing Chrome internet browser.

  18. Pretty section of content. I just stumbled upon your website and in accession capital to assert that I get in fact enjoyed account your blog posts. Any way I’ll be subscribing to your feeds and even I achievement you access consistently fast.

  19. hey there and thank you for your info – I’ve certainly picked up anything new from right here. I did however expertise a few technical issues using this website, as I experienced to reload the site lots of times previous to I could get it to load properly. I had been wondering if your hosting is OK? Not that I am complaining, but slow loading instances times will often affect your placement in google and could damage your quality score if ads and marketing with Adwords. Well I’m adding this RSS to my email and can look out for a lot more of your respective intriguing content. Ensure that you update this again very soon..

  20. Please, are you able to PM me and inform me few more ponders this, I’m really fan of one’s blog.

  21. I seriously loved this post. You describe this topic adequately. When hiring home contractors it truly is answer to go with a trusted name in construction. Experienced and efficient staff should strive for excellence and absorb every detail of your property.

  22. I am so glad I identified this weblog. Thank you for the info. You make a good deal of beneficial points in your write-up. Rated five stars!

  23. Get Life Insurance quote, auto insurance quote

  24. Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you could do with some pics to drive the message home a little bit, but other than that, this is great blog. A great read. I’ll definitely be back.

  25. Wonderful beat ! I wish to apprentice while you amend your web site, how can i subscribe for a blog website? The account helped me a acceptable deal. I had been tiny bit acquainted of this your broadcast offered bright clear concept

  26. The method that you write, you’re a real specialist doodlekit.

  27. draft says:

    At times i wonder about why society has become like this. It’s just demoralizing :( . I’m going to go drink a beer and unwind now! i’m sorry if i got everyone down.

  28. I together with my friends were contemplating the excellent material on your website and so now, suddenly I had a terrible feeling I never expressed respect for the blog owner for them. All of the men have been consequently glad to read them and still have in effect actually been increasing these things. I appreciate you getting simply considerate and then for getting varieties of high-quality areas a lot of individuals are really the need to know about. My sincere regret for not showing appreciation to sooner.

  29. Attractive section of content. I just stumbled upon your blog and in accession capital to assert that I acquire actually enjoyed account your blog posts. Any way I will be subscribing to your augment and even I achievement you access consistently quickly.

  30. I more often than not do not submit in Blogs but your blogging site forced me to, magnificent job.. beautiful. Hello, sry for my bad english but Ih ave observed your website web page and would say that I locate your posts superior since they have give me new suggestions and new aspects. A large amount of thanks for this details. : ) Increased An increase in.

  31. I have no idea how the lighting that bands use which follows the bass or bass drum works. It is usually just flood lights but I want to know how they work and how to create these or (if inexpensive enough) buy some. But if there is a less-expensive way to create these lights that would be awesome..

  32. ankush says:

    very helpful examples…
    thanks

  33. estetik says:

    I see the 2worry;I am very y sad to hear that you got your Supra fixed. I remember reading about some of your questions2x !.
    tr

  34. Hello Guru, what entice you to publish an story. This write-up was extremely fascinating, particularly given that I was looking for thoughts on this subject final Thursday.

  35. have been reading ur site for several days. really love what you posted. by the way i’m doing a study relating to this topic. do you happen to know any other good sites or maybe online forums where I can get more info? thanks in advance.

  36. 熱水器 says:

    I see the 2worry;I am very y sad to hear that you got your Supra fixed. I remember reading about some of your questions2x !.

  37. Fantastic i like these funny games. Thanks for sharing them. By the way, i know an another online games site. http://www.newexcellentgames.com Maybe you can go there to look for some other wonderful games. Hope you will enjioy it. Best wishes.

  38. Go 910 says:

    Hey there, This method is actually impressive

  39. Time to clean up this site. Too many crazy and off-topic comments.

  40. kumar says:

    Hi i want to develop a simple apps for comic books. first page will have categories and respective pages will have comics. each page will have text and images.

    As with all books, i would want page flipping without any navigation buttons. I am new to Iphone programming. How can i develop this simple apps quickly? Thanks for your help.

  41. Galen Sowels says:

    Just imagine I read it twice. While I am not as accomplished on this subject, I match with your closings because they make sense. Gives Thanks and goodluck to you.

  42. Piotrek says:

    Siema rodaku :D . Mam pytanko :) . czy pojawi si

    • Chris says:

      Hi Piotrek!

      For sure one day I will find some free time to finish them, but it’s really difficult for a guy with so many things on his head – talking about me right know.

      As you mentioned, everything about tables tutorial is finished, but since 3.0 some things changed, like not cell.text, but cell.textLabel.text and so on.

      Regards
      Chris

  43. blacksheep says:

    blacksheep Says:

    hi, i wrote an app in the same complicated way.
    could you please give an example how to alloc several sounds once?

    bell_left_Sound = [[SoundEffect alloc] initWithContentsOfFile:[mainBundle pathForResource:@"bell_left" ofType:@"caf"]];
    bell_right_Sound = [[SoundEffect alloc] initWithContentsOfFile:[mainBundle pathForResource:@"bell_right" ofType:@"caf"]];

    - (IBAction)bell_left: (id)sender {
    SoundEffect *currentSoundEffect= bell_left_Sound;
    [currentSoundEffect play];
    }
    - (IBAction)bell_right: (id)sender {
    SoundEffect *currentSoundEffect= bell_right_Sound;
    [currentSoundEffect play];
    }

    thanx 4 help

  44. Thomas Tran says:

    My hat to you. What a great site with some of the best tutorials and tips.

  45. James says:

    Really great site, which content helps me a lot.
    Have you already thought of posting code examples which would cover graphic (or animation) and/or networking issues?

    James

    • Chris says:

      Hi James!
      When I make my tutorials I don’t rewrite the documentation, but I try to share with you my opinions, best examples of using some classes or tricks. That means, I need to use on my own “the part of SDK” in the project, before I start talking about it. I develop, so I gain knowledge and experience that is required to talk about something and not to be called a noob, lame (no offence, I’m talking about me).

      I’ve never need any graphics to be drawn using quartz 2d or using 3d in openSth. If you need, visit the sites linked in “For developers” category on the right.

      • James says:

        Ok, I see!
        Nethertheless I’m still looking forward to new code examples from you covering other issues.

        In the meantime your “For developers” links helped me a lot.
        Thanks!

  46. Maik says:

    That was exactly what im looking for. Really great site with a good tutorial.

    Continue pls with it!

    Greetings
    Maik

    • Chris says:

      Sure, I will, soon I will publish sth bigger about UITextField. if you have ideas, send them to me. Regards, Chris.

  47. IgorD says:

    Chris,

    you’ve built yourself a great site. I’ve spend several hours here today and I’ll most likely come back.

    Igor

Leave a Reply