Archive for September, 2009
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.
Is Google the next Apple killer ?
0
Apple is known for its innovation. At the late 70′s and 80′s it ruled the world of microcomputers with the Apple pc. but somewhere things went wrong.
It began with Microsoft striking a deal with IBM. Then with a bit of luck, greed, reverse engineering, and legal sorcery, Compaq made the first IBM PC clone. Then the road was open to ever cheaper clones, and Microsoft’s hardware support strategy opened the gate to versatile configurations. It was what we call today (and maybe even then, but I was too young to know) a disruptive technology. Microsoft changed the way the computer business worked. Up until that time, software was sold as part of the hardware itself and not separately. Microsoft technology broke through. Respect.
As a side note, until now Apple holds ground regarding selling hardware and software combined , which might be a limitation in the PC business but surely comes to its advantage on the mobile world.
Back to our story, for years Apple wandered in darkness , until the big break through in the form of the IPod and its successor the IPhone. It may be that it all went the wrong way since Steve Jobs left Apple, and things got back on track upon his return. Major parts of Apple’s new business are based on NeXT technology (Jobs’s company that was eventually acquired by Apple), and his involvement in product development is infamous.
If it is so then Apple is truly a one man show.
This time the battle is about services (or SaaS) .The IPhone and IPod are clients to the ITunes SaaS. But with Apple’s restrictions on application runtimes (in effort to control the store) and banning of innovative applications it is heading the wrong path again.
Like it was in the 70′s Apple defined the market but will Google with its mobile computing and mobile communication take over it ?
Don’t get me wrong I LOVE my IPhone, but I’m starting to feel that it would be my Ivory tower. Like a 90′s Mac.
