AccessMod - XcodeExtKit/XcodeExtBase GitHub Wiki

AccessMod

public enum AccessMod

Inheritance

Str, StrEnumT

Enumeration Cases

_private

case _private

_fileprivate

case _fileprivate

_public

case _public

_internal

case _internal

_open

case _open

Methods

extractMod(_:)

returns a String without prepended AccessMod (if it's present) and the mod which was found

static func extractMod(_ line: Str) -> (Str, AccessMod)?