Videos in category Objective-C


Xcode: How to run as PowerPC on an Intel Mac

Xcode: How to run as PowerPC on an Intel Mac

Posted in OS, Development, Broadcasting, MacOS, Objective-C, Screencasts

How to add a custom executable to your Xcode project so that you can run your application in the Rosetta PowerPC emulator instead of as native Intel code. Xcode 3.1.1 shown. At one point, I shake my arrow over the Build and Go button. Don't use it for this; it doesn't work. Use ??R instead.

Tags: OS, MacOS, Objective-C, Xcode, Broadcasting, Screencasts, Development, Universalbinary, Fatbinary, Powerpc, Rosetta, ...



OCUnit: Unit testing in Cocoa

OCUnit: Unit testing in Cocoa

Posted in OS, Development, Broadcasting, MacOS, Objective-C, Screencasts

Why and how to do unit testing for Cocoa (Mac) applications using OCUnit, which comes with Xcode. I'm not an iPhone developer, so please don't ask me about testing for iPhone applications. Instead, see this blog post by my friend Colin Barrett: http://iamthewalr.us/blog/2008/11/10/ocmock-and-the-iphone/ This video is based on a presentation I gave at the December 2008 meeting of CocoaHeads in L...

Tags: Testing, OS, MacOS, Objective-C, Cocoa, Unit Testing, Xcode, Broadcasting, Screencasts, Development, Ocunit, ...


Unit Testing iPhone apps using Ruby

Unit Testing iPhone apps using Ruby

Posted in Development, Broadcasting, Ruby, Objective-C, Screencasts

You cannot run RubyCocoa on an iPhone, but you can use it for your unit testing of your Objective-C classes. This tutorial shows you how to get started. Project at http://github.com/drnic/rbiphonetest/ NOTE: the project has been renamed to 'rbiphonetest' and not 'iphoneruby' as in the video.

Tags: Ruby, Testing, Objective-C, TDD, RubyCocoa, iPhone, screencast, Broadcasting, Screencasts, Development



Pivotal Labs Talks: Using Shoes to Have Fun

Pivotal Labs Talks: Using Shoes to Have Fun

Posted in Conferences, Development, Ruby, Objective-C

Shoes is a tiny graphics toolkit that embeds ruby. It allows you to do anything. You can draw squares and circles and they can move about and say "Good Morning" when they chance upon each other. Shoes lets you add layouts to your applications with ease. It borrows ideas from Processing, Lua, and HTML to make an intuitive language to convert your ideas into programs that you can share with your ...

Tags: Conferences, Ruby, Objective-C, iPhone, Shoes, Development, Pivotal Labs Talks, GoGaRuCo



Pivotal Labs Talks: MacRuby and HotCocoa

Pivotal Labs Talks: MacRuby and HotCocoa

Posted in OS, Conferences, Development, MacOS, Ruby, Objective-C

MacRuby is an implementation of the Ruby language that runs on the Objective-C runtime under OS X. MacRuby is based on Ruby 1.9 but contains substantial modifications including the merging of object models (every Object is an NSObject), using the Objective-C 2.0 generational garbage collector, moving core types (String, Fixnum, Array, Hash) atop their Objective-C counterparts and replacement of...

Tags: Conferences, Ruby, OS, MacOS, Objective-C, MacRuby, HotCocoa, Development, Pivotal Labs Talks, GoGaRuCo


Coding in Objective-C 2.0 Episode 3: Debugging

Coding in Objective-C 2.0 Episode 3: Debugging

Posted in OS, Companies, Development, Broadcasting, MacOS, Apple, Objective-C, Screencasts

Bugs happen, even in Objective-C programs. You’ll want to find and fix them as quickly as possible. Thankfully, Xcode has a powerful debugger. In this episode, we’ll explore the various features and commands of the debugger, use it to find a bug, and wrap up with remote debugging. You’ll learn how to: Use the debugger to find and squash bugs Set breakpoints, and disable them f...

Tags: Apple, OS, MacOS, Objective-C, iPhone, The Pragmatic Programmers, GUI, Xcode, Coding in Objective-C 2.0


Coding in Objective-C 2.0 Episode 2: Memory Management

Coding in Objective-C 2.0 Episode 2: Memory Management

Posted in OS, Development, Broadcasting, MacOS, Objective-C, Screencasts

Objective-C 2.0 has a garbage collector, but it’s not available on the iPhone. So if you’re writing iPhone applications, you’ll need to manage your own memory. And it’s especially important on the iPhone, where resources are constrained, that you clean up after yourself. In this episode, we’ll find and fix various memory-management problems that are common in Objec...

Tags: OS, MacOS, Objective-C, iPhone, The Pragmatic Programmers, Xcode, Coding in Objective-C 2.0


Coding in Objective-C 2.0 Episode 1:  Classes, Objects, and Messages

Coding in Objective-C 2.0 Episode 1: Classes, Objects, and Messages

Posted in OS, Development, Broadcasting, MacOS, Objective-C, Screencasts

In this episode, we’ll write a small program in Xcode to learn the basics of object-oriented programming with Objective-C. You’ll learn how to: Write, build, and run basic Objective-C code in Xcode Use the Objective-C extensions to C for object-oriented programming Understand basic object-oriented programming concepts Use existing classes Write your own custom classes Define instanc...

Tags: OS, MacOS, Objective-C, The Pragmatic Programmers, Xcode, Coding in Objective-C 2.0


Coding in Objective-C 2.0: Free Preview

Coding in Objective-C 2.0: Free Preview

Posted in OS, Development, Broadcasting, MacOS, Objective-C, Screencasts

Objective-C is the programming language for writing native iPhone and Mac applications. It’s also the language that Apple uses to build their own applications and frameworks. So, if you know Objective-C, you have a lot of power at your fingertips. But if you’re new to C or object-oriented programming, then Objective-C can seem a little awkward at first. These screencasts by Bill Dud...

Tags: OS, MacOS, Objective-C, The Pragmatic Programmers, Coding in Objective-C 2.0