Skip to content

Releases: wequick/Pbind

Pbind v1.2.4

01 Aug 05:48
Compare
Choose a tag to compare

Pbind v1.2.2

26 Jul 05:03
Compare
Choose a tag to compare
Pbind v1.2.2 Pre-release
Pre-release
1.2.2

Pbind v1.2.1

13 Jul 02:16
Compare
Choose a tag to compare
1.2.1

Pbind v1.2.0

11 Jul 08:01
Compare
Choose a tag to compare
1.2.0

Pbind v1.1.2

26 Apr 18:15
Compare
Choose a tag to compare
1.1.2

Pbind v1.1.0

19 Mar 13:29
Compare
Choose a tag to compare
Pbind v1.1.0 Pre-release
Pre-release

Features:

  1. Support mocking response by debugging server
  2. Support device real-time debugging

Pbind v1.0.2

17 Jan 20:21
Compare
Choose a tag to compare

Code breaking:

  1. Set the default sketch width to 320px

Feature:

  1. Reload the specify views that using the plist or layout

Bugfixes:

  1. Fix the enum values of UIBarButtonSystemItem
  2. Reset the nav on plist reloaded

Pbind v1.0.1

16 Jan 18:20
Compare
Choose a tag to compare

Bugfixes:

  1. Fix the inconsistent object passing to PBViewLoadingNotification
  2. Fetch the data while specified view's plist.

Pbind v1.0.0

16 Jan 17:25
Compare
Choose a tag to compare

Code breaking:

  1. Use PBButton instead of UIButton+Pbind. Futhermore, the PBButton supports the configuration of title, image, background image and background color for different control states.
  2. 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.
  3. Use next.done for the accomplishment of PBClientAction and PBNotification.
  4. Use PBSwitch instead of UISwitch category to implement the PBInput protocol.

Feature:

  1. Support configure actions for PBRowMapper.
  2. Support configure addRow and deleteRow action for PBCollectionView.
  3. Support actions with type notify, watch for NSNotification.
  4. Support configure hidden and enabled property for the navigation item defined by nav in Plist.
  5. Add enumerators for UIBarButtonSystemItem, UIBarButtonItemStyle and UITableVie
    wRowActionStyle
    .
  6. Support configure an errorRow for PBInput to display error tips just below the input.
  7. Add grouped property for PBTableViewController to support configuring the style for the controller. If set as YES use UITableViewStyleGrouped.

Bugfixes:

  1. Move the numberOfSectionsInTableView: to PBRowDataSource.
  2. Avoid parsing the nested dictionary as a nil value.
  3. Avoid the nestedly parsing of views and accessoryView dictionary.

Refactors:

  1. Extract PBDataFetcher to fetch data for the view.
  2. Extract PBLayoutConstraint to parse the Pbind-way constraint format language.
  3. Rename the haveNext method to hasNext in PBAction.
  4. Remove the unused references of PBClientMapper.
  5. Remove PBRecord.
  6. Remove NSArray+PBUtils.

Other:

  1. Use PBClient as the default client for debugging while the user does not register any client alias.

Pbind v0.9.0

28 Dec 11:57
Compare
Choose a tag to compare

Features:

  1. Reset to default value for the removed keys of pb_constants and pb_expressions

  2. Add mappers:

    tag mapto
    @> form
    >$ form input value
    >! form input error
    #. action state
    #$ action state data
  3. Add enum:

    tag value
    :changed PBFormValidatingChanged
  4. Add class PBButton which can automatically change background color on:

    • disabled state : color with 20% alpha
    • highlighted state: color with 80% alpha
  5. Add UIView method pb_canPullData to tell whether it can pull data

  6. Add PBSectionMapper properties for mapping PBCollectionView 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
  7. Add PBRowMapper properties:

    property mapping
    size cell size for PBCollectionView
    deleteAction action for the editing(swipe-to-left) UITableViewCell delete button
    actions UITableViewRowAction array for the editing(swipe-to-left) UITableViewCell
  8. Extract PBRowDataSource and PBRowDelegate from PBTableView and PBCollectionView to handle the common PBRowMapping protocol.

  9. Add PBRowAction which accept types:

    type for
    addRow add a row to the top of PBTableView or PBCollectionView
    deleteRow delete the editing(swipe-to-left) row from PBTableView or PBCollectionView
  10. Catch the exception on inconsistent VFL in PBLayoutMapper and give a friendly tips

  11. Catch the exception on KVC failed and give a helpful suggestion

Bugfixes:

  1. Fix the auto-layout for the placeholder label in PBTextView
  2. Fix the scroll offset after hiding keyboard in PBForm
  3. Trigger KVO while call removeObjectForKey: from PBDictionary
  4. Avoid '#' format crash on PBInput
  5. Ensure trigger a value validating after an auto-correction of PBInput

Performance:

  1. Optimize the reloading of PBForm accessory tool bar
  2. Remove unavailable(KVC failed) key from pb_constants and pb_expressions

Other:

  1. Rename PBRequest to _PBRequest but alias to PBRequest to avoid the naming conflict with the private ProtoBuffer framework