-
Notifications
You must be signed in to change notification settings - Fork 63
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
Add examples to README #31
Conversation
@zenangst, thanks for your PR! By analyzing the history of the files in this pull request, we identified @vadymmarkov to be a potential reviewer. |
```swift | ||
let imageView: UIImageView() | ||
let placeholder = UIImage(named: "PlaceholderImage") | ||
let imageURL: NSURL(string: "https://avatars2.githubusercontent.com/u/1340892?v=3&s=200") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean imageURL = URL(string: ...)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is for the 2.2
version.
### Set image with URL | ||
```swift | ||
let imageView: UIImageView() | ||
let imageURL: NSURL(string: "https://avatars2.githubusercontent.com/u/1340892?v=3&s=200") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we will go with URL
😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my previous comment.
This PR adds a description and some code examples to show how
Imaginary
is used.