i am new developer of iphone i want to knw what is the difference b/w these 2 statement statement1:
[self.window addSubview:lscreen.view];
statement2:
[window addSubview:lscreen.view];
self key word is used when we useing the property getter/setter instead of accessing the value directly. when it is generated by the synthesize key word you have to use self because the object is retained there instead of simply pointer-assigned.