Skip to content

Commit

Permalink
Fixed spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey.afanasiev committed Jun 7, 2017
1 parent 3442a48 commit b95c7c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ if let item = MediaItem(url: url) {
let logoImage = UIImage(named: "rglogo")

let firstElement = MediaElement(image: logoImage!)
firstElement.frame = CGRect(x: 0, y: 0, width: logoImage!.size.width, height: logoImage!.size.height)
firstElement.frame = CGRect(x: 0, y: 0, width: logoImage!.size.width, height: logoImage!.size.height)

let secondElement = MediaElement(image: logoImage!)
secondElement.frame = CGRect(x: 150, y: 150, width: logoImage!.size.width, height: logoImage!.size.height)
secondElement.frame = CGRect(x: 150, y: 150, width: logoImage!.size.width, height: logoImage!.size.height)

item.add(elements: [firstElement, secondElement])
item.add(elements: [firstElement, secondElement])

let mediaProcessor = MediaProcessor()
let mediaProcessor = MediaProcessor()
mediaProcessor.processElements(item: item) { [weak self] (result, error) in
// handle result
}
Expand Down

0 comments on commit b95c7c4

Please sign in to comment.