Posts tagged english
Posts tagged english
2 notes &
In this part I will set up the MainMenu.xib, containing the “window” of the application. That’s the one I’ve ignored up to now, by going straight to the Log Console.
Basically in the MainMenu.xib I only changed the window title to “Blackjack”.
That’s it so far.
Now I am going to add a BlackJackView Class. In the Classes directory add new file, choose as template: Mac OS X | Cocoa | Objective-C class. After clicking Next, the popup will ask you what Subclass it should be. Change this into: NSView.
2 notes &
Right in the (somewhat) middle of writing the tutorial, apple releases Xcode 4. Making me think that I might actually update Xcode so the tutorial will be in 4. Or maybe not.
Of course i will be using a nib further on. And that will be different for sure, cuz the interface builder will be in it.
Also the configuring Subversion tutorial became outdated in less than a week!
You have to love progress, when it comes kicking through the door.
Oh well.
2 notes &
*This is part of a objective-C, cocoa tutorial, that will result in a working blackjack for a os x*.
Previous chapter: blackjack tutorial part 0.
Next chapter: to be added (later).
The first thing is to map out what we’ll want. Which in this blackjack tutorial is quite easy. We want to end up with a working blackjack.
8 notes &
So if you start some “serious” programming with Xcode you might consider using Subversion (SVN) - a open source version control system. I’d recommend using it as soon as possible, because it can be helpful.
Here’s how i intent to set it up. I am fairly sure you can use Subversion for a team - just like at my work, where we still use CVS for our code. But at home, where i am not only the lead developer, but also the only developer, i am not working in a team. Instead I’ll just use svn for keeping track. Sometimes it turns out your latest change wasn’t all that smart and you just need to go back. And that’s where SVN’s version control comes in.
Why Subversion? and not for example cvs? Well, for one Subversion is free. But maybe even more important: All macs with leopard or better have Subversion already installed. It’s on your machine right now!
0 notes &
So basically I was playing around with objective-C and reading “Cocoa Programming: a quick-start guide for developers” and I stumbled upon a great link that explained how to create a deck of cards, shuffle it and draw a card from it in Objective-C. The trouble with the link is, there’s only 1 part. So i’ve decided to redo and remake the tutorial right here.
The end goal of my postings will be a working blackjack - for a mac osx. (And not iphone as the original one - but porting it should be really easy, probably). As a teaser i’ll show you a few screenshots of my (not yet) finished final product - so you’ll know what to expect.

0 notes &
I am not happy
I am not happy
I am not happy
without you
0 notes &
heard some eerie sound
i did not know what it was
so i got afraid