sochalewski / UIImageViewAlignedSwift

A UIImageView subclass which allows you to align the image left/right/top/bottom, even when contentMode is AspectFit. Swift now.
MIT License
236 stars 67 forks source link

storyboard problem #6

Closed odedharth closed 8 years ago

odedharth commented 8 years ago

when I try to add user defined attribute I get this error:

Failed to set (alignBottom) user defined inspected property on (UIImageViewAlignedSwift.UIImageViewAligned): [<UIImageViewAlignedSwift.UIImageViewAligned 0x7fe046480f00> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key alignBottom.

sochalewski commented 8 years ago

I dropped alignXproperties in Swift version. You should use alignment in the code instead. Take a look at the #4.