cocoadevcentral's profile picture. Cocoa Tutorials

Cocoa Dev Central

@cocoadevcentral

Cocoa Tutorials

OMG it's the first tutorial in a very long time. Install Swift with the IBM Kitura web framework on a $5/mo server: cocoadevcentral.com/d/swift_kitura/


Moved cocoadevcentral.com to a new server. Shout if anything looks odd.


Hey everywhere. There's a DNS issue that I'm trying to fix. It will hopefully be resolved in the next few hours. Still here!


If you're not already following @nshipster, you should be.


If you haven't already, read about the literals coming in Objective-C: clang.llvm.org/docs/Objective…


In Lion, you can extend your responder chain by implementing -supplementalTargetForAction:sender: in your view. developer.apple.com/library/mac/do…:


Want to prepare for writing Mac app store software? Learn Mac OS X Cocoa with http://cocoabook.com/ (tell your friends)


-[NSView acceptsFirstMouse]: override and return "YES" to accept clicks in your view which would otherwise only activate the window.


@dtbramhall "gcc myfile.c -o myapp" should work. See the C tutorial for more: http://cocoadevcentral.com/articles/000081.php


Update to Mac OS X 10.6.2 before installing Xcode 3.2.2 to avoid hangs at startup (@joar_at_work)


NSServerNotificationCenter: use to send/receive XMPP messages, such as for iPhone push notifications.


Details for this Thursday's CocoaHeads on iPhone Design with @capttaco: http://theocacao.com/document.page/609


New beta of the Cocoa Book is up. First drafts of chapters on MVC and Custom Views: http://bit.ly/yvGvX


News on the O'Reilly Cocoa book: http://bit.ly/KbWKI Book site: http://cocoabook.com/


NSBlockOperation: use to run multiple blocks concurrently without having to create separate NSOperations for each one. (10.6)


NSPurgeableData: use to store temp data that can be recreated. Implements NSDiscardableContent protocol, works well with NSCache. (10.6)


NSCache: use to create a key/value object cache with limits to prevent paging. Thread safe and GC aware. (10.6)


Extremely entertaining sample code for CAEmitterLayer: http://developer.apple.com/mac/library/samplecode/Fire/


CAEmitterLayer: use to create particle effects. Each particle is an instance of CAEmitterCell. (10.6)


CAGradientLayer: a Core Animation layer with built-in support for drawing gradients. Colors and stops are animatable. (10.6)


Loading...

Something went wrong.


Something went wrong.