Skip to content

Releases: PowerUpX/PowerUpSwift

2.1.4

02 Sep 18:53
Compare
Choose a tag to compare

New:

  • Added support for Swift Package Manager. 📦

Changes:

  • Made PUUnderlineTextField color highlight work properly again.
  • Switched sanitize() and sanitized() mutability.
  • Removed the unnecessary usage of self.

2.0.0

30 Aug 08:47
Compare
Choose a tag to compare

Changes

  • All PowerUp- prefixes of the classes have been changed to PU-. For example, use PUView instead of PowerUpView.
  • The public init(_:) function on the Bool extension has been removed since it's not useful.
  • The asFullAddress computed property on CLPlacemark extension has been renamed to fullAddress.
  • The asJSON computed property on Data extension has been renamed to json.
  • The asJSON computed property on String extension has been renamed to json.
  • The extractedJWTPayload computed property on String extension has been renamed to jwtPayload.
  • The heightConstraint and widthConstraint computed properties on UIView extensions have been removed.
  • The hideKeyboardWhenTappedOutside() function on UIViewController extension has been renamed to dismissKeyboardWhenTappedOutside().
  • The showInFullScreen(completion:) function on UIViewController 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

27 Aug 09:18
Compare
Choose a tag to compare

Changes:

  • Changed all PowerUp- prefixes of the classes to PU-.
  • Made major updates on the structure.
  • Made major updates to the documentation comments.

New extensions:

  • Added localized(in:comment:) -> String function to Bundle extension.

Bug fixes:

  • Fixed the blank image bug when switching to dark/light mode

1.11.3

27 Aug 09:03
Compare
Choose a tag to compare

New extensions:

  • Added isForbidden computed property to URLResponse extension.
  • Added appName computed property to Bundle extension.
  • Added isNilOrEmpty computed property to Optional(String) extension.
  • Added pushViewController(_:animated:completion:) function to UINavigationController extension.
  • Added popViewController(animated:completion:) function to UINavigationController extension.
  • Added isNotRefreshing computed property to UIRefreshControl extension.
  • Added deselectSelectedRow(animated:) function to UITableView extension.
  • Added setBody<E:>(encodable:) function to URLRequest 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

18 Jun 13:02
Compare
Choose a tag to compare

Enhancements:

  • Made the UIKit subclasses compatible with dark mode.

New classes:

  • PowerUpCollectionView - Added the UIKit subclass to easily edit the properties in the Interface Builder.
  • PowerUpLoadingButton - Added a button that displays a UIActivityIndicatorView (loading animation).

New extensions:

  • Added asJSON computed property to Data extension.
  • Added asJSON computed property to String extension.
  • Added extractedJWTPayload computed property to String extension.
  • Added isNotSelected and isNotHighlighted computed properties to UITableViewCell and UICollectionViewCell extension.
  • Added isUnauthorized computed property to URLResponse extension.

Changes:

  • Made the placeholder for PowerUpTextView optional.

String extensions and HTTPMethod enum updates

26 Mar 06:15
Compare
Choose a tag to compare

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 of UIViewController starting iOS 13.

Release 1.0.0

02 Sep 03:17
Compare
Choose a tag to compare

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

29 Jul 02:23
Compare
Choose a tag to compare
0.3.0

Release 0.3.0

Bug fix

16 Feb 10:49
Compare
Choose a tag to compare

Minor bug fix:

  • PowerUpUnderlineTextField - the underline should now properly follow the width size. link

New classes and minor enhancements

10 Nov 21:59
Compare
Choose a tag to compare

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.