After working a while on the game I took up, it is not as difficult as I thought. In fact a lot of logic are pretty interesting.
Whenever you feel you don't understand something, try to understand it from main. If you can work out the whole logic of how your main function goes down to a particular functionality of your program. Then there must be something wrong with your thinking. The program I touched today is in Objective-C with Cocoa. So part of what I am doing today is just to understand what's going on with the whole framework how it works.
The bought me dividend and what the code soon becomes obvious with me. So I start to be able to change the code in a quicker manner.
Game programming is also a strange subject. Sometimes, the fun of the game really depends on not just the game logic. It also depends on the graph and music or more importantly the whole combination. The game I picked up was rather odd at the point I picked it up. Though after a while of meditation, the impression change. And it only takes a change in the background music.
This is my self-study page for the book, "Introduction to Algorithm", or commonly known as CLRS. This is also my diary page of how I struggle and grow in the programming world. I hope this blog can help amateurs or professionals, to improve their skills in programming, learning and living. As of Sep 12, 2011, I finished the "exercise read" of Chapter 2 (20110518) and 3 (20110608) and half of Chapter 4.
Shortcut for chapter specific information
Chapter4
(62)
chapter3
(41)
Chapter2
(22)
chapter6
(10)
chapter12
(9)
chapter15
(8)
chapter13
(7)
chapter7
(7)
Chapter10
(5)
chapter5
(5)
Appendix A
(4)
chapter8
(4)
Chapter19
(3)
Chapter22
(3)
Chapter34
(3)
Chapter35
(3)
chapter11
(3)
chapter16
(3)
chapter18
(3)
Appendix C
(2)
Chapter21
(2)
Chapter25
(2)
Chapter26
(2)
Chapter27
(2)
Chapter28
(2)
Chapter29
(2)
Chapter9
(2)
chapter14
(2)
chapter20
(2)
chapter23
(2)
chapter24
(2)
chapter30
(2)
chapter31
(2)
chapter32
(2)
Appendix D
(1)
Chapter1
(1)
Chapter33
(1)
chapter17
(1)
Showing posts with label Objective-C. Show all posts
Showing posts with label Objective-C. Show all posts
Sunday, October 2, 2011
I was able to compile and ObjC program with class!
Sounds simple. The devil is the detail. In fact, when I try to compile my code using simple gcc, I always have trouble to get the library for NSObject. It took me about an hour to sort of test the solution out.
In any case, I finally get the the part about creating class goes up and running. This makes sense now. I might need to write my own tutorial soon.
Let's take a break. I will go to figure out some more examples of Objective-C.
In any case, I finally get the the part about creating class goes up and running. This makes sense now. I might need to write my own tutorial soon.
Let's take a break. I will go to figure out some more examples of Objective-C.
Started to learn some Objective-C
I am trying to follow this tutorial:
http://www.otierney.net/objective-c.html
http://www.otierney.net/objective-c.html
Wednesday, September 14, 2011
Stuck in getting provisional profile in IOS development.....
While I have momentum, I will go ahead to do it right.
Tuesday, September 13, 2011
Some fun with iPhone development
As a way to stimulate my brain, I am developing my capability on writing iOS applications. This should be fun because it is stretching my comfort zone.
So far, I have successfully write a Hello World app and put it through an iPhone simulator. Though it is much more difficult to get it run it on a device. (Ask my fellow iOS developer.)
That will also mean I need to get myself fairly proficient in Objective-C. I am confident that this will not be as difficult as Java.
Subscribe to:
Posts (Atom)