ortuman / SwiftForms

A small and lightweight library written in Swift that allows you to easily create forms.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'automaticDimension' has been renamed to 'UITableViewAutomaticDimension'

royalcheese71 opened this issue · comments

Hi there,

I'm here to report a matter :

The upload class "FormSection" from pod install got these lines :

public var headerViewHeight: CGFloat = UITableView.automaticDimension
 public var footerViewHeight: CGFloat = UITableView.automaticDimension

Which have to be replaced by

public var headerViewHeight: CGFloat = UITableViewAutomaticDimension
public var footerViewHeight: CGFloat = UITableViewAutomaticDimension

As the correction take three sec with "unlock" and replace it with the proposal, i guess that no report of this problem have been made (or I didn't seen the topic, by bad if so)
But it could be great if this could be add on the pod package =)

Have a nice day and thanks a lot !

The renaming happened the opposite way! Try commenting out the pod, install, then uncomment, install again.