Property - XcodeExtKit/XcodeExtBase GitHub Wiki
Property
(public) var cat: Cat
public struct Property: SwiftT, CanBeStaticP, HasAccessModP
Inheritance
HasAccessModP
, CanBeStaticP
, SwiftT
Initializers
init(_:_:_static:_:)
init(_ arg: Arg, _ varType: VarType, _static: Bool = false, _ access: AccessMod? = nil)
init(name:type:_:optional:_static:_:)
public static var str: Str?
init(name: Str, type: Str, _ varType: VarType, optional: Bool = false, _static: Bool = false, _ access: AccessMod? = nil)
Properties
arg
var arg: Arg
access
var access: AccessMod?
varType
if false it's computed
var varType: VarType
_static
var _static: Bool
str
(public) var cat: Cat
var str: Str
Methods
computedStr(getterStatements:setterStatements:)
produces computed property with format { get {...} \n set {...} }
func computedStr(getterStatements: [Str], setterStatements: [Str]) -> Str?