Beginning OS X Lion apps development
With the Mac App Store launch in early 2011, a new age in Mac development began. Look for many of the cool apps for iPhone and iPad coming to an iMac or MacBook Pro near you! Beginning OS X Lion Apps Development explains how to develop OS X Lion-based apps and publish them in the Mac App Store. It b...
Autor principal: | |
---|---|
Otros Autores: | |
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
[Berkeley, Calif.] :
Apress
2011.
|
Edición: | 1st ed. 2011. |
Colección: | Books for professionals by professionals
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628920706719 |
Tabla de Contenidos:
- Title page; Copyright page; Contents at a Glance; Table of contents; About the Authors; Acknowledgments; Introduction; The Premise; The Audience; How This Book Is Organized; Source Code and Errata; How to Contact Us; Chapter 1 Starting to Build a Graphing Calculator; Using the Xcode Development Tools; Obtaining Xcode; Installing Xcode; Installing from the Web Download; Installing from the App Store; Understanding Xcode; The Editor Area and the Jump Bar; The Navigator Area and the Navigator Selector Bar; The Filter Bar; The Debug Area and the Debug Bar
- The Inspector Pane, the Inspector Selector Bar, and the Library PaneThe View Selector; The Editor Selector; The Toolbar; Creating a Project; Understanding the Major Components; The Project and Targets; The Application Architecture; The Source Code and Resources; The About Dialog; Summary; Chapter 2 Laying Out the User Interface; Creating the Split View; Creating the Horizontal NSSplitView; Creating the Vertical NSSplitView; Creating the Equation Entry Panel; Using NSViewController; Laying Out the Custom Equation Entry Component; A Primer on Automatic Reference Counting; Using IBOutlet
- Hooking Up the New Component to the ApplicationResizing the Views Automatically; Further Customizing the Components; Creating the Graph Panel; Adding the Horizontal Slider; Adding the Table View; Adding the Graph Panel to the Application; Creating the Table of Recently Used Equations; Creating the Data Source; Displaying the Data; Adding a Toolbar; Summary; Chapter 3 Handling User Input; Resizing the Views; Resizing the Window; Constraining the Split View Sizes; Constraining the Minimum Size; Constraining the Maximum Size; Constraining the Window Size; Collapsing a Subview
- Handling Button PressesThe Model-View-Controller Pattern; Using IBAction; Creating the Model: Equation; Communication Among Controllers; Validating Fields; Validating After Submitting; Writing a Validator; Unit Testing; Displaying an Alert Window; A Better Way: Real-Time Validation; Adding a Feedback Label; Catching Text Change Notifications; Wiring It All Together in Interface Builder; Graphing the Data; Calculating and Caching the Data; Talking to the Table: Outlets and Delegates; Changing the Interval in the Domain; Using Key-Value Coding; Binding the Value to the Slider; Summary
- Chapter 4 Pimp My UICreating a Graph View; Creating a Custom View; Linking the New Custom View to the Controller; Plotting the Graph; Finding the Boundaries; Painting the Background; Plotting the Graph; Toggling Between Text and Graph; Adding the Tab View; Adding the Views to the Tabs; Switching the Controller to the Tab View; Creating a Smarter Equation Editor; Adding Attributes to the Equation Entry Field; Creating the Tokens; Parsing the Equation; Implementing the Method to Tokenize the Equation; Converting a String to a Token; Recognizing Numbers; Grouping Spaces
- Recognizing Trigonometric Functions and Symbols