Tuesday, March 22, 2011

Objective-C Tuesdays: searching in strings

http://blog.ablepear.com/2010/09/objective-c-tuesdays-searching-in.html

Able Pear Software
Tuesday, September 28, 2010
Objective-C Tuesdays: searching in strings

Finding Substrings in Objective-C

http://www.icodeblog.com/2008/11/03/finding-substrings-in-objective-c/


Finding Substrings in Objective-C
It’s times like this, that I miss ruby.

I’m checking a url to see if it has a substring. It would be so easy if this was ruby:

absolute_url.match(/my regex/).any?

In Objective C, you have to use rangeOfString which return a....... ............ ............... ........

NSZombie

NSZombie

http://www.cocoadev.com/index.pl?NSZombieEnabled

Creating programmatically a spinner (UIActivityIndicator)

http://chris-software.com/index.php/tag/uiactivityindicator/


Chris-Software.com
iPhone, iPod touch games, Objective-C Tutorials, krzysztofrutkowski.com

Monday, March 21, 2011

Automatically add Three20 to your project

http://three20.info/article/2010-10-06-Adding-Three20-To-Your-Project

Three20
An open-source library for iOS applications
Latest news: Xcode 4 support for Three20 in 1.0.5.
Add Three20 To Your Project

Merging Wav Files in Objective C.

http://eigenclass.blogspot.com/2010/12/merging-wav-files-in-objective-c.html

Merging Wav Files in Objective C.
On a recent Mac Development project I had to merge to audio inputs into a single file which was an interesting exercise in understanding the rfc wav spec. While concatenation of wav files is simpler since you just have to remove the header from one file and update the header in the other file to reflect the new file size, merging two sounds so that they play simultaneously is a little bit trickier. I've decided to post my objC implementation here in case someone else ever runs into a similar need. Suggestions and comments as usual are always welcome. Especially in regards to clamping the new values uint values to a max which I've ignored in this implementation since it didn't seem to affect the output merged sound I was creating negatively.

Sunday, March 20, 2011

Good Learning source code for iphone , ipad , gzip

http://adf.ly/91637/banner/http://www.sunsetlakesoftware.com/molecules


Molecules is an application for the iPhone, iPod touch, and now iPad that allows you to view three-dimensional renderings of molecules and manipulate them using your fingers. You can rotate the molecules by moving your finger across the display, zoom in or out by using two-finger pinch gestures, or pan the molecule by moving two fingers across the screen at once. The combination of the iPhone, iPod touch, and iPad's unique multitouch input system and the built-in OpenGL ES 3D graphics capabilities enable you to feel like you are manipulating the molecules themselves with your fingers.

GZip Create / Extract .gz File

http://www.example-code.com/objc/gzip_create_gz.asp