Beginning OS X Lion Apps Development [electronic resource] /
Warner, Robert.author.
Privat, Michael.author.
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 begins with the basics of Objective-C and Cocoa, and then moves through all the topics necessary to build and publish your first successful Mac apps!   Get started with Objective-C and Xcode Build your first complete apps that integrate well with Mac OS X Publish your apps on the Mac App Store If you're new to Mac or new to iPhone or iPad apps development, and looking to develop apps for the Macbook Pro or Mac desktop, this book is for you!
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
Includes index.
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 begins with the basics of Objective-C and Cocoa, and then moves through all the topics necessary to build and publish your first successful Mac apps!   Get started with Objective-C and Xcode Build your first complete apps that integrate well with Mac OS X Publish your apps on the Mac App Store If you're new to Mac or new to iPhone or iPad apps development, and looking to develop apps for the Macbook Pro or Mac desktop, this book is for you!
Mac OS.
Apple computer.
Software engineering.
Apple and iOS.
Software Engineering/Programming and Operating Systems.