Skip to content

Releases: AckeeCZ/ACKategories

👋 CALayer shortcuts

05 Jul 13:13
Compare
Choose a tag to compare

Removed

  • CALayer shortcuts on UIView as they were occasionally ambigous with other libraries (kudos to @olejnjak)

5.4.0

04 Jul 23:36
Compare
Choose a tag to compare

Features

String and UIViewController extras

13 Apr 11:54
Compare
Choose a tag to compare
  • add extensions to simply adding and removing childViewController on UIViewController
  • improve string.trimmed() method to receive CharacterSet and side as arguments so now you can trim different characters then just whitespaces and newlines, also you can trim just from one side

Fix conditional assignment

23 Mar 09:09
Compare
Choose a tag to compare

Well if you tried the following code

let nilValue: Int? = nil
var property: Int? = 5
property =? nilValue

the property would be nil which just sucks. Now it just works.

5.2.0

28 Feb 10:08
a98b964
Compare
Choose a tag to compare

5.2.0

Additions

  • add concatenation capability to NSAttributedString
  • add isEmpty property to optional collections (this has a side-effect that the same property on String is removed as String is Collection)
  • add UIButton.centerVertically(padding:) extension
  • add safeArea to UIView which can be used on all systems (on older systems it just fallbacks to appropriate edge)

Deprecations

  • String.normalizedValue() is deprecated in favor of String.normalized() and will be removed in next major release

Bunch of new stuff

15 Dec 17:17
Compare
Choose a tag to compare
  • add safe subscript to RandomAccessCollections
  • add + function to merge two dictionaries
  • add extension for UITableView to dequeue UITableViewHeaderFooterView generically
  • add extension for UICollectionView to dequeue supplementary views generically
  • add device ID to UserDefaults (based on UUID)
  • add Array.remove(object:) for arrays of Equatable objects
  • add extensions for Bundle to access often used properties from Info.plist more conveniently
  • add extensions for TimeInterval to work with larger units (minutes, hours, etc.)

Swift 4 support

08 Nov 15:24
Compare
Choose a tag to compare

Now we support Swift 4!

We also removed deprecated stuff

4.2.0

14 Aug 08:32
Compare
Choose a tag to compare
  • Simulation of classic valueForKeyPath on Dictionary
  • Remove nils in Dictionary
  • isEmpty on optional String returns non-optional Bool
  • NumberFormatter can return String from Int
  • Normalized String - remove accents etc.

4.1.0

27 Mar 08:10
Compare
Choose a tag to compare
  • UITableView extensions
  • UIControl+Blocks improved

Swift 3 support

24 Oct 12:34
Compare
Choose a tag to compare

Migrated to swift 3 syntax.