Skip to content

Customise corner radius for day selection #379

Open
@gerchicov-vg

Description

@gerchicov-vg

New Issue Checklist

Issue Description

In my particular case I need to make a corner radius smaller. And currently it requires to edit inner library code.

Code I'm using with CalendarKit

Result I am trying to achieve

As I understand this corner radius is set here:
https://github.com/richardtop/CalendarKit/blob/master/Sources/Header/DaySelector/DateLabel.swift

    override public func layoutSubviews() {
        layer.cornerRadius = bounds.height / 2
    }

there is also an option private var style = DaySelectorStyle() which could contain an info about corner radius.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions