mirror of
https://github.com/google/GoogleDataTransport
synced 2026-11-09 22:25:53 +05:45
Resync swiftformat (#148)
This commit is contained in:
1 parent
fa012de3b4
commit
1352cc07aa
12 files changed
+25
-14
No files matched your search
@@ -2,9 +2,6 @@ name: check
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/check.yml'
|
||||
- 'GoogleDataTransport**'
|
||||
push:
|
||||
branches: main
|
||||
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
# Formatting Options - Mimic Google style
|
||||
--indent 2
|
||||
--maxwidth 100
|
||||
--wrapparameters afterfirst
|
||||
|
||||
# Disabled Rules
|
||||
|
||||
# Too many of our swift files have simplistic examples. While technically
|
||||
# it's correct to remove the unused argument labels, it makes our examples
|
||||
# look wrong.
|
||||
--disable unusedArguments
|
||||
|
||||
# We prefer trailing braces.
|
||||
--disable wrapMultilineStatementBraces
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import Foundation
|
||||
import Dispatch
|
||||
import Foundation
|
||||
import GoogleDataTransport
|
||||
|
||||
public extension ViewController {
|
||||
|
||||
+1
-1
@@ -14,9 +14,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import UserNotifications
|
||||
import FirebaseMessaging
|
||||
import GoogleDataTransport
|
||||
import UserNotifications
|
||||
|
||||
class NotificationService: UNNotificationServiceExtension {
|
||||
var contentHandler: ((UNNotificationContent) -> Void)?
|
||||
|
||||
+1
-1
@@ -14,9 +14,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import WatchKit
|
||||
import Foundation
|
||||
import GoogleDataTransport
|
||||
import WatchKit
|
||||
|
||||
class InterfaceController: WKInterfaceController {
|
||||
var transport = GDTCORTransport(mappingID: "1018", transformers: nil, target: GDTCORTarget.FLL)!
|
||||
|
||||
+1
-1
@@ -14,9 +14,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import WatchKit
|
||||
import Foundation
|
||||
import UserNotifications
|
||||
import WatchKit
|
||||
|
||||
class NotificationController: WKUserNotificationInterfaceController {
|
||||
override init() {
|
||||
|
||||
+1
-1
@@ -14,9 +14,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import WatchKit
|
||||
import Foundation
|
||||
import GoogleDataTransport
|
||||
import WatchKit
|
||||
|
||||
class InterfaceController: WKInterfaceController {
|
||||
var transport = GDTCORTransport(mappingID: "1018", transformers: nil, target: GDTCORTarget.FLL)!
|
||||
|
||||
+1
-1
@@ -14,9 +14,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import WatchKit
|
||||
import Foundation
|
||||
import UserNotifications
|
||||
import WatchKit
|
||||
|
||||
class NotificationController: WKUserNotificationInterfaceController {
|
||||
override init() {
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import Foundation
|
||||
import Dispatch
|
||||
import Foundation
|
||||
import GoogleDataTransport
|
||||
|
||||
public extension ViewController {
|
||||
|
||||
+2
-2
@@ -14,9 +14,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import WatchKit
|
||||
import Foundation
|
||||
import Dispatch
|
||||
import Foundation
|
||||
import WatchKit
|
||||
|
||||
import GoogleDataTransport
|
||||
|
||||
|
||||
+1
-1
@@ -14,9 +14,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import WatchKit
|
||||
import Foundation
|
||||
import UserNotifications
|
||||
import WatchKit
|
||||
|
||||
class NotificationController: WKUserNotificationInterfaceController {
|
||||
override init() {
|
||||
|
||||
Reference in new issue
Block a user