Skip to content

Commit

Permalink
Merge pull request #9 from marcelofabri/patch-1
Browse files Browse the repository at this point in the history
Delegate should be weak
  • Loading branch information
glenyi committed May 20, 2015
2 parents d871d2f + 1ee64ff commit fd62e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FloatRatingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class FloatRatingView: UIView {

// MARK: Float Rating View properties

public var delegate: FloatRatingViewDelegate?
public weak var delegate: FloatRatingViewDelegate?

/**
Array of empty image views
Expand Down

0 comments on commit fd62e2d

Please sign in to comment.