From 5c98172a1f3baae39790d028079c7773882c6fc7 Mon Sep 17 00:00:00 2001 From: Garrett Moon Date: Sat, 7 Oct 2017 11:08:07 -0700 Subject: [PATCH] Fix warnings --- Makefile | 2 +- PINOperation.podspec | 2 +- Source/PINOperationQueue.h | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 5e31c1d..6cce01c 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ carthage: carthage build --no-skip-current lint: - pod lib lint --allow-warnings + pod lib lint analyze: xcodebuild clean analyze -destination ${PLATFORM} -sdk ${SDK} -project PINOperation.xcodeproj -scheme PINOperation \ diff --git a/PINOperation.podspec b/PINOperation.podspec index a58592a..ecea6f8 100644 --- a/PINOperation.podspec +++ b/PINOperation.podspec @@ -9,7 +9,7 @@ Pod::Spec.new do |s| s.requires_arc = true s.frameworks = 'Foundation' s.ios.deployment_target = '5.0' - s.osx.deployment_target = '10.7' + s.osx.deployment_target = '10.8' s.tvos.deployment_target = '9.0' s.watchos.deployment_target = '2.0' pch_PIN = <<-EOS diff --git a/Source/PINOperationQueue.h b/Source/PINOperationQueue.h index 8e87675..07eacbe 100644 --- a/Source/PINOperationQueue.h +++ b/Source/PINOperationQueue.h @@ -57,8 +57,6 @@ PINOP_SUBCLASSING_RESTRICTED * * @param operation The operation object to be added to the queue. * @param priority The execution priority of the operation in an operation queue. - * - * @discussion */ - (id )scheduleOperation:(dispatch_block_t)operation withPriority:(PINOperationQueuePriority)priority; @@ -71,8 +69,6 @@ PINOP_SUBCLASSING_RESTRICTED * @param coalescingData The optional data consumed by this operation that needs to be updated/coalesced with data of a new operation when coalescing the two operations happens. * @param dataCoalescingBlock The optional block called to update/coalesce the data of this operation with data of a new operation when coalescing the two operations happens. * @param completion The block to execute after the operation finished. - * - * @discussion */ - (id )scheduleOperation:(PINOperationBlock)operation withPriority:(PINOperationQueuePriority)priority