This is a known issue with name lookup in Swift. I believe the most recent discussion about a fully-qualified name syntax was here, which would allow you to write something like myLabel.SwiftierSwift::shadowOffset
or myLabel.UIKit::shadowOffset
to pick out the desired property unambiguously (the precise syntax, as you can read in that thread, is highly debated ).
2 Likes