302 Using Interface Builder in Xcode 4 Final DDF

302 Using Interface Builder in Xcode 4 Final DDF

Using Interface Builder in Xcode 4 Joey Hagedorn Interface Builder Engineer These are confidential sessions—please refrain from streaming, blogging, or taking pictures 1 What Is Interface Builder? 2 Agenda 1 Tour of Interface Builder in Xcode 2 Building a basic application 3 Integrating new Mac OS X Lion features X 3 1 Tour of Interface Builder in Xcode 4 5 6 7 8 9 10 11 Agenda 1 Tour of Interface Builder in Xcode 2 Building a basic application 3 Integrating new Mac OS X Lion features X 12 2 Building a basic application 13 Demo Building a basic application using Interface Builder 14 Agenda 1 Tour of Interface Builder in Xcode 2 Building a basic application 3 Integrating new Mac OS X Lion features X 15 3 Integrating new Mac OS X Lion features X 16 17 18 19 Integrating New Mac OS X Lion Features Demo 20 Using Interface Builder in Xcode 4 Kevin Cathey Interface Builder Engineer 21 Demo Creating Popovers in Interface Builder 22 Autolayout What is Autolayout? Button {{20, 64}, {70, 20}} Aqua guides are one-time visual helpers to produce the frame of a view 23 Autolayout What is Autolayout? {{20, 64}, {70, 20}} Autolayout reverses this: guides kept as constraints which is input, frame is output 24 What Is Autolayout? • Persist the aqua guides as objects called constraints • Constraints are relationships that must hold • Constraints involve one or two views • Constraints are objects you interact with in your document 25 Why Autolayout? • Dynamism: Improved responsiveness to changes in the application • Simplicity: Creation of basic interfaces even easier • Expressiveness: Can specify powerful relationships between views • Localization: Interfaces are not fragile to sweeping changes 26 Demo Using Autolayout in Interface Builder 27 Demo Recap New Mac OS X Lion features • View-based table views • Full screen • Popovers • Autolayout 28 Demo Recap Autolayout • Constraints are input, frame is output • Constraints are relationships that must hold • Constraints involve one or two views • Constraints are objects you interact with in your document 29 More Information Michael Jurewitz Developer Tools and Performance Evangelist [email protected] Documentation Mac OS X Human Interface Guidelines http://developer.apple.com/ue Apple Developer Forums http://devforums.apple.com 30 Related Sessions Presidio Introducing Interface Builder Storyboarding Wednesday 11:30AM Marina Cocoa Autolayout Tuesday 11:30AM Nob Hill View-Based NSTableView Basic to Advanced Thursday 10:15AM 31 32.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    32 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us