Releases: wequick/Pbind
Pbind v1.2.4
Pbind v1.2.2
1.2.2
Pbind v1.2.1
1.2.1
Pbind v1.2.0
1.2.0
Pbind v1.1.2
1.1.2
Pbind v1.1.0
Features:
- Support mocking response by debugging server
- Support device real-time debugging
Pbind v1.0.2
Code breaking:
- Set the default sketch width to 320px
Feature:
- Reload the specify views that using the plist or layout
Bugfixes:
- Fix the enum values of UIBarButtonSystemItem
- Reset the nav on plist reloaded
Pbind v1.0.1
Bugfixes:
- Fix the inconsistent object passing to
PBViewLoadingNotification - Fetch the data while specified view's plist.
Pbind v1.0.0
Code breaking:
- Use PBButton instead of UIButton+Pbind. Futhermore, the PBButton supports the configuration of title, image, background image and background color for different control states.
- Use formats instead of constraints in PBLayoutMapper. And the constraints is used to support the configuration of Pbind-way constraint format. More details refer to Pbind document.
- Use next.done for the accomplishment of PBClientAction and PBNotification.
- Use PBSwitch instead of UISwitch category to implement the PBInput protocol.
Feature:
- Support configure
actionsfor PBRowMapper. - Support configure
addRowanddeleteRowaction for PBCollectionView. - Support actions with type notify, watch for NSNotification.
- Support configure hidden and enabled property for the navigation item defined by nav in Plist.
- Add enumerators for UIBarButtonSystemItem, UIBarButtonItemStyle and UITableVie
wRowActionStyle. - Support configure an errorRow for PBInput to display error tips just below the input.
- Add grouped property for PBTableViewController to support configuring the style for the controller. If set as YES use UITableViewStyleGrouped.
Bugfixes:
- Move the
numberOfSectionsInTableView:to PBRowDataSource. - Avoid parsing the nested dictionary as a nil value.
- Avoid the nestedly parsing of views and accessoryView dictionary.
Refactors:
- Extract PBDataFetcher to fetch data for the view.
- Extract PBLayoutConstraint to parse the Pbind-way constraint format language.
- Rename the haveNext method to hasNext in PBAction.
- Remove the unused references of PBClientMapper.
- Remove PBRecord.
- Remove NSArray+PBUtils.
Other:
- Use PBClient as the default client for debugging while the user does not register any client alias.
Pbind v0.9.0
Features:
-
Reset to default value for the removed keys of
pb_constantsandpb_expressions -
Add mappers:
tag mapto @> form >$ form input value >! form input error #. action state #$ action state data -
Add enum:
tag value :changed PBFormValidatingChanged -
Add class
PBButtonwhich can automatically change background color on:- disabled state : color with 20% alpha
- highlighted state: color with 80% alpha
-
Add UIView method
pb_canPullDatato tell whether it can pull data -
Add
PBSectionMapperproperties for mappingPBCollectionViewsection:property for item section cell items section cells inset inset for section inner minimum inter item spacing(width) and line spacing(height) for section -
Add
PBRowMapperproperties:property mapping size cell size for PBCollectionViewdeleteAction action for the editing(swipe-to-left) UITableViewCelldelete buttonactions UITableViewRowActionarray for the editing(swipe-to-left)UITableViewCell -
Extract
PBRowDataSourceandPBRowDelegatefromPBTableViewandPBCollectionViewto handle the commonPBRowMappingprotocol. -
Add
PBRowActionwhich accept types:type for addRow add a row to the top of PBTableVieworPBCollectionViewdeleteRow delete the editing(swipe-to-left) row from PBTableVieworPBCollectionView -
Catch the exception on inconsistent
VFLinPBLayoutMapperand give a friendly tips -
Catch the exception on KVC failed and give a helpful suggestion
Bugfixes:
- Fix the auto-layout for the placeholder label in
PBTextView - Fix the scroll offset after hiding keyboard in
PBForm - Trigger KVO while call
removeObjectForKey:fromPBDictionary - Avoid '#' format crash on
PBInput - Ensure trigger a value validating after an auto-correction of
PBInput
Performance:
- Optimize the reloading of
PBFormaccessory tool bar - Remove unavailable(KVC failed) key from
pb_constantsandpb_expressions
Other:
- Rename
PBRequestto_PBRequestbut alias toPBRequestto avoid the naming conflict with the privateProtoBufferframework