count()

Description

Returns the total number of images and documents in DcsBuffer.

Syntax

- (NSInteger) count

Parameters

None

Return value

NSInteger

Example


@interface ViewController () {
    DcsView *dcsView;
}
@end
 
@implementation ViewController
 
- (void)viewDidLoad {
    [super viewDidLoad];
     
    dcsView = [[DcsView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
 
    [self.view addSubview:dcsView];

    [self.dcsView.buffer count];
}

@end