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, usePUView
instead ofPowerUpView
. - The
public init(_:)
function on theBool
extension has been removed since it's not useful. - The
asFullAddress
computed property onCLPlacemark
extension has been renamed tofullAddress
. - The
asJSON
computed property onData
extension has been renamed tojson
. - The
asJSON
computed property onString
extension has been renamed tojson
. - The
extractedJWTPayload
computed property onString
extension has been renamed tojwtPayload
. - The
heightConstraint
andwidthConstraint
computed properties onUIView
extensions have been removed. - The
hideKeyboardWhenTappedOutside()
function onUIViewController
extension has been renamed todismissKeyboardWhenTappedOutside()
. - The
showInFullScreen(completion:)
function onUIViewController
extension 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:) -> String
function toBundle
extension.
Bug fixes:
- Fixed the blank image bug when switching to dark/light mode
1.11.3
New extensions:
- Added
isForbidden
computed property toURLResponse
extension. - Added
appName
computed property toBundle
extension. - Added
isNilOrEmpty
computed property toOptional(String)
extension. - Added
pushViewController(_:animated:completion:)
function toUINavigationController
extension. - Added
popViewController(animated:completion:)
function toUINavigationController
extension. - Added
isNotRefreshing
computed property toUIRefreshControl
extension. - Added
deselectSelectedRow(animated:)
function toUITableView
extension. - Added
setBody<E:>(encodable:)
function toURLRequest
extension.
Enhancements:
- Improved the
UIKit
subclasses 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
UIKit
subclasses compatible with dark mode.
New classes:
PowerUpCollectionView
- Added theUIKit
subclass to easily edit the properties in the Interface Builder.PowerUpLoadingButton
- Added a button that displays aUIActivityIndicatorView
(loading animation).
New extensions:
- Added
asJSON
computed property toData
extension. - Added
asJSON
computed property toString
extension. - Added
extractedJWTPayload
computed property toString
extension. - Added
isNotSelected
andisNotHighlighted
computed properties toUITableViewCell
andUICollectionViewCell
extension. - Added
isUnauthorized
computed property toURLResponse
extension.
Changes:
- Made the placeholder for
PowerUpTextView
optional.
String extensions and HTTPMethod enum updates
New features:
- Added String validations for IP addresses and MAC addresses.
Changes:
- Added more methods to the
HTTPMethod
enum based on Mozilla Developer Network. - Deprecated the
showFullScreen()
extension function ofUIViewController
starting 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
asFullAddress
extension 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.