You are previewing Learn Mac OS X Snow Leopard.
O'Reilly logo
Learn Mac OS X Snow Leopard

Book Description

With a minimum of overhead and a maximum of useful information, you'll cover a lot of ground in the time it takes other books to get you plugged in.

Table of Contents

  1. Copyright
  2. About the Authors
  3. About the Technical Reviewer
  4. Acknowledgments
  5. Introduction
  6. 1. Getting to Know Snow Leopard
    1. 1. Working in Snow Leopard: The Aqua Interface
      1. 1.1. The Menu Bar
        1. 1.1.1. The Apple Menu
        2. 1.1.2. Application Menus
        3. 1.1.3. Status Menus
      2. 1.2. The Finder (and the Desktop)
        1. 1.2.1. The Finder's Toolbar
        2. 1.2.2. The Finder's Sidebar
        3. 1.2.3. The Finder's Views
        4. 1.2.4. Common Finder Tasks
        5. 1.2.5. The Desktop
        6. 1.2.6. Customizing the Finder
      3. 1.3. The Dock
        1. 1.3.1. Favorite Application Icons
        2. 1.3.2. Open Applications
        3. 1.3.3. Folders and Stacks
        4. 1.3.4. Minimized Windows
        5. 1.3.5. The Trash
        6. 1.3.6. Dock Preferences
      4. 1.4. Summary
    2. 2. The File System
      1. 2.1. The Overall File Structure of Snow Leopard
      2. 2.2. The Users Folder and Your Home
      3. 2.3. The Applications Folder
      4. 2.4. The Library Folders
        1. 2.4.1. The Library and System Library Folders
        2. 2.4.2. Personal Library Folder
        3. 2.4.3. Other Library Items
      5. 2.5. Other Common Folders
      6. 2.6. Hidden Folders
      7. 2.7. Summary
    3. 3. Using Spotlight, Exposé, Spaces, and Dashboard
      1. 3.1. Searching with Spotlight
        1. 3.1.1. Performing a Basic Search in Spotlight
        2. 3.1.2. Refining and Saving Your Searches
        3. 3.1.3. Setting Up Smart Folders
        4. 3.1.4. Using Spotlight Technology in Other Applications
      2. 3.2. Using Exposé and Spaces
        1. 3.2.1. Exposé
        2. 3.2.2. Spaces
      3. 3.3. Using Dashboard
      4. 3.4. Summary
  7. 2. Customizing and Administering Leopard
    1. 4. System Preferences
      1. 4.1. Personal Preferences
        1. 4.1.1. Appearance
        2. 4.1.2. Desktop & Screen Saver
        3. 4.1.3. Dock
        4. 4.1.4. Exposé & Spaces
        5. 4.1.5. Language & Text
        6. 4.1.6. Security
        7. 4.1.7. Spotlight
      2. 4.2. Hardware
        1. 4.2.1. CDs & DVDs
        2. 4.2.2. Displays
        3. 4.2.3. Energy Saver
        4. 4.2.4. Keyboard
        5. 4.2.5. Mouse
        6. 4.2.6. Trackpad
        7. 4.2.7. Print & Fax
        8. 4.2.8. Processor
        9. 4.2.9. Sound
      3. 4.3. Internet & Wireless
      4. 4.4. System
        1. 4.4.1. Accounts
        2. 4.4.2. Date & Time
        3. 4.4.3. Parental Controls
        4. 4.4.4. Software Update
        5. 4.4.5. Speech
        6. 4.4.6. Startup Disk
        7. 4.4.7. Time Machine
        8. 4.4.8. Universal Access
      5. 4.5. Summary
    2. 5. Printing, Peripherals, and Bluetooth in Snow Leopard
      1. 5.1. Printing in Mac OS X
        1. 5.1.1. How "Print" Happens
        2. 5.1.2. Setting Up a USB Printer
        3. 5.1.3. Printer Drivers
        4. 5.1.4. Connecting to a Network Printer or Shared Printer
        5. 5.1.5. Printer Options and the Print Queue
        6. 5.1.6. Printing from an Application
      2. 5.2. Connecting Bluetooth Devices
      3. 5.3. Connecting External Storage
        1. 5.3.1. Storage Media
        2. 5.3.2. Storage Interfaces
      4. 5.4. Connecting Other Peripherals
        1. 5.4.1. Digital Cameras
        2. 5.4.2. Input Tablets
      5. 5.5. Summary
    3. 6. Common Mac OS X Maintenance
      1. 6.1. Disk Setup and Maintenance
        1. 6.1.1. Performing First Aid
        2. 6.1.2. Erasing and Formatting a Volume
        3. 6.1.3. Partitioning a Disk
        4. 6.1.4. Using RAID
        5. 6.1.5. Creating and Restoring Disk Images
        6. 6.1.6. Burning an Image File to a CD or DVD
      2. 6.2. Managing Applications
        1. 6.2.1. Installing
        2. 6.2.2. Updating
        3. 6.2.3. Uninstalling Applications
      3. 6.3. Managing Fonts
      4. 6.4. Summary
    4. 7. Backup, Synchronization, and Recovery of Data
      1. 7.1. The Difference Between Backups and Synchronization
      2. 7.2. Backing Up Your Data with Time Machine
      3. 7.3. Synchronization
      4. 7.4. Other Methods of Backup, Sync, and Recovery
      5. 7.5. Summary
    5. 8. Mac OS X Security
      1. 8.1. Passwords and Keychains
        1. 8.1.1. The Keychain Feature
        2. 8.1.2. Creating Your Own Keychains and Keychain Items
        3. 8.1.3. Other Keychain Options
      2. 8.2. Data Encryption with the FileVault
      3. 8.3. Other Security Features
      4. 8.4. Summary
  8. 3. Communications and the Internet
    1. 9. Connecting to the Internet
      1. 9.1. Connecting to the Internet Using Dial-Up Networking
        1. 9.1.1. Setting Up Your Dial-Up Connection
        2. 9.1.2. Initiating Your Dial-Up Connection
        3. 9.1.3. Setting Up Multiple Dial-Up Configurations for a Modem
      2. 9.2. Broadband (High-Speed) Network Connections
      3. 9.3. Configuring Your Mac for a Broadband Connection
        1. 9.3.1. Making an Ethernet Connection
        2. 9.3.2. Making an AirPort Internet Connection
      4. 9.4. Creating Separate Networking Profiles for Different Locations
      5. 9.5. Summary
    2. 10. Browsing the Web with Safari
      1. 10.1. Safari Basics
        1. 10.1.1. The Basic Interface
        2. 10.1.2. Setting Your Home Page
        3. 10.1.3. Searching the Web
      2. 10.2. Bookmarks
        1. 10.2.1. Adding Bookmarks
        2. 10.2.2. Managing Bookmarks
        3. 10.2.3. Bookmark Preferences
      3. 10.3. Tabbed Browsing
        1. 10.3.1. Creating New Tabs
        2. 10.3.2. Moving Tabs
        3. 10.3.3. Closing Tabs
      4. 10.4. Downloading Content from the Web
      5. 10.5. Viewing Image Files and PDFs in Safari
      6. 10.6. Web Forms and AutoFill
      7. 10.7. Security
        1. 10.7.1. Secure Browsing
        2. 10.7.2. Blocking Web Content
        3. 10.7.3. Private Browsing
        4. 10.7.4. Cookies
        5. 10.7.5. Emptying the Browser Cache
      8. 10.8. Advanced Safari Features
        1. 10.8.1. Universal Access
        2. 10.8.2. Setting a Default Style Sheet
      9. 10.9. RSS Feeds in Safari
        1. 10.9.1. Adding Feeds
        2. 10.9.2. Reading Feeds
        3. 10.9.3. Feed Options
      10. 10.10. Safari Plug-Ins
      11. 10.11. Web Clippings
      12. 10.12. Summary
    3. 11. Mail, Address Book, and iCal
      1. 11.1. Mail
        1. 11.1.1. Working in Mail's Interface
        2. 11.1.2. Adding Mail Accounts
        3. 11.1.3. Receiving and Managing E-mail
        4. 11.1.4. Sending E-mail
        5. 11.1.5. Creating Notes and To Dos
        6. 11.1.6. Reading RSS Feeds in Mail
      2. 11.2. Address Book
        1. 11.2.1. Adding and Editing Contacts
        2. 11.2.2. Learning About My Card
        3. 11.2.3. Creating Groups
        4. 11.2.4. Sharing Contacts
        5. 11.2.5. Viewing Shared Contact Lists
        6. 11.2.6. Printing Labels and Envelopes
      3. 11.3. iCal
        1. 11.3.1. Adding Calendars to iCal
        2. 11.3.2. Adding and Editing Events
        3. 11.3.3. Using To Dos
        4. 11.3.4. Inviting Others to Events and Appointments
        5. 11.3.5. Adding Time Zone Support
        6. 11.3.6. Subscribing to Other Calendars
        7. 11.3.7. Sharing Your Calendars
        8. 11.3.8. Learning About iCal and CalDAV
      4. 11.4. Summary
    4. 12. iChat
      1. 12.1. Getting and Setting Up an iChat Account
      2. 12.2. Logging In to Your iChat Account and Setting Your Status
      3. 12.3. Adding and Managing Buddies
      4. 12.4. Communicating with iChat
        1. 12.4.1. Text Chat
        2. 12.4.2. Instant and Direct Messaging
        3. 12.4.3. Audio and Video Chats
        4. 12.4.4. Background Effects
        5. 12.4.5. Variations on Video Chat
        6. 12.4.6. Mobile Text Messaging
        7. 12.4.7. File Transfers
        8. 12.4.8. Screen Sharing
        9. 12.4.9. Integrating with Mail
        10. 12.4.10. Advanced Status Messages
      5. 12.5. Customizing iChat
        1. 12.5.1. General
        2. 12.5.2. Accounts
        3. 12.5.3. Messages
        4. 12.5.4. Alerts
        5. 12.5.5. Audio/Video
      6. 12.6. Nifty iChat Features
        1. 12.6.1. iChat Theater
        2. 12.6.2. Tabbed Chat
        3. 12.6.3. Saving Your Chats
        4. 12.6.4. Smileys
      7. 12.7. Alternatives to iChat
      8. 12.8. Summary
    5. 13. MobileMe
      1. 13.1. Setting Up MobileMe
      2. 13.2. MobileMe E-mail, Contacts, and Calendars
      3. 13.3. Web Hosting and Gallery
      4. 13.4. iDisk
      5. 13.5. Data Syncing
      6. 13.6. Back to My Mac
      7. 13.7. Application Integration
      8. 13.8. Summary
  9. 4. Working with Applications
    1. 14. Application Basics
      1. 14.1. Installing an Application Package
        1. 14.1.1. Starting the Installer
        2. 14.1.2. Customizing Your Installation
      2. 14.2. File Dialogs: Opening and Saving Files
      3. 14.3. Other Common Application Features
        1. 14.3.1. Choosing a Document's Default Application
        2. 14.3.2. Using the Services Menu
        3. 14.3.3. Using AppleScript and Automator
      4. 14.4. Summary
    2. 15. Snow Leopard Applications
      1. 15.1. QuickTime Player
      2. 15.2. iTunes
        1. 15.2.1. Importing Media into iTunes
        2. 15.2.2. Creating Playlists
        3. 15.2.3. Sharing and Streaming iTunes Media
        4. 15.2.4. Syncing iPods and iPhones
      3. 15.3. Preview
      4. 15.4. Photo Booth
      5. 15.5. Other Default Snow Leopard Applications
      6. 15.6. Summary
    3. 16. iLife '09
      1. 16.1. iPhoto '09
        1. 16.1.1. Photo Management
        2. 16.1.2. Photo Editing
        3. 16.1.3. Printing and Sharing Your Photos
      2. 16.2. iMovie '09
      3. 16.3. iWeb '09
      4. 16.4. GarageBand '09
      5. 16.5. iDVD
      6. 16.6. Summary
  10. Part 5: Getting to Know Darwin
  11. 17. Introducing Darwin and the Shell
    1. 17.1. Darwin Basics
      1. 17.1.1. Darwin Semantics
      2. 17.1.2. The File System
    2. 17.2. Introducing the Shell
      1. 17.2.1. Moving Around Darwin
      2. 17.2.2. Wildcards
      3. 17.2.3. Working with Files and Directories
      4. 17.2.4. More Essential Commands
      5. 17.2.5. Pipes, Redirection, and Background Tasks
    3. 17.3. Working As Root
      1. 17.3.1. sudo
      2. 17.3.2. sudoers
    4. 17.4. Editing Files
      1. 17.4.1. Vim
      2. 17.4.2. Emacs
      3. 17.4.3. Nano
    5. 17.5. File Permissions and Attributes
    6. 17.6. ACLs and Extended File Attributes
    7. 17.7. Customizing Terminal and the Shell
      1. 17.7.1. Terminal Setup
      2. 17.7.2. Setting Up Your Shell Environment
      3. 17.7.3. Creating Commands with Aliases and Functions
    8. 17.8. Summary
  12. 18. Extending the Power of Darwin
    1. 18.1. Getting Started with Shell Scripting
      1. 18.1.1. Variables
      2. 18.1.2. Controlling the Flow
      3. 18.1.3. Input and Output
    2. 18.2. Advanced Scripting with Perl, Python, and Ruby
      1. 18.2.1. Perl
      2. 18.2.2. Python
      3. 18.2.3. Ruby
    3. 18.3. Installing New Darwin Software
      1. 18.3.1. MacPorts and Fink
    4. 18.4. Compiling Software from the Source Code
      1. 18.4.1. Step 1: Configure
      2. 18.4.2. Step 2: Build
      3. 18.4.3. Step 3: Install
    5. 18.5. Summary
  13. 6. Snow Leopard Networking
    1. 19. Snow Leopard Networking
      1. 19.1. Setting Up the Firewall
      2. 19.2. Monitoring Network Traffic
      3. 19.3. Network Utilities
        1. 19.3.1. Info
        2. 19.3.2. Netstat
        3. 19.3.3. Ping
        4. 19.3.4. Lookup
        5. 19.3.5. Traceroute
        6. 19.3.6. Whois
        7. 19.3.7. Finger
        8. 19.3.8. Port Scan
      4. 19.4. Advanced Networking with Darwin
      5. 19.5. Wireless Networking with AirPort
      6. 19.6. Port Forwarding
      7. 19.7. Summary
    2. 20. Working with Remote Servers and Networks
      1. 20.1. Making the Connection
        1. 20.1.1. Navigating in the Finder
        2. 20.1.2. Connecting Directly
        3. 20.1.3. Connecting in Darwin
        4. 20.1.4. Third-Party Solutions
      2. 20.2. Connecting to MobileMe
        1. 20.2.1. iDisk
        2. 20.2.2. Back to My Mac
        3. 20.2.3. Third-Party Integration
      3. 20.3. Informal Networking
        1. 20.3.1. Target Disk Mode
        2. 20.3.2. AirPort
        3. 20.3.3. FireWire and Ethernet
        4. 20.3.4. Bonjour
      4. 20.4. Sharing
        1. 20.4.1. DVD or CD Sharing
        2. 20.4.2. Screen Sharing
        3. 20.4.3. File Sharing
        4. 20.4.4. Printer Sharing
        5. 20.4.5. Scanner Sharing
        6. 20.4.6. Web Sharing
        7. 20.4.7. Remote Login
        8. 20.4.8. Remote Management
        9. 20.4.9. Remote Apple Events
        10. 20.4.10. Xgrid Sharing
        11. 20.4.11. Internet Sharing
        12. 20.4.12. Bluetooth Sharing
      5. 20.5. Summary
    3. 21. Snow Leopard As a Web Server
      1. 21.1. Apache
        1. 21.1.1. Customizing Your Site
        2. 21.1.2. Accessing Your Site
        3. 21.1.3. Configuring Apache
      2. 21.2. PHP
      3. 21.3. Database
        1. 21.3.1. SQLite
        2. 21.3.2. MySQL
        3. 21.3.3. PostgreSQL
      4. 21.4. Tips and Tricks
        1. 21.4.1. Making Sites the Document Root
        2. 21.4.2. Troubleshooting Permissions
        3. 21.4.3. Domain Name Tricks
        4. 21.4.4. Custom Domains Without DNS
        5. 21.4.5. Dynamic DNS
      5. 21.5. Other Considerations
      6. 21.6. Summary
  14. 7. Snow Leopard Development and Scripting
    1. 22. Mac OS X Automation with Automator and AppleScript
      1. 22.1. Automator
        1. 22.1.1. Actions
        2. 22.1.2. Workflows
        3. 22.1.3. Using Actions
        4. 22.1.4. Variables
        5. 22.1.5. Advanced Automator Shenanigans
        6. 22.1.6. How Automator Works
      2. 22.2. AppleScript
        1. 22.2.1. Analyzing the Code
        2. 22.2.2. AppleScript in Context
      3. 22.3. More Information
      4. 22.4. Summary
    2. 23. Mac OS X Development: The Application Frameworks
      1. 23.1. Ease of Use
        1. 23.1.1. Application Kit
        2. 23.1.2. Foundation
        3. 23.1.3. Core Data
        4. 23.1.4. Image Kit
        5. 23.1.5. QuickTime Kit
      2. 23.2. Integration
        1. 23.2.1. Address Book
        2. 23.2.2. Automator
        3. 23.2.3. MobileMe Integration with the DotMac Kit
        4. 23.2.4. Calendar Store
        5. 23.2.5. Instant Message
        6. 23.2.6. PDF Kit
        7. 23.2.7. Publication Subscription
        8. 23.2.8. Spotlight
        9. 23.2.9. Quick Look
        10. 23.2.10. Scripting Bridge
        11. 23.2.11. WebKit
      3. 23.3. Beauty
        1. 23.3.1. Core Animation
        2. 23.3.2. Core Image
        3. 23.3.3. Core Graphics
        4. 23.3.4. Core Video
        5. 23.3.5. Image I/O
      4. 23.4. Performance and Concurrency
        1. 23.4.1. NSOperation
        2. 23.4.2. Grand Central Dispatch
        3. 23.4.3. OpenCL
        4. 23.4.4. Accelerate
      5. 23.5. Other Application Frameworks
        1. 23.5.1. Cocoa
        2. 23.5.2. Carbon
        3. 23.5.3. Java
        4. 23.5.4. AppleScript
        5. 23.5.5. WebObjects
        6. 23.5.6. BSD/X11
        7. 23.5.7. Ajax
      6. 23.6. Summary
    3. 24. Mac OS X Development: The Tools
      1. 24.1. Apple Developer Connection
      2. 24.2. Installing Xcode Tools
      3. 24.3. Introduction to Xcode
        1. 24.3.1. Xcode Preferences
        2. 24.3.2. Documentation
        3. 24.3.3. Project Organization
      4. 24.4. Interface Builder
        1. 24.4.1. The Interface
        2. 24.4.2. The Inspector
        3. 24.4.3. The Library
        4. 24.4.4. The Nib
      5. 24.5. Programming in Xcode
        1. 24.5.1. The Editor
        2. 24.5.2. Debugging
        3. 24.5.3. Other Features
      6. 24.6. Other Tools
        1. 24.6.1. Instruments
        2. 24.6.2. Quartz Composer
        3. 24.6.3. Dashcode
        4. 24.6.4. Core Image Fun House
        5. 24.6.5. FileMerge
        6. 24.6.6. IconComposer
        7. 24.6.7. Property List Editor
        8. 24.6.8. Shark
        9. 24.6.9. Bug Reporter
      7. 24.7. More Information
      8. 24.8. Summary
    4. 25. Mac OS X Development: Objective-C
      1. 25.1. Objective-C Syntax
      2. 25.2. Objective-C Improves C
        1. 25.2.1. Memory Management
        2. 25.2.2. Scalars
        3. 25.2.3. Logging
        4. 25.2.4. Strings
        5. 25.2.5. Arrays
        6. 25.2.6. Booleans
        7. 25.2.7. Equality
        8. 25.2.8. Void
        9. 25.2.9. Emptiness
      3. 25.3. Objective-C Memory Management
      4. 25.4. Object-Oriented Programming with Objective-C
        1. 25.4.1. Declaring an Interface
        2. 25.4.2. Implementing the Class
        3. 25.4.3. Class Methods
        4. 25.4.4. Init and Dealloc
        5. 25.4.5. Instance Methods
        6. 25.4.6. Protocols
      5. 25.5. Objective-C Dynamic Runtime
        1. 25.5.1. Categories
        2. 25.5.2. Method Swizzling
        3. 25.5.3. Key Value Coding
      6. 25.6. Objective-C 2.0
        1. 25.6.1. Class Extension
        2. 25.6.2. Fast Enumeration
        3. 25.6.3. Garbage Collection
        4. 25.6.4. Properties
        5. 25.6.5. 64-bit/iPhone Changes
      7. 25.7. Blocks
      8. 25.8. Learn More
      9. 25.9. Summary
  15. 8. Cross-Platform Solutions
    1. 26. Working with Microsoft Windows and Other Operating Systems
      1. 26.1. Working with Other File Types and File Systems
        1. 26.1.1. Sharing Files with Windows
      2. 26.2. Running Microsoft Windows on Your Mac
        1. 26.2.1. Boot Camp
        2. 26.2.2. Parallels Desktop and VMware Fusion
        3. 26.2.3. CodeWeavers CrossOver (and Wine)
      3. 26.3. Accessing a Windows Computer Remotely
      4. 26.4. Summary
  16. 9. Appendixes
    1. A. What's New in Snow Leopard?
      1. A.1.1. User Changes in the System
        1. A.1.1.1. Overall Appearance
        2. A.1.1.2. Improved Stacks
        3. A.1.1.3. Exposé Refinements
        4. A.1.1.4. Tweaked System Preferences
      2. A.1.2. Application Enhancements
        1. A.1.2.1. Mail, iCal, and Address Book
        2. A.1.2.2. Safari 4
        3. A.1.2.3. Image Capture
        4. A.1.2.4. QuickTime
        5. A.1.2.5. Xcode Tools
      3. A.1.3. Under the Hood
        1. A.1.3.1. Intel Only
        2. A.1.3.2. Grand Central
        3. A.1.3.3. OpenCL
        4. A.1.3.4. 64-bit
    2. B. Installing and Setting Up Snow Leopard
    3. C. Our Favorite Applications