Skip to content

Latest commit

 

History

History
128 lines (90 loc) · 5.47 KB

File metadata and controls

128 lines (90 loc) · 5.47 KB

Changelog

2.0.3

Public API Changes

  • Removed referenceSize property from DBProfileAccessoryViewLayoutAttributes

Added

  • Added headerReferenceSize property to DBProfileViewController
  • Added avatarReferenceSize property to DBProfileViewController

2.0.2

  • Bug fixes and performance improvements

Added

  • Added overlayView property to DBProfileViewController
  • Added leftBarButtonItem, leftBarButtonItems, rightBarButtonItem, rightBarButtonItems methods to DBProfileViewController
  • Added DBProfileHeaderOverlayView, DBProfileTitleView and DBProfileTintView

2.0.1

  • Bug fixes and performance improvements
  • Improvements and updates to documentation.

2.0.0

Public API Changes

  • This version introduces accessory views and layout attributes. An accessory view is an abstraction of the cover photo and avatar views. Many previously configurable properties of the cover photo and avatar views are now managed through the associated layout attributes object.

1.0.4

Bug Fixes

  • Performance improvements for blurring cover photo.

1.0.3

Bug Fixes

  • Fixed a bug causing the view to be force scrolled to the top when an interactive pop gesture is cancelled.
  • Fixed a bug causing the container view's frame to be calculated incorrectly when vertically compact.
  • When using coverPhotoMimicsNavigationBar navigation bar no longer displays a subtitle when vertically compact.
  • If the selected content controller is changed while the activity indicator is animating it will now stop animating.

Public API Changes

  • Deprecated setCoverPhotoImage:animated: instead use setCoverPhotoImage:animated: of DBCoverPhotoView
  • Deprecated setAvatarImage:animated: instead use setAvatarImage:animated: of DBAvatarView

Added

  • Added shouldApplyTint property to DBCoverPhotoView
  • Added shouldCropImageBeforeBlurring property to DBCoverPhotoView
  • Added blurRadius property to DBCoverPhotoView

1.0.2

Bug Fixes

  • Fixed a bug somtimes causing the profile picture to appear on top of the cover photo when changing segments.
  • Added assertions for when nil is returned from required data source methods
  • Changed from using UIImageEffects to FXBlurView to blur the cover photo.

Public API Changes

  • Renamed selectContentViewControllerAtIndex: to selectContentControllerAtIndex:
  • Changed profileViewController:subtitleForContentControllerAtIndex: to now be optional
  • Renamed DBProfilePictureView class to DBProfileAvatarView
  • Renamed profilePictureView property to avatarView
  • Renamed profileViewController:didSelectProfilePicture: to profileViewController:didSelectAvatarView: in DBProfileViewControllerDelegate
  • Renamed profileViewController:didSelectCoverPhoto: to profileViewController:didSelectCoverPhotoView: in DBProfileViewControllerDelegate
  • Renamed setProfilePicture:animated: to setAvatarImage:animated:
  • Renamed setCoverPhoto:animated: to setCoverPhotoImage:animated:
  • Removed editProfileButton from DBProfileDetailsView

Added

  • Added profileViewController:willSelectContentControllerAtIndex: to DBProfileViewControllerDelegate
  • Added profileViewController:willDeselectContentControllerAtIndex: to DBProfileViewControllerDelegate
  • Added profileViewController:didDeselectContentControllerAtIndex: to DBProfileViewControllerDelegate
  • Added profileViewController:didDeselectCoverPhotoView: to DBProfileViewControllerDelegate
  • Added profileViewController:didHighlightCoverPhotoView: to DBProfileViewControllerDelegate
  • Added profileViewController:didUnhighlightCoverPhotoView: to DBProfileViewControllerDelegate
  • Added profileViewController:didHighlightAvatarView: to DBProfileViewControllerDelegate
  • Added profileViewController:didDeselectAvatarView: to DBProfileViewControllerDelegate
  • Added profileViewController:didUnhighlightAvatarView: to DBProfileViewControllerDelegate
  • Added selectCoverPhotoViewAnimated:
  • Added deselectCoverPhotoViewAnimated:
  • Added selectAvatarViewAnimated:
  • Added deselectAvatarViewAnimated:
  • Added coverPhotoScrollAnimationStyle property

1.0.1

Bug Fixes

  • Improved transition animations when changing size classes (e.g. from portrait to landscape)
  • Fixed memory warnings that sometimes occurred related to blurring the cover photo
  • Performance improvements when loading a profile view controller's view

Public API Changes

  • Renamed setVisibleContentViewControllerAtIndex: to selectContentViewControllerAtIndex:
  • Renamed visibleContentViewControllerIndex property to indexForSelectedContentController
  • Renamed profileViewControllerDidPullToRefresh: to profileViewController:didPullToRefreshContentControllerAtIndex: of DBProfileViewControllerDelegate
  • Removed addContentViewController:
  • Removed addContentViewControllers:
  • Removed insertContentViewController:atIndex:
  • Removed removeContentViewControllerAtIndex:
  • Removed addContentViewControllers:
  • Removed contentViewControllers property
  • Removed segmentedControlView property
  • Removed navigationView property

Added

  • Added initWithSegmentedControlClass:
  • Added segmentedControl property
  • Added beginUpdates, endUpdates and reloadData
  • Added hidesSegmentedControlForSingleContentController property
  • Added coverPhotoMimicsNavigationBarNavigationItem property
  • Added DBProfileViewControllerDataSource
  • Added profileViewController:didSelectContentControllerAtIndex: to DBProfileViewControllerDelegate