Skip to content

Commit 4670d17

Browse files
committed
Use designated initializer
1 parent a6d862e commit 4670d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Code/CCBufferedImageView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class CCBufferedImageView : UIImageView, NSURLConnectionDataDelegate {
3131

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

3636
backgroundColor = UIColor.grayColor()
3737
load(URL)

0 commit comments

Comments
 (0)