Releases: PowerUpX/PowerUpSwift
Releases · PowerUpX/PowerUpSwift
2.1.4
2.0.0
Changes
- All
PowerUp-prefixes of the classes have been changed toPU-. For example, usePUViewinstead ofPowerUpView. - The
public init(_:)function on theBoolextension has been removed since it's not useful. - The
asFullAddresscomputed property onCLPlacemarkextension has been renamed tofullAddress. - The
asJSONcomputed property onDataextension has been renamed tojson. - The
asJSONcomputed property onStringextension has been renamed tojson. - The
extractedJWTPayloadcomputed property onStringextension has been renamed tojwtPayload. - The
heightConstraintandwidthConstraintcomputed properties onUIViewextensions have been removed. - The
hideKeyboardWhenTappedOutside()function onUIViewControllerextension has been renamed todismissKeyboardWhenTappedOutside(). - The
showInFullScreen(completion:)function onUIViewControllerextension has been removed since it no longer works starting in iOS 13. - Documentation has been moved to https://github.com/PowerUpX/PowerUpSwiftDocs
2.0.0-beta.1
Changes:
- Changed all
PowerUp-prefixes of the classes toPU-. - Made major updates on the structure.
- Made major updates to the documentation comments.
New extensions:
- Added
localized(in:comment:) -> Stringfunction toBundleextension.
Bug fixes:
- Fixed the blank image bug when switching to dark/light mode
1.11.3
New extensions:
- Added
isForbiddencomputed property toURLResponseextension. - Added
appNamecomputed property toBundleextension. - Added
isNilOrEmptycomputed property toOptional(String)extension. - Added
pushViewController(_:animated:completion:)function toUINavigationControllerextension. - Added
popViewController(animated:completion:)function toUINavigationControllerextension. - Added
isNotRefreshingcomputed property toUIRefreshControlextension. - Added
deselectSelectedRow(animated:)function toUITableViewextension. - Added
setBody<E:>(encodable:)function toURLRequestextension.
Enhancements:
- Improved the
UIKitsubclasses compatibility with dark mode.
Bug fixes:
- Fixed the bug on the shadow color when switching to dark/light mode.
Dark Mode compatibility and more updates
Enhancements:
- Made the
UIKitsubclasses compatible with dark mode.
New classes:
PowerUpCollectionView- Added theUIKitsubclass to easily edit the properties in the Interface Builder.PowerUpLoadingButton- Added a button that displays aUIActivityIndicatorView(loading animation).
New extensions:
- Added
asJSONcomputed property toDataextension. - Added
asJSONcomputed property toStringextension. - Added
extractedJWTPayloadcomputed property toStringextension. - Added
isNotSelectedandisNotHighlightedcomputed properties toUITableViewCellandUICollectionViewCellextension. - Added
isUnauthorizedcomputed property toURLResponseextension.
Changes:
- Made the placeholder for
PowerUpTextViewoptional.
String extensions and HTTPMethod enum updates
New features:
- Added String validations for IP addresses and MAC addresses.
Changes:
- Added more methods to the
HTTPMethodenum based on Mozilla Developer Network. - Deprecated the
showFullScreen()extension function ofUIViewControllerstarting iOS 13.
Release 1.0.0
New classes:
- PowerUpVisualEffectView
- PowerUpImageView
New features:
- Added extensions to get the current version and build number of the app.
- Added
asFullAddressextension function for CLPlacemark.
Minor enhancements:
- Updated the URLRequest and URLResponse extension functions.
Bug fixes:
- Fixed the issue on PowerUpUnderlineTextField where the underline doesn't fill the entire width of its parent.
Swift 5 Support
0.3.0 Release 0.3.0
Bug fix
New classes and minor enhancements
New classes:
- PowerUpUnderlineTextField - Added a special text field with a border at the bottom.
- PowerUpBaseTextField - Added a superclass that both PowerUpTextField and PowerUpUnderlineTextField will now inherit to reduce code repetition.
Minor enhancements:
- Bool - Simplified the init in the extension.