- Removed
referenceSizeproperty fromDBProfileAccessoryViewLayoutAttributes
- Added
headerReferenceSizeproperty toDBProfileViewController - Added
avatarReferenceSizeproperty toDBProfileViewController
- Bug fixes and performance improvements
- Added
overlayViewproperty toDBProfileViewController - Added
leftBarButtonItem,leftBarButtonItems,rightBarButtonItem,rightBarButtonItemsmethods toDBProfileViewController - Added
DBProfileHeaderOverlayView,DBProfileTitleViewandDBProfileTintView
- Bug fixes and performance improvements
- Improvements and updates to documentation.
- 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.
- Performance improvements for blurring cover photo.
- 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
coverPhotoMimicsNavigationBarnavigation 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.
- Deprecated
setCoverPhotoImage:animated:instead usesetCoverPhotoImage:animated:ofDBCoverPhotoView - Deprecated
setAvatarImage:animated:instead usesetAvatarImage:animated:ofDBAvatarView
- Added
shouldApplyTintproperty toDBCoverPhotoView - Added
shouldCropImageBeforeBlurringproperty toDBCoverPhotoView - Added
blurRadiusproperty toDBCoverPhotoView
- 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
UIImageEffectstoFXBlurViewto blur the cover photo.
- Renamed
selectContentViewControllerAtIndex:toselectContentControllerAtIndex: - Changed
profileViewController:subtitleForContentControllerAtIndex:to now be optional - Renamed
DBProfilePictureViewclass toDBProfileAvatarView - Renamed
profilePictureViewproperty toavatarView - Renamed
profileViewController:didSelectProfilePicture:toprofileViewController:didSelectAvatarView:inDBProfileViewControllerDelegate - Renamed
profileViewController:didSelectCoverPhoto:toprofileViewController:didSelectCoverPhotoView:inDBProfileViewControllerDelegate - Renamed
setProfilePicture:animated:tosetAvatarImage:animated: - Renamed
setCoverPhoto:animated:tosetCoverPhotoImage:animated: - Removed
editProfileButtonfromDBProfileDetailsView
- Added
profileViewController:willSelectContentControllerAtIndex:toDBProfileViewControllerDelegate - Added
profileViewController:willDeselectContentControllerAtIndex:toDBProfileViewControllerDelegate - Added
profileViewController:didDeselectContentControllerAtIndex:toDBProfileViewControllerDelegate - Added
profileViewController:didDeselectCoverPhotoView:toDBProfileViewControllerDelegate - Added
profileViewController:didHighlightCoverPhotoView:toDBProfileViewControllerDelegate - Added
profileViewController:didUnhighlightCoverPhotoView:toDBProfileViewControllerDelegate - Added
profileViewController:didHighlightAvatarView:toDBProfileViewControllerDelegate - Added
profileViewController:didDeselectAvatarView:toDBProfileViewControllerDelegate - Added
profileViewController:didUnhighlightAvatarView:toDBProfileViewControllerDelegate - Added
selectCoverPhotoViewAnimated: - Added
deselectCoverPhotoViewAnimated: - Added
selectAvatarViewAnimated: - Added
deselectAvatarViewAnimated: - Added
coverPhotoScrollAnimationStyleproperty
- 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
- Renamed
setVisibleContentViewControllerAtIndex:toselectContentViewControllerAtIndex: - Renamed
visibleContentViewControllerIndexproperty toindexForSelectedContentController - Renamed
profileViewControllerDidPullToRefresh:toprofileViewController:didPullToRefreshContentControllerAtIndex:ofDBProfileViewControllerDelegate - Removed
addContentViewController: - Removed
addContentViewControllers: - Removed
insertContentViewController:atIndex: - Removed
removeContentViewControllerAtIndex: - Removed
addContentViewControllers: - Removed
contentViewControllersproperty - Removed
segmentedControlViewproperty - Removed
navigationViewproperty
- Added
initWithSegmentedControlClass: - Added
segmentedControlproperty - Added
beginUpdates,endUpdatesandreloadData - Added
hidesSegmentedControlForSingleContentControllerproperty - Added
coverPhotoMimicsNavigationBarNavigationItemproperty - Added
DBProfileViewControllerDataSource - Added
profileViewController:didSelectContentControllerAtIndex:toDBProfileViewControllerDelegate