Skip to content

Commit

Permalink
Make public the UIBezierPath helper using Box.CornerStyle (#506)
Browse files Browse the repository at this point in the history
Exposes the convenience initializer on `UIBezierPath` that accepts a
`Box.CornerStyle`.
  • Loading branch information
g-mark authored Aug 2, 2024
2 parents 719ab73 + 12262ff commit 386f324
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import UIKit

extension UIBezierPath {

convenience init(
public convenience init(
rect: CGRect,
corners: Box.CornerStyle
) {
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Made public the `UIBezierPath` convenience init that uses a `Box.CornerStyle`.

### Removed

### Changed
Expand Down

0 comments on commit 386f324

Please sign in to comment.