20.04.2013 Views

Tutorial pratici per iPhone SDK v1.6 - Get a Free Blog

Tutorial pratici per iPhone SDK v1.6 - Get a Free Blog

Tutorial pratici per iPhone SDK v1.6 - Get a Free Blog

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Andiamo poi in “Connections Inspector” e colleghiamo l’elemento “view” con la vista che abbiamo<br />

appena creato. Se abbiamo eseguito il passaggio in maniera corretta avremo questo risultato:<br />

Abbiamo così completato la definizione della vista. Eseguiamo lo stesso procedimento anche<br />

<strong>per</strong> il file “SecondaVista.xib”, collegandola <strong>per</strong>ò alla classe “SecondaVistaController”. Possiamo<br />

poi salvare tutto e chiudere Interface Builder.<br />

IMPOSTIAMO LA TABBAR<br />

Ora è giunto il momento di impostare la struttura vera e propria della nostra Tab Bar. Apriamo<br />

il file “MainWindow.xib”<br />

Dalla Libreria inseriamo due componenti UIViewController trascinandoli nella “Tab Bar” posta<br />

a fondo vista:<br />

<strong>Tutorial</strong> <strong>pratici</strong> <strong>per</strong> <strong>iPhone</strong> <strong>SDK</strong>! 83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!