Type Aliases

The following type aliases are available globally.

JSON Base

FWBlock

  • 通用无参数block

    Declaration

    Swift

    public typealias FWBlockVoid = () -> ()
  • 通用Any参数block

    Declaration

    Swift

    public typealias FWBlockParam = (Any?) -> ()
  • 通用Bool参数block

    Declaration

    Swift

    public typealias FWBlockBool = (Bool) -> ()
  • 通用Int参数block

    Declaration

    Swift

    public typealias FWBlockInt = (Int) -> ()
  • 通用Double参数block

    Declaration

    Swift

    public typealias FWBlockDouble = (Double) -> ()
  • 通用(Bool, Any)参数block

    Declaration

    Swift

    public typealias FWBlockBoolParam = (Bool, Any?) -> ()