LicenseGenerator-iOS icon indicating copy to clipboard operation
LicenseGenerator-iOS copied to clipboard

Additional LicensesViewControllerConfiguration-struct

Open BBJake opened this issue 5 years ago • 1 comments

For one of our projects we had the need to configure the fonts and the colors of the license. Because of that we added a struct to configure that...

Example: var licensesViewControllerConfiguration = LicensesViewControllerConfiguration() licensesViewControllerConfiguration.tableViewBackgroundColor = AppConstants.Color.skySilver licensesViewControllerConfiguration.tableViewSeparatorColor = AppConstants.Color.icebergBlue licensesViewControllerConfiguration.cellBackgroundColor = AppConstants.Color.white licensesViewControllerConfiguration.cellTitleFontColor = AppConstants.Color.companyBlue licensesViewControllerConfiguration.cellTitleFont = AppConstants.Font.exoSemiBold(in: 16) licensesViewControllerConfiguration.cellBodyFontColor = AppConstants.Color.companyBlue licensesViewControllerConfiguration.cellBodyFont = AppConstants.Font.sourceSansRegular(in: 14)

        licensesController.configuration = licensesViewControllerConfiguration

BBJake avatar Jan 21 '21 16:01 BBJake

Code Climate has analyzed commit 301683f4 and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

View more on Code Climate.

qlty-cloud-legacy[bot] avatar Jul 20 '21 08:07 qlty-cloud-legacy[bot]