You should remove it manually....
your third statement would work correctly... as Xcode identifies nib controls from its property declaration and not from inside class declaration.
(in side class)
IBOutlet UIView *view1;
Interface builder probably won't recognize it as IBoutlet as it is declared only inside the class. (class variable are protected)
IBOutlet UIView *view1; @property(retain) UIView *view1;
Interface builder probably won't recognize it as IBoutlet as it is declared only inside the class. (class variable are protected)
3. UIView *view1 ; @property(retain) IBOutlet UIView *view1;
correct way Interface builder will recognize it. and it will show it when you connect referencing outlet from your Interface builder