count()

Description

Returns the total number of images and documents in DcsBuffer.

Syntax

func count()

Parameters

none

Return value

Int

Example

class ViewController: UIViewController{
    var dcsView:DcsView!
    override func viewDidLoad() {
        super.viewDidLoad()
        dcsView = DcsView(frame: CGRect(x:0,y:0,width:self.view.frame.size.width,height:self.view.frame.size.height))
        view.addSubview(dcsView)
        print(dcsView.buffer.count())
    }
}
Is this page helpful?

Leave a Reply

Your email address will not be published.