目次
Xcode の新機能

A B C

D

コード化と復号化のキー

protocol DecodableAttributedStringKey

値の復号化

  • static func decode(from: Decoder) -> Self.Value
  • static func decode(from: Decoder) -> Self.Value
  • static func decode(from: Decoder) -> Self.Value
  • イニシャライザ

  • init(from:)
  • init(from:)
  • protocol EncodableAttributedStringKey

    値のコード化

  • static func encode(Self.Value, to: Encoder)
  • static func encode(Self.Value, to: Encoder)
  • static func encode(Self.Value, to: Encoder)
  • func encode(to: Encoder) throws
  • func encode(to: Encoder) throws

  • typealias CodableAttributedStringKey
  • macro DebugDescription()

  • DateComponents

    日付コンポーネントの初期化

  • init(calendar: Calendar?, timeZone: TimeZone?, era: Int?, year: Int?, month: Int?, day: Int?, hour: Int?, minute: Int?, second: Int?, nanosecond: Int?, weekday: Int?, weekdayOrdinal: Int?, quarter: Int?, weekOfMonth: Int?, weekOfYear: Int?, yearForWeekOfYear: Int?)
  • var calendar: Calendar?
  • var timeZone: TimeZone?
  • 日付の検証

  • var isValidDate: Bool
  • func isValidDate(in: Calendar) -> Bool
  • var date: Date?
  • 月と年へのアクセス

  • var era: Int?
  • var year: Int?
  • var yearForWeekOfYear: Int?
  • var quarter: Int?
  • var month: Int?
  • var isLeapMonth: Bool?
  • 週と日へのアクセス

  • var weekOfMonth: Int?
  • var weekOfYear: Int?
  • var weekday: Int?
  • var weekdayOrdinal: Int?
  • var day: Int?
  • 時間と秒へのアクセス

  • var hour: Int?
  • var minute: Int?
  • var second: Int?
  • var nanosecond: Int?
  • カレンダーコンポーネントへのアクセス

  • func value(for: Calendar.Component) -> Int?
  • func setValue(Int?, for: Calendar.Component)
  • enum Calendar.Component
  • 日付コンポーネントの比較

  • static func != (DateComponents, DateComponents) -> Bool
  • static func == (DateComponents, DateComponents) -> Bool
  • 日付コンポーネントの説明

  • var description: String
  • var debugDescription: String
  • var customMirror: Mirror
  • var hashValue: Int
  • 参照型の使用

  • class NSDateComponents
  • typealias DateComponents.ReferenceType
  • 型エイリアス

  • typealias DateComponents.Specification
  • typealias DateComponents.UnwrappedType
  • typealias DateComponents.ValueType
  • イニシャライザ

  • init(from: any Decoder)
  • init(subscriptionPeriod: Product.SubscriptionPeriod)
  • インスタンスプロパティ

  • var dayOfYear: Int?
  • 型プロパティ

  • static var defaultResolverSpecification: ResolverSpecification
  • インスタンスメソッド

  • func encode(to: any Encoder)
  • func hash(into: inout Hasher)


  • E F G H I J K L M N O P Q R S T U V W XYZ