Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (29 sloc) 0.738 kb
//
// GBCommentComponentsList.m
// appledoc
//
// Created by Tomaz Kragelj on 14.2.11.
// Copyright 2011 Gentle Bytes. All rights reserved.
//
#import "GBCommentComponentsList.h"
@implementation GBCommentComponentsList
#pragma mark Initialization & disposal
+ (id)componentsList {
return [[[self alloc] init] autorelease];
}
- (id)init {
self = [super init];
if (self) {
_components = [[NSMutableArray alloc] init];
}
return self;
}
#pragma mark Data handling
- (void)registerComponent:(id)component {
NSParameterAssert(component != nil);
GBLogDebug(@"Registering component %@...", component);
[_components addObject:component];
}
#pragma mark Properties
@synthesize components = _components;
@end
Jump to Line
Something went wrong with that request. Please try again.