User Tools

Site Tools


ios-labs-s14:basics-views

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
ios-labs-s14:basics-views [2014/02/16 20:52]
mbarboi
ios-labs-s14:basics-views [2014/02/17 10:46]
mbarboi
Line 14: Line 14:
 Drag and drop combinations of these onto view controllers to build App interfaces. Drag and drop combinations of these onto view controllers to build App interfaces.
  
 +Customize views using the pane on the right side in InterfaceBuilder. This changes **properties** on the views, which can also be done programatically. ​
 +
 +For example, labels, textviews, and textfields have a property called //text//, a string holding the text contents of the view. Change this property in code to change the text of the view. Google to discover other needed properties.
 +
 +Note that any interaction with views happens inside of controllers,​ and as such the controller needs a **reference** to the view. Provide this reference through **IBOutlets**.
ios-labs-s14/basics-views.txt ยท Last modified: 2014/02/26 13:30 by mbarboi