Updated to xcode7-beta I run across a new kind of warning. Here is my code
override func layoutAttributesForElementsInRect(rect: CGRect) -&g
You have created that object as var object but value of that object not changing then after better to make it let. That's it.
As per Apple Developer Guidelines, create var object if value of that object is going to change else create let variable. Best practise