Posts tagged objective c
IPhone online course, lesson 2
0this episode has 8 min intro
then minute 10 to 17-43 is basic oop and cocoa
where they talk about the cocoa framework , in summary Objective C is loos type language with dynamic type id.
afterwared they talked about 2.0 Syntax addition (dot notation synthesis etc’) and naming conventions
43-47 dynamic typing
47-49 nil (null object)
49-50 bool (yes/no instead of true)
50-52 selector - this one is interesting – it’s a way to hold the name or promise of a function as an object , you can check if it exists on an instance invoke in etc’ .
52-53 introspection – objective c name for reflection
53-57 working with oject
57-end overview of the cocoa framework data types.
IPhone online course, lesson 1
0
Most of my professional carrier is on UI development and regardless to my previous post I started learning IPhone development.
The main reason is that IPhone UI rocks it’s the best, and to be the best you have to learn from the best.
So I don’t think you’ll see me any time soon @ the ITunes store , but I’m sure i’ll get a refreshing view on UI Development.
The course i chose is Stansford’ CS193P which is publicly available online.
lesson 1 video summary :
first 42 minutes are course intro and are useless for online viewers
00:41:50 talking about mac/iphone architecture
00:48:30 cocoa actors: objects, controllers, outlets ,target/action
00:51:00 xcode and interface builder
00:53:00 create a simple application (slider changes label value)
01:03:30 lesson summary
in basics the lesson reviews very quickly the IPhone architecture and gives the first
Assignment 1 requires no coding it is intended to get you situated with the tools
Assignment 2 aim is to get started with Objective-C by writing a small command line tool .
the syntax is different from what i know (mainly C# and JavaScript) and it took me some time to get use to objective c and Xcode.
some hints on objective c :
sometime functions are called with [] surrounding the function and the object e.g.
[string lenght] is the objective c way of saying string.Lenth in c#
Sometimes I used () I’m still not sure why.
some hints on xcode :
auto complete (intellisense) is done with F5.
