Sujeev's Tech Blog

Wednesday, October 27, 2010

MFMail for the iOS

a great example

http://www.screencast.com/users/AppShop/folders/Jing/media/e50794e7-6da4-4dfa-b75f-6df3b19681bf

NSObject based property release order

I guess this is valid not just for NSObject.

when releasing objects that are used within a class always use [super dealloc] as the last command.


ex:

[mylist release];
[plist release];
[super dealloc];

Monday, October 25, 2010

Typecasting in iOS

example:

@interface mytype : XYZtype {
}
.
.
.
mytype *abc = [some_function];

in the above syntax if some_function returns a type of XYZtype then the following is correct.

mytype *abc = (mytype *)[some_function];

Tuesday, October 19, 2010

Apple iPhone development

Well I got lucky and I was asked to learn Objective C and iPhone development. I'll use this space to hold all the knickknacks I learn.