Skip to content

Commit

Permalink
Use designated initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
neonichu committed Apr 13, 2015
1 parent a6d862e commit 4670d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/CCBufferedImageView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class CCBufferedImageView : UIImageView, NSURLConnectionDataDelegate {

/// Initialize a new image view and start loading a JPEG from the given URL
public init(URL: NSURL) {
super.init()
super.init(image: nil)

backgroundColor = UIColor.grayColor()
load(URL)
Expand Down

0 comments on commit 4670d17

Please sign in to comment.