Nov 10
Cocoa Tip: Setting Your Icon
Posted by Kevin in Hot Cocoa on Nov 10th, 2008| icon32 Comments »

UPDATE (Nov 11 – 12.53): The HD version’s good now.

UPDATE (Nov 11 – 07.52): Looks like the HD version of the tip didn’t finish uploading completely. I’m reuploading it now, should be up within a few minutes. In the meantime, the flash version on the blog and the SD version seem to be ok.

In this tip: How to create and set the icon for your application.

Hot Cocoa Tip 1 – Portable / iPod: Download
Hot Cocoa Tip 1 – HD: Download

Have something you’d like to see a tip on? Post them here, or e-mail them to: kevin [AT] lastedit.com Thanks!
Follow me on twitter: http://twitter.com/darkfox8963

Nov 7
Hot Cocoa 4: Core Data – Part I
Posted by Kevin in Hot Cocoa on Nov 7th, 2008| icon34 Comments »

In this weeks episode: We take our first look at writing a CoreData app and see how easy it is to write a fully-working database application without writing a single line of code. Download project files.

Hot Cocoa Episode 4 – Portable / iPod: Download
Hot Cocoa Episode 4 – HD: Download

Questions or comments? Post them here, or e-mail them to: kevin [AT] lastedit.com Thanks!
Follow me on twitter: http://twitter.com/darkfox8963

Nov 1
Hot Cocoa 3: The Coin Flipper
Posted by Kevin in Hot Cocoa on Nov 1st, 2008| icon314 Comments »

In this weeks episode: We write our first program, a coin flipping simulator, and learn how to break off CPU-intensive tasks into separate threads. Download project files.

Hot Cocoa Episode 3 – Portable / iPod: Download
Hot Cocoa Episode 3 – HD: Download

Questions or comments? Post them here, or e-mail them to: kevin [AT] lastedit.com Thanks!
Follow me on twitter: http://twitter.com/darkfox8963

Oct 24
Cocoa Tip: Turning Off Wordwrap
Posted by Kevin in Hot Cocoa on Oct 24th, 2008| icon3No Comments »

Ever wanted to have a textview that didn’t automatically have text wrap to the next line? You’d think it just be a checkbox option in Interface Builder, but it isn’t. (Hint hint, Apple) Luckily though all you need to do to turn it off is cut and paste some code.

[[myTextView enclosingScrollView] setHasHorizontalScroller:TRUE];
[myTextView setHorizontallyResizable:TRUE];
NSSize layoutSize = [myTextView maxSize];
layoutSize.width = layoutSize.height;
[myTextView setMaxSize:layoutSize];
[[myTextView textContainer] setWidthTracksTextView:FALSE];
[[myTextView textContainer] setContainerSize:layoutSize];

Just cut and paste that code into your awakeFromNib method and replace myTextView with the outlet for your textview and voila, no more wordwrap!

Oct 23
Hot Cocoa 2: What is Cocoa?
Posted by Kevin in Hot Cocoa on Oct 23rd, 2008| icon31 Comment »

In this weeks episode: We take a look at the history of Apple, and give you an introduction to Cocoa and Objective-C.

Hot Cocoa Episode 2 – Portable / iPod: Download
Hot Cocoa Episode 2 – HD: Download

Questions or comments? Post them here, or e-mail them to: kevin [AT] lastedit.com Thanks!

Oct 18
Hot Cocoa 1: Introduction to Xcode
Posted by Kevin in Hot Cocoa on Oct 18th, 2008| icon34 Comments »

Welcome to the first episode of the weekly programming tutorial podcast Hot Cocoa.

In this week’s episode: We give you the tour around Xcode and Interface builder, play with some buttons, and let you in on the secret that Apple doesn’t want you to know about its documentation.

 

Hot Cocoa Episode 1 – Portable / iPod: Download
Hot Cocoa Episode 1 – HD: Download

Questions or comments? Post them here, or e-mail them to: kevin [AT] lastedit.com Thanks!

Next Entries »