FTPopOverMenu_Swift
FTPopOverMenu_Swift copied to clipboard
'FTConfiguration' initializer is inaccessible due to 'internal' protection level
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 **