Skip to content

Latest commit

 

History

History
109 lines (75 loc) · 4.83 KB

CHANGELOG.md

File metadata and controls

109 lines (75 loc) · 4.83 KB

CHANGELOG

The changelog for SwifterSwiftUI. Also see the releases on GitHub.

Upcoming Release

Added

Changed

Deprecated

Removed

Fixed

Security


Added

Fixed

  • Change some extensions to public

Added

  • SizeViewModifier:

    • This modifier wraps a view into a GeometryReader and tracks the available space. #6 by asam139
  • Mutable Protocol:

    • Adds a helper function to mutate a properties and help implement builder pattern. Very useful to create methods to modify SwiftUI views. #6 by asam139
  • View:

    • onReload(perform:), frame(size:), sizeTrackable(_:). #6 by asam139

Added

  • Utils:
    • ifLet(value:, empty:, then:), ifLet(value:, empty:, then:, else:). #5 by asam139
  • Optional:

Added

  • Result
    • isSuccess, isFailure, success, failure, init(value:, error:), tryMap(_:), tryMapError(_:). #4 by asam139
  • UserDefaultEnum
    • Property wrapper to use the user's defaults with enum type with string raw value. #4 by asam139
  • UserDefault
    • Property wrapper to use the user's defaults with default types. #4 by asam139

Changed

  • Rename Storage property wrapper to UserDefault. #4 by asam139

Added

  • PublishedOnMain
    • A type that publishes a property marked with an attribute received on the main thread. #3 by asam139
  • Storage
    • Property wrapper to use the user's defaults. #3 by asam139

Added

  • View:
  • Subscribers.Completion:
  • Publisher:
    • sink(receiveCompletion:), sinkToResult(_:), replaceError(_:), ignoreError(). #2 by asam139
  • Image:
    • init(_:, defaultImage:), init(_:, defaultSystemImage:). #1 by asam139
  • Color:
  • View:
    • embedInNavigation(), bind(_:, state:). #1 by asam139

Added

  • LinearGradient:

    • eraseToAnyView(), if(_:, then:), if(_:, then:, else:), conditionalModifier(_:, modifier:), conditionalModifier(_:, trueModifier:, falseModifier:), animateOnAppear(using:, action:), animateOnDisappear(using:, action:). #1 by asam139
  • LinearGradient:

    • init(_:, startPoint:, endPoint). #0 by asam139
  • Utils:

    • ifLet(value:, then:), ifLet(value:, then:, else:). #0 by asam139