Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 39 lines (31 sloc) 1.181 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
//
// DDXcodeProjectFile.h
// appledoc
//
// Created by Dominik Pich on 9/4/12.
// Copyright (c) 2012 Gentle Bytes. All rights reserved.
//

#import <Foundation/Foundation.h>

/** @file DDXcodeProjectFile.h */

/**
* reads an xcode 4 Project file and provides an in memory representation
* @warning WHICH cannot be saved at the moment
* @warning Does only provide the fundamental project settings right now as that's all I need ATM :D
*/
@interface DDXcodeProjectFile : NSObject

@property(readonly) NSString *path;
@property(readonly) NSDictionary *dictionary;

@property(readonly) NSString *name;
@property(readonly) NSString *minimumVersion;
@property(readonly) NSString *company;
@property(readonly) NSString *projectRoot;
@property(readonly) NSString *classPrefix;
@property(readonly) NSString *developmentRegion;

/**
* an array of 1-N dicts for all files found in the project. Each dictionary contains 'path' and 'type'
* the path is resolved to an absolute path
*/
@property(readonly) NSArray *files;

+ (id)xcodeProjectFileWithPath:(NSString*)path error:(NSError**)pError;
+ (id)xcodeProjectFileWithDictionary:(NSDictionary*)dict error:(NSError**)pError;

@end
Something went wrong with that request. Please try again.