FTPopOverMenu_Swift icon indicating copy to clipboard operation
FTPopOverMenu_Swift copied to clipboard

'FTConfiguration' initializer is inaccessible due to 'internal' protection level

Open Yagnik13 opened this issue 3 years ago • 0 comments

Pod:- pod 'FTPopOverMenu_Swift', '~> 0.1.4' OS:- Catelina iOS:- 14+ Language:- Swift 4+

jus install the pod and try to configure with the below function I'm getting this error

func configWithMenuStyle() -> FTConfiguration { let config = FTConfiguration() config.backgoundTintColor = UIColor.white config.borderColor = UIColor.lightGray config.menuWidth = 80 config.menuSeparatorColor = UIColor.lightGray config.menuRowHeight = 40 config.cornerRadius = 6 config.textColor = UIColor.black config.textAlignment = NSTextAlignment.center return config }

** 'FTConfiguration' initializer is inaccessible due to 'internal' protection level **

Yagnik13 avatar Jun 07 '21 10:06 Yagnik13