Swiftpack.co - Package - ricardopereira/PremierKit

Carthage Compatible SwiftPM Compatible CocoaPods Compatible Swift 5.1 Platforms iOS License MIT

PremierKit

Base code for iOS/iPadOS apps.

Installation

Carthage

To install it, simply add the following line to your Cartfile:

github "ricardopereira/PremierKit"

Then run carthage update.

Follow the current instructions in Carthage's README for up to date installation instructions.

CocoaPods

To install it, simply add the following line to your Podfile:

pod "PremierKit"

Then run pod install with CocoaPods 1.8 or newer.

Manually

Download all the source files and drop them into your project.

Requirements

  • iOS 10.0+
  • Xcode 10+ (Swift 5.0+)

Author

Ricardo Pereira, @ricardopereiraw

License

PremierKit is available under the MIT license. See the LICENSE file for more info.

Github

link
Stars: 1

Dependencies

Used By

Total: 0

Releases

v9.0 (Xcode 12) - 2020-09-11 00:22:44

Changes included:

  • Removed NetworkActivityManager.
  • Enabled APPLICATION_EXTENSION_API_ONLY = YES.

Compatibility

  • Carthage release for Swift is built with Xcode 12 (Beta 8).

v8.9 - 2020-06-10 08:20:43

Changes included:

  • Add String.truncate.
  • Breaking change: renamed String.trim to String.trimmed to conform with the system properties like uppercased, etc.

Compatibility

  • Carthage release for Swift is built with Xcode 11.4.1.

v8.8 - 2020-06-09 13:50:27

Changes included:

  • Add Obfuscator (nice to have to hide secrets in apps).

Compatibility

  • Carthage release for Swift is built with Xcode 11.4.1.

v8.7 - 2020-05-07 18:18:23

Changes included:

  • Add OrderedSet (implementation from swift-package-manager).
  • Add hash to AsyncBlockOperation (babda49c4412e2609edfb017721ccf337cfa0247)

Compatibility

  • Carthage release for Swift is built with Xcode 11.4.1.

v8.6 - 2020-05-02 12:40:09

Changes included:

  • Add StaticTableView.maxNumberOfSelections (total of items that can be selected).
  • Add prebuilt binaries for Xcode 11.4.1.

Compatibility

  • Carthage release for Swift is built with Xcode 11.4.1.

v8.5 - 2020-05-02 08:11:47

Changes included:

  • Added OptionalUserDefault.
  • UserDefault now accepts a suite name in the initializer of the property wrapper.
  • Add prebuilt binaries for Xcode 11.4.1.

Compatibility

  • Carthage release for Swift is built with Xcode 11.4.1.

v8.4 - 2020-05-01 17:04:06

Changes included:

  • Added StaticTableView.
  • Add prebuilt binaries for Xcode 11.4.1.

Compatibility

  • Carthage release for Swift is built with Xcode 11.4.1.

v8.3 - 2019-11-18 22:11:41

Changes included:

  • Add prebuilt binaries for Xcode 11.2.1.

Compatibility

  • Carthage release for Swift is built with Xcode 11.2.1.

v8.2 - 2019-11-05 17:20:33

Changes included:

  • Add prebuilt binaries for Xcode 11.2.

Compatibility

  • Carthage release for Swift is built with Xcode 11.2.

v8.1 - 2019-10-08 22:27:15

Changes included:

  • Added AsyncBlockOperation for OperationQueue's.
  • Added KeyValueObserverToken using Objective-C addObserver method (Swift <5.1) since Swift standard has some twerks:
    • https://bugs.swift.org/browse/SR-5816
    • https://bugs.swift.org/browse/SR-5752

Workarounds instead of using KeyValueObserverToken:

if let observer = layerBoundsObserver {
    removeObserver(observer, forKeyPath: "layer.bounds")
    observer.invalidate()
    self.layerBoundsObserver = nil //<-- nil the observer manually
}

Compatibility

  • Carthage release for Swift is built with Xcode 11.1.

v8.0.1 - 2019-10-04 23:58:08

Changes included:

  • Missing public access levels.

Compatibility

  • Carthage release for Swift is built with Xcode 11.

v8.0.0 - 2019-10-02 00:14:28

Changes included:

  • Minimum deployment increased: iOS 10.0.
  • Event.observe instead of addObserver.
  • CustomButton: do not force uppercased title.
  • View.heightLayout/widthLayout helper.
  • UserDefaults property wrapper.

Compatibility

  • Carthage release for Swift is built with Xcode 11.

v7.0.1 - 2019-09-22 23:12:58

Changes included:

  • Fix: NSLayoutConstraint.deactivate().

Compatibility

  • Carthage release for Swift is built with Xcode 11.

v7.0.0 - 2019-09-18 22:59:31

Changes included:

  • Added support for SPM 🎉

Compatibility

  • Carthage release for Swift is built with Xcode 11.

v6.2.2 - 2019-09-09 14:08:57

Changes included:

  • UILabel.init(attributedText:) convenience method improvement.

Compatibility

  • Carthage release for Swift is built with Xcode 10.3.

v6.2.1 - 2019-09-09 14:01:54

  • UILabel.init(attributedText:) convenience method improvement.

Compatibility

  • Carthage release for Swift is built with Xcode 10.3.

v6.2.0 - 2019-09-09 13:39:03

  • Add NotificationCenter wrapper (alias Events).
  • Add CustomButton.
  • UILabel.init(attributedText:) convenience method.
  • Other improvements.

Compatibility

  • Carthage release for Swift is built with Xcode 10.3.

v6.1.1 - 2019-08-26 15:52:23

  • Fix inaccessible UILabel convenience init.

v6.1.0 - 2019-08-24 01:33:28

  • Updated Premier+Dictionary combine operators to use the new merge method #6
  • Added String.isBlank #8
  • Added NSLayoutConstraint.activate/deactivate #9
  • and more...

v6.0.0 - Swift 5 (Xcode 10.2) - 2019-05-13 16:17:57

  • Added URL extensions.

v5.0.0 - Swift 4.2 (Xcode 10) - 2018-09-20 09:00:23

v4.0.0 - Swift 4.1 - 2018-06-20 23:12:29

v3.0.0 - Swift 3.0 - 2018-06-20 22:50:03

v2.1.5 - 2016-11-24 18:23:17

  • Enhancement: add success and failure convenience properties to Result enum

v2.1.4 - 2016-11-06 17:41:22

  • Removed PremierLogger.swift (use WSLogger instead)

v2.1.3 - 2016-08-22 07:46:54

  • Add UIView.setCustomCornerRadius.
  • Rename findFirstResponder to getFindResponder.

v2.1.2 - 2016-08-18 13:46:51

  • Remove PremierStyling (needs a better solution).

v2.1.1 - 2016-08-18 13:25:44

  • Add UIWindow.visibleViewController.
  • Add NoError type.

v2.1.0 - 2016-08-07 18:22:59

  • Add UIFieldSeparator.
  • Add PremierStyling file with look and feel protocols for UIKit.

v2.0.0 - 2016-08-07 00:52:18

  • Bunch of new code!
  • Add Carthage support.