New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update DropDown #24
Comments
Hello @J-Arji, Thanks for using this library! :) Can you show the code where you are using the |
i import with cocoapods an using in swift code:
|
Thanks for the follow-up! 👍 So the only line that's causing problem seems to be dropDown.anchorView = actionButton Did you try compiling with this line in comment? |
Hey @kevin-hirsch I just updated to v1.0 (congrats on the full release) and using your pod from an Objective-C view controller I experience this issue also. It appears that the |
Adding @objc public protocol AnchorView: class {
var plainView: UIView { get }
} |
Hello @markedwardmurray, thanks! :) public protocol AnchorView: class {
var plainView: UIView { get }
} Did you try adding an |
Ok, perfect! I'll add this now 👍 |
Yup, that's literally all it needs! I did have to avoid using the |
You can access the view through |
oh nice! thanks for the tip on that :) |
Done in 9d734e5. I will create a new version 1.0.1 for CocoaPods and Carthage. |
Actually, the reason I now use an extension UIView: AnchorView {
public var plainView: UIView {
return self
}
}
extension UIBarButtonItem: AnchorView {
public var plainView: UIView {
return valueForKey("view") as! UIView
}
} So |
Version 1.0.1 available on CocoaPods and Carthage! 🎉 @J-Arji Can you confirm that you don't have the issue anymore? |
thanks @kevin-hirsch :) # |
doesn't work anymore in iOS 11. |
I AM Facing the issue with Large Text in the DropDown Can u please share how to handle. EX: DropDown.dataSource = ["asfasdfadfhsfasfsadfsadfdsafgafskhfhskafhfahahfshfkj"] DropDown not showing the Anchor width. |
hi
i update DropDown from 1 to 1.5 but when running program app not working and error
"DropDown.DropDown.anchorView.setter : weak DropDown.AnchorView?", referenced from:
The text was updated successfully, but these errors were encountered: