Skip to content

Commit

Permalink
Added migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Seyer committed Apr 29, 2015
1 parent 08aba20 commit af4d825
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,16 @@ Installation
3. Add Target **PAYFormBuilder** to your *Target Dependencies* list.
4. `import <PAYFormBuilder/PAYFormBuilder.h>` wherever you want to use the components. You could add it to your Prefix header file, if you want.
Migration
---------
### 1.x -> 2.x
* `PAYFormButton` now has a `label` property instead of `titleLabel`
* `PAYFormView` (and it's subclasses `PAYFormButton`, `PAYFormSingleLineTextField`, etc.) now has a `cell` property, which allows to configure or replace the cell. Still use the `view` property to add subviews.
* The names of the `PAYFormButtonStyle`s were [changed](https://github.com/Eldorado234/PAYFormBuilder/commit/b0c297c1ef233cd90965226d6aaf243adc1e7641)
* All frame calculations were replaced by auto layout, so frames should't be set manually anymore
* `initWithFrame:` calls should be removed
* Use the all new theming API to style your forms
Requirements
------------
* iOS 7+
Expand Down

0 comments on commit af4d825

Please sign in to comment.