FreakingSimpleRoundImageView 1.3

FreakingSimpleRoundImageView 1.3

Maintained by Anokhov Pavel.




  • By
  • realbonus

FreakingSimpleRoundImageView

Simple RoundImageView

CI Status Version License Platform

Really, really simple round ImageView in Swift, with Interface Builder support. Version 1.3 migrated to Swift 4.2

Attributes inspector

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

FreakingSimpleRoundImageView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'FreakingSimpleRoundImageView'

Using

  1. Open your storyboard, put an ImageView on your scene.
  2. Open Identity tab (cmd+alt+3). Set a RoundImageView class for it.
  3. Wait a second or two for "Designables: Up to date" line.
  4. Go on Attributes tab (cmd+alt+4), set a border width and border color
  5. On Attributes tab, set 'Clip to bounds' flag.
  6. Be happy.

Author

realbonus, [email protected]

License

FreakingSimpleRoundImageView is available under the MIT license. See the LICENSE file for more info.

Image credits: Starwars.com