目次
Xcode の新機能

A B C D E F G H I J K L

M

ModifiedContent

変更されたコンテンツビューの作成

変更されたコンテンツビューの比較

サポートする型

  • typealias Body
  • 廃止されたインスタンスメソッド

    func accessibility(activationPoint)
      廃止  

    func accessibility(activationPoint)
      廃止  

    func accessibility(addTraits:
      廃止  

    func accessibility(hidden: Bool)
      廃止  

    func accessibility(hint: Text)
      廃止  

    func accessibility(identifier: String)
      廃止  

    func accessibility(inputLabels: [Text])
      廃止  

    func accessibility(label: Text)
      廃止  

    func accessibility(removeTraits: AccessibilityTraits)
      廃止  

    func accessibility(selectionIdentifier: AnyHashable)
      廃止  

    func accessibility(sortPriority: Double)
      廃止  

    func accessibility(value: Text)
      廃止  

  • accessibilityActivationPoint(CGPoint)
  • accessibilityAddTraits(AccessibilityTraits)
  • accessibilityHidden(Bool)
  • accessibilityHint(Text)
  • accessibilityIdentifier(String)
  • accessibilityInputLabels([LocalizedStringKey])
  • accessibilityLabel<S>(S)
  • accessibilitySortPriority(Double)
  • accessibilityValue(Text)
  • 期待と確認

    期待値の確認

  • macro expect(_:_:sourceLocation:)
  • macro require(Bool, @autoclosure () -> Comment?, sourceLocation: SourceLocation)
  • macro require<T>(T?, @autoclosure () -> Comment?, sourceLocation: SourceLocation) -> T
  • エラーが throw されたか確認する

    Swift コード内のエラーのテスト

  • macro expect<E, R>(throws: E.Type, @autoclosure () -> Comment?, sourceLocation: SourceLocation, performing: () async throws -> R) -> E?
  • macro expect<E, R>(throws: E, @autoclosure () -> Comment?, sourceLocation: SourceLocation, performing: () async throws -> R) -> E?
  • macro expect<R>(@autoclosure () -> Comment?, sourceLocation: SourceLocation, performing: () async throws -> R, throws: (any Error) async throws -> Bool) -> (any Error)?   廃止  
  • macro require<E, R>(throws: E.Type, @autoclosure () -> Comment?, sourceLocation: SourceLocation, performing: () async throws -> R) -> E
  • macro require<E, R>(throws: E, @autoclosure () -> Comment?, sourceLocation: SourceLocation, performing: () async throws -> R) -> E
  • macro require<R>(@autoclosure () -> Comment?, sourceLocation: SourceLocation, performing: () async throws -> R, throws: (any Error) async throws -> Bool) -> any Error   廃止  
  • プロセスの終了方法を確認する

    終了テスト

  • macro expect(processExitsWith: ExitTest.Condition, observing: [any PartialKeyPath<ExitTest.Result> & Sendable], @autoclosure () -> Comment?, sourceLocation: SourceLocation, performing: () async throws -> Void) -> ExitTest.Result?
  • macro require(processExitsWith: ExitTest.Condition, observing: [any PartialKeyPath<ExitTest.Result> & Sendable], @autoclosure () -> Comment?, sourceLocation: SourceLocation, performing: () async throws -> Void) -> ExitTest.Result
  • ExitStatus

    列挙型 Case

  • case exitCode(CInt)
  • case signal(CInt)
  • struct ExitTest

    構造体

  • struct ExitTest.Condition
  • 成功した終了の条件

  • static var success: ExitTest.Condition
  • 失敗した終了の条件

  • static var failure: ExitTest.Condition
  • static func exitCode(CInt) -> ExitTest.Condition
  • static func signal(CInt) -> ExitTest.Condition
  • イニシャライザー

  • init(ExitStatus)
  • struct ExitTest.Result

    インスタンスプロパティ

  • var exitStatus: ExitStatus
  • var standardErrorContent: [UInt8]
  • var standardOutputContent: [UInt8]
  • 型プロパティ

  • static var current: ExitTest?


  • N O P Q R S T U V W XYZ