André's Blog

PHP, Zend Framework, Mac/Cocoa Programming

Archive for August 2009

NumberStepper Tutorial for Dummies(Xcode 3.1.3)

with 4 comments

Introduction

This tutorial will show you how you can combine a NSTextField and a NSStepper to create a control that can both be typed into and stepped up/down.

NumberStepper Tut Step 4

Read the rest of this entry »

Written by andrehoffmann

August 29, 2009 at 10:19 pm

NSCollectionView Tutorial for Dummies (Xcode 3.1.3)

with 31 comments

Note: I wrote this tutorial since I believe that there are way too few resources on the net covering this topic and I would have been wasting way less time if I had found something like this. Please keep in mind that I’m a ObjC-beginner myself.

Introduction

This tutorial is written in a way that it doesn’t require much knowledge of cocoa/objective-c, but since I’m not explaining most of the code, programming experiences will be helpful to understand what you are doing.

The following things will be covered by this tutorial:

  • designing a user interface with buttons and a NSCollectionView
  • designing a Subview which should be displayed in the CollectionView
  • feeding the CollectionView using an ArrayController
  • making the items in the CollectionView selectable

This is what the final application at the end of the tutorial will look like:

NSCollectionView Tut Step 13

Read the rest of this entry »

Written by andrehoffmann

August 29, 2009 at 7:29 pm

Follow

Get every new post delivered to your Inbox.