File: programming/cocoa/Verpack.zip/Verpack/Verpack/PBXBuildStyle.m


//
//  PBXBuildStyle.m
//  VerpackIt
//
//  Created by Uli Kusterer on 15.09.04.
//  Copyright 2004 M. Uli Kusterer. All rights reserved.
//
 
#import "PBXBuildStyle.h"
 
 
@implementation PBXBuildStyle
 
-(id)	initWithObjData: (NSDictionary*)objData archive: (PBXArchive*)arc
{
	self = [super init];
	if( self )
	{
		objectData = [objData retain];
		
		buildSettings = [[objData objectForKey: @"buildSettings"] retain];
		name = [[objData objectForKey: @"name"] retain];
		//NSLog(@"--------------------\n%@\n\n",buildSettings);
	}
	
	return self;
}
 
 
-(void) dealloc
{
	[buildSettings release];
	buildSettings = nil;
 
	[name release];
	name = nil;
 
	[objectData release];
	objectData = nil;
 
    [super dealloc];
}
 
 
-(NSString*)	description
{
	return [NSString stringWithFormat: @"%@ { name = %@, buildSettings = %@ }",
						NSStringFromClass([self class]),
						name, buildSettings];
}
 
 
-(int)						count
{
	return 0;
}
 
-(id)	objectAtIndex: (int)n
{
	return nil;
}
 
 
@end

This code uses the PclZip Zip File reading code, which is subject to the GNU LGPL. It also uses the GeSHi syntax highlighter, subject to the GPL. Ask if you want this for your own web site, it's free.