Skip to content

Commit

Permalink
updated podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnEstropia committed Mar 7, 2016
1 parent 97046f6 commit ec2fbfe
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -8,3 +8,4 @@

GCDKit.xcodeproj/xcuserdata
GCDKit.xcodeproj/project.xcworkspace/xcuserdata
DerivedData
2 changes: 1 addition & 1 deletion GCDKit.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "GCDKit"
s.version = "1.1.7"
s.version = "1.1.8"
s.license = "MIT"
s.summary = "GCDKit is Grand Central Dispatch simplified with Swift"
s.homepage = "https://github.com/JohnEstropia/GCDKit"
Expand Down
10 changes: 5 additions & 5 deletions GCDKit/GCDQueue.swift
Expand Up @@ -71,7 +71,7 @@ public enum GCDQueue {
/**
Creates a custom queue to which blocks can be submitted serially.
- parameter label: A String label to attach to the queue to uniquely identify it in debugging tools such as Instruments, sample, stackshots, and crash reports.
- parameter label: An optional string label to attach to the queue to uniquely identify it in debugging tools such as Instruments, sample, stackshots, and crash reports.
- returns: A new custom serial queue.
*/
public static func createSerial(label: String? = nil) -> GCDQueue {
Expand All @@ -82,7 +82,7 @@ public enum GCDQueue {
/**
Creates a custom queue and specifies a target queue to which blocks can be submitted serially.
- parameter label: A String label to attach to the queue to uniquely identify it in debugging tools such as Instruments, sample, stackshots, and crash reports.
- parameter label: An optional string label to attach to the queue to uniquely identify it in debugging tools such as Instruments, sample, stackshots, and crash reports.
- parameter targetQueue: The new target queue for the custom queue.
- returns: A new custom serial queue.
*/
Expand All @@ -105,7 +105,7 @@ public enum GCDQueue {
/**
Creates a custom queue and specifies a target queue to which blocks can be submitted concurrently.
- parameter label: A string label to attach to the queue to uniquely identify it in debugging tools such as Instruments, sample, stackshots, and crash reports.
- parameter label: An optional string label to attach to the queue to uniquely identify it in debugging tools such as Instruments, sample, stackshots, and crash reports.
- parameter targetQueue: The new target queue for the custom queue.
- returns: A new custom concurrent queue.
*/
Expand Down Expand Up @@ -302,11 +302,11 @@ public enum GCDQueue {
}
}

private static func createCustom(isConcurrent isConcurrent: Bool, label: String? = nil, targetQueue: GCDQueue?) -> GCDQueue {
private static func createCustom(isConcurrent isConcurrent: Bool, label: String?, targetQueue: GCDQueue?) -> GCDQueue {

let queue = GCDQueue.Custom(
dispatch_queue_create(
(label as NSString?)?.UTF8String ?? nil,
label.flatMap { ($0 as NSString).UTF8String } ?? nil,
(isConcurrent ? DISPATCH_QUEUE_CONCURRENT : DISPATCH_QUEUE_SERIAL)
)
)
Expand Down
2 changes: 1 addition & 1 deletion GCDKit/Info.plist
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.1.7</string>
<string>1.1.8</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit ec2fbfe

Please sign in to comment.