CocoaTouch

Latest

  • CSStringTokenizer, a Cocoa Touch front end for tokenizing strings

    by 
    Joachim Bean
    Joachim Bean
    10.27.2009

    Have you ever wanted to work with rather deep elements of Core Foundation in the iPhone SDK with some sort of front end? August Joki has just come up with a project that provides a Cocoa Touch wrapper for the CFStringTokenizer type in the Core Foundation framework. As you can see in the screen shot at right, the demo provides various aspects about the current string including the string in a letter, word, or using a WordBoundary. It works just like CFStringTokenizer can, but can be accessed using this front-end. If you're wondering what CFStringTokenizer actually is, it's useful for breaking a string into a token, which can specified by words, sentences, or paragraphs. You're also able to further modify the tokenization once you break it down. This is something that's going to be useful for iPhone developers who like to work with a Cocoa Touch interface to bring lower-level elements of the iPhone OS into their apps, and also to developers who work with natural language strings. To download this project, go over to the cocoa-stringtokenizer project page on GitHub.

  • iPhone Dev 101: Useful Cocoa Development Resources

    by 
    Cory Bohon
    Cory Bohon
    03.25.2009

    It has been a while since the last iPhone Dev 101 post (and I must apologize for that -- sometime life can get in the way of different things, and this was one of those times). In this Dev 101 post, I want to take you through a few of my favorite resources for Cocoa/iPhone development. Some of these resources are books, while others are sites, but all of the resources are valuable to up and coming developers (and experiences developers) alike. BooksSome books are just invaluable and couldn't be replaced with another. Aaron Hillegass' Cocoa Programming for Mac is just that book. Currently in its 3rd edition, the book gives you much of the Cocoa programming information that you need to program for both the Mac and iPhone. There are only a few subtle differences in programming for these platforms, namely the use of the Cocoa Touch. If you ever have the chance, going to one of the Big Nerd Ranch Cocoa programming classes gives you the ability to learn Cocoa hands-on. Another title that is useful to beginning iPhone developers is the Beginning iPhone Development book. This book has a useful approach to stepping into the world that is programming on iPhone. It talks about numerous topics including UI design, Quartz, and OpenGL. Also covered in the book are APIs like CoreLocation and interfacing with the camera. If you already know Cocoa and a little about iPhone development, Erica Sadun's iPhone Developer Cookbook is a great jumping off point to start development. She assumes, however, that you already understand Cocoa. Continue reading to learn about more valuable books, websites, and resources for iPhone/Mac developers.