Skip to content

Commit 1739ddd

Browse files
committed
Comment aesthetic changes
1 parent 73b34b2 commit 1739ddd

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

Source/NativePusher.swift

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import Foundation
22

33
/**
4-
An interface to Pusher's native push notification service.
5-
The service is a pub-sub system for push notifications.
6-
Notifications are published to "interests".
7-
Clients (such as this app instance) subscribe to those interests.
8-
9-
A per-app singleton of NativePusher is available via an instance of Pusher.
10-
Use the Pusher.nativePusher() method to get access to it.
11-
*/
4+
An interface to Pusher's native push notification service.
5+
The service is a pub-sub system for push notifications.
6+
Notifications are published to "interests".
7+
Clients (such as this app instance) subscribe to those interests.
8+
9+
A per-app singleton of NativePusher is available via an instance of Pusher.
10+
Use the Pusher.nativePusher() method to get access to it.
11+
*/
1212
public class NativePusher {
1313
static let sharedInstance = NativePusher()
1414

@@ -39,10 +39,10 @@ public class NativePusher {
3939
}
4040

4141
/**
42-
Registers this app instance with Pusher for push notifications.
43-
This must be done before we can subscribe to interests.
44-
Registration happens asynchronously; any errors are reported by print statements.
45-
*/
42+
Registers this app instance with Pusher for push notifications.
43+
This must be done before we can subscribe to interests.
44+
Registration happens asynchronously; any errors are reported by print statements.
45+
*/
4646
public func register(deviceToken : NSData) {
4747
let request = NSMutableURLRequest(URL: NSURL(string: CLIENT_API_V1_ENDPOINT + "/clients")!)
4848
request.HTTPMethod = "POST"
@@ -101,16 +101,16 @@ public class NativePusher {
101101
}
102102

103103
/**
104-
Subscribe to an interest with Pusher's Push Notification Service
105-
*/
104+
Subscribe to an interest with Pusher's Push Notification Service
105+
*/
106106
public func subscribe(interestName: String) {
107107
outbox.append(interestName, SubscriptionChange.Subscribe)
108108
tryFlushOutbox()
109109
}
110110

111111
/**
112-
Unsubscribe from an interest with Pusher's Push Notification Service
113-
*/
112+
Unsubscribe from an interest with Pusher's Push Notification Service
113+
*/
114114
public func unsubscribe(interestName: String) {
115115
outbox.append(interestName, SubscriptionChange.Unsubscribe)
116116
tryFlushOutbox()

0 commit comments

Comments
 (0)