Skip to content
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.

Commit

Permalink
Documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Rupérez committed Nov 22, 2017
1 parent 660ba70 commit 424d4a0
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ xcuserdata/
## Other
*.moved-aside
*.xcuserstate
docs/undocumented.json

## Obj-C/Swift specific
*.hmap
Expand Down
4 changes: 2 additions & 2 deletions Source/Dispatcher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ open class Dispatcher {
operationQueue.addOperations(operations, waitUntilFinished: waitUntilFinished)
}

/// Execute block in priority queue
/// Execute block in OperationQueue
@discardableResult open func execute(_ block: @escaping () -> Void) -> Operation {
let blockOperation = BlockOperation(block: block)
execute(blockOperation)
return blockOperation
}

/// Execute [block] collection in priority queue (if possible) concurrently or sequentially
/// Execute [block] collection in OperationQueue concurrently or sequentially
@discardableResult open func execute(_ blocks: [() -> Void], concurrent: Bool = true, waitUntilFinished: Bool = false) -> [Operation] {
var lastOperation: Operation?
let operations = blocks.map { block -> Operation in
Expand Down
4 changes: 2 additions & 2 deletions docs/Classes/Dispatcher.html
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ <h4>Declaration</h4>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Execute block in priority queue</p>
<p>Execute block in OperationQueue</p>

</div>
<div class="declaration">
Expand Down Expand Up @@ -426,7 +426,7 @@ <h4>Declaration</h4>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Execute [block] collection in priority queue (if possible) concurrently or sequentially</p>
<p>Execute [block] collection in OperationQueue concurrently or sequentially</p>

</div>
<div class="declaration">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ <h4>Declaration</h4>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Execute block in priority queue</p>
<p>Execute block in OperationQueue</p>

</div>
<div class="declaration">
Expand Down Expand Up @@ -426,7 +426,7 @@ <h4>Declaration</h4>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Execute [block] collection in priority queue (if possible) concurrently or sequentially</p>
<p>Execute [block] collection in OperationQueue concurrently or sequentially</p>

</div>
<div class="declaration">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
<a href="https://github.com/Carthage/Carthage"><img src="https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat" alt="Carthage compatible"></a>
<a href="https://github.com/apple/swift-package-manager"><img src="https://img.shields.io/badge/Swift%20Package%20Manager-compatible-4BC51D.svg?style=flat" alt="Swift Package Manager Compatible"></a>
<a href="https://travis-ci.org/intelygenz/Kommander-iOS"><img src="https://travis-ci.org/intelygenz/Kommander-iOS.svg?branch=master" alt="Build Status"></a>
<a href="https://intelygenz.github.io/Kommander-iOS"><img src="https://img.shields.io/badge/documentation-100%25-brightgreen.svg?style=flat" alt="Documentation"></a>
<a href="http://cocoapods.org/pods/Kommander"><img src="https://img.shields.io/cocoapods/dt/Kommander.svg" alt="Downloads"></a></p>

<p><strong>Kommander</strong> is a Swift library to manage the task execution in different threads. Through the definition a simple but powerful concept, <a href="https://en.wikipedia.org/wiki/Command_pattern"><strong>Kommand</strong></a>.</p>
Expand Down

Large diffs are not rendered by default.

Binary file modified docs/docsets/Kommander.tgz
Binary file not shown.
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
<a href="https://github.com/Carthage/Carthage"><img src="https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat" alt="Carthage compatible"></a>
<a href="https://github.com/apple/swift-package-manager"><img src="https://img.shields.io/badge/Swift%20Package%20Manager-compatible-4BC51D.svg?style=flat" alt="Swift Package Manager Compatible"></a>
<a href="https://travis-ci.org/intelygenz/Kommander-iOS"><img src="https://travis-ci.org/intelygenz/Kommander-iOS.svg?branch=master" alt="Build Status"></a>
<a href="https://intelygenz.github.io/Kommander-iOS"><img src="https://img.shields.io/badge/documentation-100%25-brightgreen.svg?style=flat" alt="Documentation"></a>
<a href="http://cocoapods.org/pods/Kommander"><img src="https://img.shields.io/cocoapods/dt/Kommander.svg" alt="Downloads"></a></p>

<p><strong>Kommander</strong> is a Swift library to manage the task execution in different threads. Through the definition a simple but powerful concept, <a href="https://en.wikipedia.org/wiki/Command_pattern"><strong>Kommand</strong></a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/search.json

Large diffs are not rendered by default.

0 comments on commit 424d4a0

Please sign in to comment.