Documentation Archive

Developer

Energy Efficiency Guide for Mac Apps

On This Page

Related Documents

This chapter lists additional sources of information about the technologies and methods discussed in this document.

Resources for Getting Your App to Idle

Occlusion Notifications

image: ../Art/document_icon_2x.pngapplicationDidChangeOcclusionState: in NSApplicationDelegate Protocol Reference

image: ../Art/document_icon_2x.pngNSApplicationDidChangeOcclusionStateNotification in NSApplication Class Reference

image: ../Art/document_icon_2x.pngNSWindowDidChangeOcclusionStateNotification in NSWindow Class Reference

image: ../Art/document_icon_2x.pngocclusionState in NSApplication Class Reference

image: ../Art/document_icon_2x.pngocclusionState in NSWindow Class Reference

image: ../Art/document_icon_2x.pngwindowDidChangeOcclusionState: in NSWindowDelegate Protocol Reference

Active App Transitions

image: ../Art/document_icon_2x.pngapplicationWillResignActive: in NSApplicationDelegate Protocol Reference

image: ../Art/document_icon_2x.pngapplicationDidResignActive: in NSApplicationDelegate Protocol Reference

image: ../Art/document_icon_2x.pngapplicationWillBecomeActive: in NSApplicationDelegate Protocol Reference

image: ../Art/document_icon_2x.pngapplicationDidBecomeActive: in NSApplicationDelegate Protocol Reference

image: ../Art/document_icon_2x.pngNSApplicationWillResignActiveNotification in NSApplication Class Reference

image: ../Art/document_icon_2x.pngNSApplicationDidResignActiveNotification in NSApplication Class Reference

image: ../Art/document_icon_2x.pngNSApplicationWillBecomeActiveNotification in NSApplication Class Reference

image: ../Art/document_icon_2x.pngNSApplicationDidBecomeActiveNotification in NSApplication Class Reference

Resources for Prioritizing Work

Quality of Service Classes (QoS)

image: ../Art/document_icon_2x.pngConcurrency Programming Guide

image: ../Art/document_icon_2x.pngGrand Central Dispatch (GCD) Reference

image: ../Art/document_icon_2x.pngNSOperation Class Reference

image: ../Art/document_icon_2x.pngNSOperationQueue Class Reference

image: ../Art/document_icon_2x.pngNSTask Class Reference

image: ../Art/document_icon_2x.pngNSThread Class Reference

image: ../Art/document_icon_2x.pngpowermetrics(1) Mac OS X Manual Page

image: ../Art/document_icon_2x.pngspindump(8) Mac OS X Manual Page

image: ../Art/document_icon_2x.pngTesting with Xcode

Resources for Scheduling Work

Grand Central Dispatch (GCD)

image: ../Art/document_icon_2x.pngConcurrency Programming Guide

image: ../Art/document_icon_2x.pngGrand Central Dispatch (GCD) Reference

Scheduling Background Activity

image: ../Art/document_icon_2x.pngNSActivityBackground in NSProcessInfo Class Reference

image: ../Art/document_icon_2x.pngbeginActivityWithOptions:reason: in NSProcessInfo Class Reference

image: ../Art/document_icon_2x.pngperformActivityWithOptions:reason:usingBlock: in NSProcessInfo Class Reference

Scheduling Background Networking

image: ../Art/document_icon_2x.pngNSURLSessionDataDelegate Protocol Reference

image: ../Art/document_icon_2x.pngNSURLSessionDelegate Protocol Reference

image: ../Art/document_icon_2x.pngNSURLSessionDownloadDelegate Protocol Reference

image: ../Art/document_icon_2x.pngNSURLSessionTaskDelegate Protocol Reference

image: ../Art/document_icon_2x.pngNSURL Class Reference

image: ../Art/document_icon_2x.pngNSURLRequest Class Reference

image: ../Art/document_icon_2x.pngNSURLSession Class Reference

XPC Activity

image: ../Art/document_icon_2x.pngactivity.h Reference in XPC Services API Reference

image: ../Art/document_icon_2x.pngDaemons and Services Programming Guide

image: ../Art/document_icon_2x.pngXPC Services API Reference

Resources for Reducing Overhead

Minimizing I/O

image: ../Art/document_icon_2x.pngfs_usage(1) Mac OS X Manual Page

image: ../Art/document_icon_2x.pngInstruments User Guide

image: ../Art/document_icon_2x.pngNetworking Overview

image: ../Art/document_icon_2x.pngPerformance Tips in File System Programming Guide

image: ../Art/document_icon_2x.pngTesting with Xcode

image: ../Art/document_icon_2x.pngXcode Overview

Minimizing Timer Usage

image: ../Art/document_icon_2x.pngCFRunLoop Reference

image: ../Art/document_icon_2x.pngConcurrency Programming Guide

image: ../Art/document_icon_2x.pngCreating XPC Services in Daemons and Services Programming Guide

image: ../Art/document_icon_2x.pngDarwin Notification API Reference

image: ../Art/document_icon_2x.pngDetermining Reachability and Getting Connected in System Configuration Programming Guidelines

image: ../Art/document_icon_2x.pngDisk Arbitration Programming Guide

image: ../Art/document_icon_2x.pngDNS Service Discovery Programming Guide and NSNetServices and CFNetServices Programming Guide

image: ../Art/document_icon_2x.pngFile System Events Programming Guide

image: ../Art/document_icon_2x.pngFinding and Accessing Devices in Accessing Hardware From Applications

image: ../Art/document_icon_2x.pngGrand Central Dispatch (GCD) Reference

image: ../Art/document_icon_2x.pngLocal and Remote Notification Programming Guide

image: ../Art/document_icon_2x.pngMonitoring Events in Cocoa Event Handling Guide

image: ../Art/document_icon_2x.pngNSDistributedNotificationCenter Class Reference

image: ../Art/document_icon_2x.pngNSTimer Class Reference

image: ../Art/document_icon_2x.pngsleep(3) Mac OS X Developer Tools Manual Page

image: ../Art/document_icon_2x.pngSynchronization in Threading Programming Guide

image: ../Art/document_icon_2x.pngtimerfires(1) Mac OS X Manual Page

image: ../Art/document_icon_2x.pngusleep(3) Mac OS X Developer Tools Manual Page

Avoiding Extraneous Content Updates

image: ../Art/document_icon_2x.pngDrawing Performance Guidelines

image: ../Art/document_icon_2x.pnggetRectsBeingDrawn:count: in NSView Class Reference

image: ../Art/document_icon_2x.pngneedsToDrawRect: in NSView Class Reference

image: ../Art/document_icon_2x.pngOptimizing View Drawing in View Programming Guide

Resources for Monitoring and Responding to Energy Use

General Resources

image: ../Art/document_icon_2x.pngDebug Your App in Xcode Overview

image: ../Art/document_icon_2x.pngInstruments User Guide

image: ../Art/document_icon_2x.pngTesting with Xcode

Monitoring Energy Usage

image: ../Art/document_icon_2x.pngdtrace(1) Mac OS X Manual Page

image: ../Art/document_icon_2x.pngfs_usage(1) Mac OS X Manual Page

image: ../Art/document_icon_2x.pngpmset(1) Mac OS X Manual Page

image: ../Art/document_icon_2x.pngpowermetrics(1) Mac OS X Manual Page

image: ../Art/document_icon_2x.pngsample(1) Mac OS X Manual Page

image: ../Art/document_icon_2x.pngspindump(8) Mac OS X Manual Page

image: ../Art/document_icon_2x.pngtimerfires(1) Mac OS X Manual Page

image: ../Art/document_icon_2x.pngtop(1) Mac OS X Manual Page

Performance Testing

image: ../Art/document_icon_2x.pngPerformance Overview