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
actions
for PBRowMapper. - Support configure
addRow
anddeleteRow
action 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_constants
andpb_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
PBButton
which can automatically change background color on:- disabled state : color with 20% alpha
- highlighted state: color with 80% alpha
-
Add UIView method
pb_canPullData
to tell whether it can pull data -
Add
PBSectionMapper
properties for mappingPBCollectionView
section: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
PBRowMapper
properties:property mapping size cell size for PBCollectionView
deleteAction action for the editing(swipe-to-left) UITableViewCell
delete buttonactions UITableViewRowAction
array for the editing(swipe-to-left)UITableViewCell
-
Extract
PBRowDataSource
andPBRowDelegate
fromPBTableView
andPBCollectionView
to handle the commonPBRowMapping
protocol. -
Add
PBRowAction
which accept types:type for addRow add a row to the top of PBTableView
orPBCollectionView
deleteRow delete the editing(swipe-to-left) row from PBTableView
orPBCollectionView
-
Catch the exception on inconsistent
VFL
inPBLayoutMapper
and 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
PBForm
accessory tool bar - Remove unavailable(KVC failed) key from
pb_constants
andpb_expressions
Other:
- Rename
PBRequest
to_PBRequest
but alias toPBRequest
to avoid the naming conflict with the privateProtoBuffer
framework