Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove annoying printing #247

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions netfox/Core/NFXHTTPModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ fileprivate func < <T : Comparable>(lhs: T?, rhs: T?) -> Bool {
@objc public func readRawData(from fileURL: URL) -> Data? {
do {
return try Data(contentsOf: fileURL)
} catch let error {
print("[NFX]: Failed to load data from [\(fileURL)] - \(error.localizedDescription)")
} catch {
return nil
}
}
Expand Down
12 changes: 0 additions & 12 deletions netfox/iOS/NFXHelper_iOS.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,6 @@

import UIKit

extension UIWindow {
override open func motionEnded(_ motion: UIEvent.EventSubtype, with event: UIEvent?) {
if NFX.sharedInstance().getSelectedGesture() == .shake {
if (event!.type == .motion && event!.subtype == .motionShake) {
NFX.sharedInstance().motionDetected()
}
} else {
super.motionEnded(motion, with: event)
}
}
}

public extension UIDevice {

class func getNFXDeviceType() -> String {
Expand Down