Posts
Cocoa Dev Central's "Learn Objective C"
A nice article on iPhone application internationalization
Getting filepath to the Documents folder on iPhone To achieve the task written in the…
Getting filepath to the Documents folder on iPhone To achieve the task written in the title of this post, you have to do the following: NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsPath = [paths …LOLCODE LOL, today I found this article on wikipedia about this AWSUM programming…
LOLCODE LOL, today I found this article on wikipedia about this AWSUM programming language called COLCODE. Here’s an example code: HAICAN HAS STDIO?PLZ OPEN FILE "LOLCATS.TXT"? AWSUM THX VISIBLE FILE O NOES INVISIBLE "ERROR!"KTHXBYE Here you can also check out the official …A fantastic collection of Xcode tips & tricks
stackoverflow.com/questions/146297/what-are-those-little-xco … ↗
Button resize causing text blur?
Button resize causing text blur? Today I noticed a very, very strange behaviour (bug?) in Xcode. I am creating buttons for my iPhone application with a custom image background and a text on top of it. …Custom title bar right from the app launch Sometimes the devtools don’t follow exactly…
Custom title bar right from the app launch Sometimes the devtools don’t follow exactly the same logic that we, developers do. For example, when I wanted to change the color of the title bar (we are talking about iPhone development, by the way :-]), setting the corresponding …View overlapped by the title bar During the development of my latest iPhone project I…
View overlapped by the title bar During the development of my latest iPhone project I faced a strange phenomenon: if I enable the title bar on a screen, the current view is placed to the coordinates …Quick Look source code preview & syntax highlighting on Mac Without much rambling, a…
Quick Look source code preview & syntax highlighting on Mac Without much rambling, a solution for the problem presented in the title: http://code.google.com/p/qlcolorcode/ To change the color style (theme), use the following command: defaults write org.n8gray.QLColorCode hlTheme …C/C++ trick with logical operators Let me show a nice C/C++ trick I just found out:…
C/C++ trick with logical operators Let me show a nice C/C++ trick I just found out: Instead of writing: if (function1()) function2(); you could write: function1() && function2(); because the right side of the && operator is only evaluated (in this case: called), …XML-formatters Sometimes an XML-formatter can come handy.
XML-formatters Sometimes an XML-formatter can come handy. Let me recommend an online and an offline solution for you: Online: The XML Prettymaker Offline: xmlformatTBXML
"The" XML Tutorial
A very simple way to load a webpage with Cocoa NSError *error = [[NSError alloc]…
A very simple way to load a webpage with Cocoa NSError *error = [[NSError alloc] init];NSURL *url = [NSURL URLWithString:@"http://www.google.com/"];NSString *content = [NSString stringWithContentsOfURL:url encoding:NSUTF8StringEncoding error:&error];Clean & rebuild Oh, boy.
Clean & rebuild Oh, boy. I’d been struggling with this for a while. I loaded a view from a nib, and my app kept crashing with an exception saying: loaded the “foo” nib but the view outlet was not set. I was like WTH, I definitely connected the view outlet to the …NSTimer invalidate When you create an NSTimer, and specify it to be a non-repeat…
NSTimer invalidate When you create an NSTimer, and specify it to be a non-repeat timer, you don’t have to invalidate it after it fired. When you created a repeating timer, you send the invalidate message to it to remove it from the NSRunLoop object it was added to, and thus …Open Asset Import Library is a portable Open Source library to import various well-known 3D model formats in an uniform manner
—
Aris Bezas Wed, 14 April 2010, 06:03PM
(via earlab-tech)
Appirater
arashpayan.com/blog/index.php/2009/09/07/presenting-appirate … ↗
De MonsterDebugger
AS3 Bitmap event handling bizarrerie
Xcode Color Themes Finally I have OS X back and running, set Xcode up to be able to…
Xcode Color Themes Finally I have OS X back and running, set Xcode up to be able to start develop for the iPhone. It might sound stupid, but for me the color theme of the text editor makes a lot of difference. I mean, since the colors have an effect on my mood, personally I find …Hellfire - My entry for the 25 line AS compo
The 25-Line ActionScript Contest
Flash 10 as a cool (3D) gaming platform? Sure!
flashmagazine.com/News/detail/get_your_game_on_with_flash_pl … ↗