Xcode 4 Tip: Automatically make IBOutlet, property, dealloc and

Xcode 4 Tip:  Automatically make IBOutlet, property, dealloc and synthesize!
G.Morreale

Problem:

Are you bored to write always the same line of code in order to make an IBOutlet, property, synthesize, dealloc and then connect it to the gui in the interface builder?

Solution:

1) Open Xcode 4
2) Open the xib file
3) Split the view so you can see the gui and the header file by clicking in the top on the right the center icon in the editor section.
4) Go to gui element (uibutton, uitextfield etc.) 
5) Menu -> View -> Utilities -> Connection Inspector
6) Select on the Connection Inspector "New referencing outlet"
7) Drag it in your header .h file

In order to make as property drag out outside the interface before the @end!!

Thanks to this answer I find this very very good tip:

Xcode 4 Tip: Automatically make IBOutlet, property, dealloc and

Xcode 4 Tip:  Automatically make IBOutlet, property, dealloc and synthesize!
G.Morreale

Problem:

Are you bored to write always the same line of code in order to make an IBOutlet, property, synthesize, dealloc and then connect it to the gui in the interface builder?

Solution:

1) Open Xcode 4
2) Open the xib file
3) Split the view so you can see the gui and the header file by clicking in the top on the right the center icon in the editor section.
4) Go to gui element (uibutton, uitextfield etc.) 
5) Menu -> View -> Utilities -> Connection Inspector
6) Select on the Connection Inspector "New referencing outlet"
7) Drag it in your header .h file

In order to make as property drag out outside the interface before the @end!!

Thanks to this answer I find this very very good tip:

Mac Os eject cd dvd problem

Mac Os Eject cd/dvd Problem
G.Morreale

Problem:

Your cd/dvd drive can't eject the cd, by keyboard input?
The finder can't show your cd/dvd drive?

Solution:

1) Open Terminal
2) Type drutil tray eject