Loading Kinetic.xcodeproj/project.pbxproj +2 −0 Original line number Diff line number Diff line Loading @@ -431,6 +431,7 @@ buildSettings = { CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; CLANG_ENABLE_MODULES = YES; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; COMBINE_HIDPI_IMAGES = YES; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; Loading @@ -454,6 +455,7 @@ buildSettings = { CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; CLANG_ENABLE_MODULES = YES; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; COMBINE_HIDPI_IMAGES = YES; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; Loading Kinetic/Session.swift +11 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,17 @@ public class KineticSession { self.sequence = 0 } /// Sends a command to the target device and waits for a response /// /// The type of the result is determined by the command being sent. /// /// Example: /// ```swift /// let response = try session.send(cmd) /// ``` /// /// - Parameter cmd: The command that will be sent. /// - Returns: The response from the device. public func send<C: ChannelCommand>(cmd: C) throws -> C.ResponseType { // Prepare command contents let builder = cmd.build(Builder()) Loading Loading
Kinetic.xcodeproj/project.pbxproj +2 −0 Original line number Diff line number Diff line Loading @@ -431,6 +431,7 @@ buildSettings = { CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; CLANG_ENABLE_MODULES = YES; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; COMBINE_HIDPI_IMAGES = YES; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; Loading @@ -454,6 +455,7 @@ buildSettings = { CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; CLANG_ENABLE_MODULES = YES; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; COMBINE_HIDPI_IMAGES = YES; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; Loading
Kinetic/Session.swift +11 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,17 @@ public class KineticSession { self.sequence = 0 } /// Sends a command to the target device and waits for a response /// /// The type of the result is determined by the command being sent. /// /// Example: /// ```swift /// let response = try session.send(cmd) /// ``` /// /// - Parameter cmd: The command that will be sent. /// - Returns: The response from the device. public func send<C: ChannelCommand>(cmd: C) throws -> C.ResponseType { // Prepare command contents let builder = cmd.build(Builder()) Loading