Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Next Page > Hide TOC

Files

Technology area
Installer
Availability
Available in Mac OS X v10.4 and later.

Overview

The Files object provides methods for accessing files. This object is accessed using the system.files property.

Tasks

Accessing Files

Methods

bundleAtPath

Provides the contents of the info plist file of the identified bundle.

bundleAtPath(filePath)

Parameters
filePath

String with the path of the desired bundle.

Return Value

Dictionary (associative array) with the contents of the bundle’s info plist file.

Availability

fileExistsAtPath

Indicates whether the given path identifies an existent file.

fileExistsAtPath(filePath)

Parameters
filePath

String with the path of the desired file.

Return Value

true when filePath identifies an existent file; false otherwise.

Availability

plistAtPath

Provides the contents of a given plist file.

plistAtPath(filePath)

Parameters
filePath

String with the path of the desired file.

Return Value

Dictionary (associative array) with the contents of the identified plist file.

Availability


Next Page > Hide TOC


Last updated: 2007-07-23




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice