Swift 標準ライブラリ   >     CustomReflectable
プロトコル
CustomReflectable
独自のミラーを明示的に提供するタイプ。
概観
Mirror(reflect:) イニシャライザを使用して任意の型のミラーを作成できますが、デフォルトであなたの型に提供されているミラーに満足できない場合は、CustomReflectable に準拠させてカスタムミラーインスタンスを返すことができます。
プロトコル要件
インスタンスプロパティー
var ustomMirror: Mirror
このインスタンスのカスタムのミラー。
関連
以下で採用:
- AnyHashable
- Array
- ArraySlice
- Bool
- Calendar
- CGFloat
- CGPoint
- CGRect
- CGSize
- Character
- ClosedRange
- CollectionOfOne
- ContiguousArray
- CountableClosedRange
- CountableRange
- Data
- Date
- DateComponents
- DateInterval
- Dictionary
- DictionaryIterator
- Double
- Float
- Int
- IndexPath
- IndexSet
- Int16
- Int32
- Int64
- Int8
- Locale
- Measurement
- Mirror
- Notification
- NSArray
- NSCountedSet