Skip to content
View yannxou's full-sized avatar
Block or Report

Block or report yannxou

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. PreviewResizable PreviewResizable Public

    View modifier that allows custom resizing in SwiftUI previews. Useful to quickly check how views adapt to different sizes.

    Swift 20

  2. TapTempoButton TapTempoButton Public

    SwiftUI View to easily add tap tempo functionality to music apps.

    Swift 1

  3. SwiftUI: Synchronize bindings SwiftUI: Synchronize bindings
    1
    import SwiftUI
    2
    
                  
    3
    extension View {
    4
    
                  
    5
        /// Synchronizes the bindings so changes in any of them are propagated to the other.
  4. XCTAssert helpers for Collections XCTAssert helpers for Collections
    1
    import XCTest
    2
    
                  
    3
    func XCTAssertEmpty<T>(_ expression: @autoclosure () throws -> T, _ message: @autoclosure () -> String = "", file: StaticString = #filePath, line: UInt = #line) where T : Collection {
    4
        XCTAssertTrue(try expression().isEmpty, message(), file: file, line: line)
    5
    }
  5. PublisherExpectations PublisherExpectations Public

    XCTestExpectation subclasses to simplify Publisher testing and improve test readability

    Swift 4 1