eleev/extensions-kit

The upcoming 1.6.0 update

Closed this issue · 1 comments

eleev commented

The next update will bring support for the following extensions:

Foundation

Data Structures

  • Lens - Lens is an implementation of Functional Lenses concept that allows to safely modify immutable structs and provides fundamental tools to work with complex data structures (see UnitTests)

Functions

  • FunctionalComposition - is a functions that implements Functional Composition concept which allows to combine multiple functions and chain them together, in order to transform data. Consider the following construction: (doubleNumbers ->> squareNumbers ->> convertToStringArray)(array) which returns a processed array by linearly composing the functions (rather that nesting the function calls)

Int

String

  • String+Validation - contains a number of extensions for validating String based on the following: isAlphanumeric, hasLetters, hasNumbers, isEmail, isAlphabetic

UIKit

UIApplication

  • UIApplication+SafeAreas - contains extensions that allow to get numerical representations of top and bottom safe areas

UIView

  • UIView+Constraints - adds convenience auto-layout methods that allow to pin, add, get height & width and to get all the constrains for a particular UIView
  • UIView+LayoutAnimation - adds animation extensions that operate on layout constraints
eleev commented

The listed changes were released in 1.6.0 update