If you're interested in developing applications for Apple's Mac OS X platform, but prefer to use a sleek, developer-friendly language, MacRuby is ideal. This in-depth guide shows you how this Apple implementation of the Ruby language provides access to all of the features available to Objective-C programmers. You'll get clear, detailed explanations of MacRuby, including quick programming techniques such as prototyping classes. Want to build native Mac OS X applications with a sleek, developer-friendly alternative to Objective-C? MacRuby is an ideal choice. This in-depth guide shows you how…mehr
If you're interested in developing applications for Apple's Mac OS X platform, but prefer to use a sleek, developer-friendly language, MacRuby is ideal. This in-depth guide shows you how this Apple implementation of the Ruby language provides access to all of the features available to Objective-C programmers. You'll get clear, detailed explanations of MacRuby, including quick programming techniques such as prototyping classes.Want to build native Mac OS X applications with a sleek, developer-friendly alternative to Objective-C? MacRuby is an ideal choice. This in-depth guide shows you how Apple's implementation of Ruby gives you access to all the features available to Objective-C programmers. You'll get clear, detailed explanations of MacRuby, including quick programming techniques such as prototyping. Perfect for programmers at any level, this book is packed with code samples and complete project examples. If you use Ruby, you can tap your skills to take advantage of Interface Builder, Cocoa libraries, the Objective-C runtime, and more. If you're a Cocoa developer, you'll learn how to improve your productivity with MacRuby. Get up to speed on MacRuby basics, including classes and methods Learn how to use MacRuby with Apple's Xcode developer suite Delve into the primitive object classes and data types in Foundation Kit Build event-driven user interfaces with the AppKit framework Handle relational object persistence with the Core Data framework Use advanced MacRuby techniques, including concurrency and sandboxing Get examples for applications using Twitter and a location web service Embed MacRuby into existing Objective-C applications
Matt Aimonetti is a Senior Engineer at Sony Playstation in San Diego, CA where he works on video games. Prior to that, Matt worked with startups, fortune 100 companies and traditional companies, where he had the opportunity to be involved with really captivating projects in different domain spaces from Biotech to comics without forgetting advertising, social networks e-learning and more. Matt joined the MacRuby team in 2008 and has been active in the Ruby community for many years prior to that. Matt developed or contributed to a lot OSS libraries and frameworks (Merb, Rails and many more), spoke at users groups and conferences in the U.S. and abroad. Matt blogs at http://merbist.com.
Inhaltsangabe
Dedication Preface The Purpose of This Book Prerequisites Conventions Used in This Book Using Code Examples Safari® Books Online How to Contact Us Acknowledgments MacRuby Overview Chapter 1: Introduction 1.1 Introducing MacRuby 1.2 Installation 1.3 Code Example 1.4 Loading a Framework 1.5 Using Classes 1.6 Methods Chapter 2: Fundamentals 2.1 Run Loops 2.2 Callbacks/Delegation 2.3 User Inputs 2.4 Outlets 2.5 Display 2.6 Example Chapter 3: The Cocoa Environment 3.1 History 3.2 Main Frameworks in the Cocoa API 3.3 Reference Library 3.4 Mutability Chapter 4: Foundation 4.1 Compatibility Table 4.2 Strings and Attributed Strings 4.3 Arrays 4.4 Hashes/Dictionaries 4.5 Sets 4.6 Enumerators 4.7 Date, Time, and Calendars 4.8 Data 4.9 Locales 4.10 Time Zones 4.11 Exceptions 4.12 I/O 4.13 URLs/Requests/Connections 4.14 Pipes 4.15 File Handles 4.16 Bundles 4.17 Scheduling 4.18 Notifications 4.19 Archiving and Serialization 4.20 Miscellaneous Classes Chapter 5: Application Kit 5.1 Cocoa Key Principles 5.2 User Interface Chapter 6: Xcode 6.1 Xcode IDE Chapter 7: Core Data 7.1 Data Model 7.2 User Interface 7.3 Persistence Chapter 8: One Step Deeper 8.1 Selectors 8.2 Blocks 8.3 Concurrency 8.4 Sandboxing 8.5 Using Objective-C or C Code 8.6 Scriptable Applications 8.7 Method Missing 8.8 Pointers 8.9 Compilation 8.10 Compilation Within Xcode MacRuby in Practice Chapter 9: Address Book Example 9.1 User Interface 9.2 Address Book 9.3 Web API Call 9.4 Cleaning Up: Better Management of Widgets 9.5 The Extra Mile: Displaying More Information Through Notifications Chapter 10: Geolocation 10.1 User Interface 10.2 Table View 10.3 Core Location 10.4 Web API Chapter 11: MacRuby in Objective-C Projects 11.1 API 11.2 Usage 11.3 Example in an Xcode Project Chapter 12: Objective-C Code in MacRuby Apps 12.1 Dynamic Library 12.2 Framework Chapter 13: Using Ruby Third-Party Libraries 13.1 RubyGems 13.2 MacRuby Deploy Index Colophon
Dedication Preface The Purpose of This Book Prerequisites Conventions Used in This Book Using Code Examples Safari® Books Online How to Contact Us Acknowledgments MacRuby Overview Chapter 1: Introduction 1.1 Introducing MacRuby 1.2 Installation 1.3 Code Example 1.4 Loading a Framework 1.5 Using Classes 1.6 Methods Chapter 2: Fundamentals 2.1 Run Loops 2.2 Callbacks/Delegation 2.3 User Inputs 2.4 Outlets 2.5 Display 2.6 Example Chapter 3: The Cocoa Environment 3.1 History 3.2 Main Frameworks in the Cocoa API 3.3 Reference Library 3.4 Mutability Chapter 4: Foundation 4.1 Compatibility Table 4.2 Strings and Attributed Strings 4.3 Arrays 4.4 Hashes/Dictionaries 4.5 Sets 4.6 Enumerators 4.7 Date, Time, and Calendars 4.8 Data 4.9 Locales 4.10 Time Zones 4.11 Exceptions 4.12 I/O 4.13 URLs/Requests/Connections 4.14 Pipes 4.15 File Handles 4.16 Bundles 4.17 Scheduling 4.18 Notifications 4.19 Archiving and Serialization 4.20 Miscellaneous Classes Chapter 5: Application Kit 5.1 Cocoa Key Principles 5.2 User Interface Chapter 6: Xcode 6.1 Xcode IDE Chapter 7: Core Data 7.1 Data Model 7.2 User Interface 7.3 Persistence Chapter 8: One Step Deeper 8.1 Selectors 8.2 Blocks 8.3 Concurrency 8.4 Sandboxing 8.5 Using Objective-C or C Code 8.6 Scriptable Applications 8.7 Method Missing 8.8 Pointers 8.9 Compilation 8.10 Compilation Within Xcode MacRuby in Practice Chapter 9: Address Book Example 9.1 User Interface 9.2 Address Book 9.3 Web API Call 9.4 Cleaning Up: Better Management of Widgets 9.5 The Extra Mile: Displaying More Information Through Notifications Chapter 10: Geolocation 10.1 User Interface 10.2 Table View 10.3 Core Location 10.4 Web API Chapter 11: MacRuby in Objective-C Projects 11.1 API 11.2 Usage 11.3 Example in an Xcode Project Chapter 12: Objective-C Code in MacRuby Apps 12.1 Dynamic Library 12.2 Framework Chapter 13: Using Ruby Third-Party Libraries 13.1 RubyGems 13.2 MacRuby Deploy Index Colophon
Es gelten unsere Allgemeinen Geschäftsbedingungen: www.buecher.de/agb
Impressum
www.buecher.de ist ein Internetauftritt der buecher.de internetstores GmbH
Geschäftsführung: Monica Sawhney | Roland Kölbl | Günter Hilger
Sitz der Gesellschaft: Batheyer Straße 115 - 117, 58099 Hagen
Postanschrift: Bürgermeister-Wegele-Str. 12, 86167 Augsburg
Amtsgericht Hagen HRB 13257
Steuernummer: 321/5800/1497
USt-IdNr: DE450055826