- Declared in:
- SCKProject.h
- Conforms to:
- SCKProjectContent
Content class to present the project files.
- Declared in:
- SCKProject.h
SCKProject represents an IDE project that tracks several source files usually put together in a directory.
In addition, SCKProject provides access to the program components declared in the project files. See -classes , -functions and -globals .
Custom presentation in the IDE source list (or similar UI) are supported by setting a custom project content class, that implements the collection protocols on the behalf of SCKProject instance. The collection returned by -content depends on the class set with -setContentClass: .
Adds the file that corresponds to the URL to the project.
When the URL is nil
, raises a
NSInvalidArgumentException.
Initializes and returns a new project based on the directory URL (to resolve relative paths) and the provided source collection to retrieve the SCKFile objects.
A source collection can be shared between several projects (it caches SCKFile objects).
When aSourceCollection is
nil
, raises a
NSInvalidArgumentException.
Removes the file that corresponds to the URL from the project.
When the URL is nil
, raises a
NSInvalidArgumentException.
- Declared in:
- SCKProject.h
- Conforms to:
- SCKProjectContent
Content class to present the project program components grouped into classes, functions and globals.
- Declared in:
- SCKProject.h
Protocol to which SCKProject content class must conform to. See -[SCKProject setContentClass:].