Skip to content

Commit

Permalink
Release 0.2.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
seeppp committed Jul 5, 2016
1 parent ab336f3 commit c07a3aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions PlainPing.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |s|
s.name = "PlainPing"
s.version = "0.2"
s.version = "0.2.1"
s.summary = "a very plain ping interface in swift"

# s.description = <<-DESC
Expand All @@ -19,7 +19,7 @@ Pod::Spec.new do |s|
s.requires_arc = true

s.source_files = 'Pod/Classes/**/*'
s.resource_bundles = {
'PlainPing' => ['Pod/Assets/*.png']
}
#s.resource_bundles = {
# 'PlainPing' => ['Pod/Assets/*.png']
#}
end
2 changes: 1 addition & 1 deletion Pod/Classes/SimplePingAdapter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class SimplePingAdapter: NSObject, SimplePingDelegate {
// MARK: - Simple Ping Delegates

func simplePing(pinger: SimplePing!, didStartWithAddress address: NSData!) {
timeoutTimer = NSTimer.scheduledTimerWithTimeInterval(timeoutDuration, target: self, selector: "timeout", userInfo: nil, repeats: false)
timeoutTimer = NSTimer.scheduledTimerWithTimeInterval(timeoutDuration, target: self, selector: #selector(SimplePingAdapter.timeout), userInfo: nil, repeats: false)
pinger.sendPingWithData(nil)
}

Expand Down

0 comments on commit c07a3aa

Please sign in to comment.