Source

DTFoundation / DTFoundation / NSArray+DTExtras.h

Full commit
//
//  NSArray+DTExtras.h
//  DTKit
//
//  Created by Daniel Tull on 30.09.2009.
//  Copyright 2009 Daniel Tull. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface NSArray (DTExtras)
/** @brief Returns whether or not the receiving array is empty.
 
 @return A boolean indicating whether or not the receiving array is empty.
 */
- (BOOL)isEmpty;

- (id)firstObject;

- (NSArray *)subarrayWithObjectsOfClass:(Class)aClass;

- (BOOL)containsObjectOfClass:(Class)aClass;
@end