 
 import Foundation
 
+/// Operation that runs its own internal operation queue so that you can add one
+/// or more sub-operations and wait for them to finish during execution of this
+/// operation. You can add sub-operations at any time, and wait for operations
+/// more than once.
 public class GroupOperation: Operation {
 
   let q = OperationQueue()
 
   public override init() {
     super.init()
-    q.suspended = true
+    suspended = true
     q.delegate = self
   }
 

    q.addOperation(op)
  }

  //----------------------------------------------------------------------------
  // MARK: - Operation Overrides


  /// finish. Finishing includes cancelling. Hence when this operation finishes,
  /// all its component operations have also finished.
  public override func execute() {
    suspended = false
    waitUntilAllOperationsAreFinished()
  }

}
