Skip to content

Fix Swift 5.8 warnings #19

Closed
Closed
@mpospese

Description

@mpospese

Xcode 14.3 / Swift 5.8 introduced a new compiler warning. Let's fix it.

File: StepperControl+Appearance+Layout.swift
Warning:

Initializer 'init(topAndBottom:leadingAndTrailing:)' cannot be used in a default argument value because 'YCoreUI' was not imported by this file; this is an error in Swift 6

You just need to add import YCoreUI to the top of the file.

While we're at it, let's update YCoreUI dependency to the latest.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions