Dollar

A functional tool-belt for Swift Language similar to Lo-Dash or Underscore.js in Javascript

MIT License

Stars
4.2K
Committers
51

Bot releases are visible (Hide)

Dollar - v2.2.0

Published by ankurp over 9 years ago

Changelog

  • Added flatMap function
  • Added random function
  • Int extension to convert Int to Time and Date
  • Removed isEmpty() method in Dictionary in favor of isEmpty computated variable
  • Removed forced parameter name dictionary and array variable when calling merge function
  • Adding Cocoa Pod support
  • Fixed project where folder with space causes build to fail
Dollar -

Published by ankurp over 9 years ago

Dollar - v2.1.1

Published by ankurp over 9 years ago

Change log

  • Fixing project structure to support installation using Carthage
Dollar - v2.1.0

Published by ankurp almost 10 years ago

Changelog

  • Update method signature of the following methods in Dollar and Cent projects
    1. find
    2. findIndex
    3. remove
    4. findLastIndex
    5. every
  • Added each and eachWithIndex
Dollar - v2.0.1

Published by ankurp almost 10 years ago

Change log

  • Encapsulating Chain into Dollar namespace. Now you can create a Chain wrapper by calling $.chain(...)
  • Chain(...) will be deprecated in the future.
Dollar - v2.0.0

Published by ankurp almost 10 years ago

Change Log

  1. Chaining has been refactored and renamed to Chain from $ along with using generics instead of forcing typecast at the end of the chained operation
  2. Chains terminate for certain operation such as first, all, any, etc. and lazily evaluates at the end when .value property is accessed.
  3. Dollar class is renamed to $ and the typealias for $ is removed.
Dollar - v1.3.0

Published by ankurp almost 10 years ago

Change Log

  • Using generics for zip and flatten and making extensions internal
  • Adding once, cycle, fetch to Dollar
  • Character extension in Cent
  • Adding more extensions to String and helper methods to Regex class
  • Adding << extension to Array
  • Preserving order in uniq and uniq by
Dollar - v1.2.0

Published by ankurp almost 10 years ago

Change Log

  • Updating map functions and delegating it to the Swift map function
  • Adding compose function
  • Adding curry function and generator script that automatically generates the curry function file
Dollar - v1.1.0

Published by ankurp almost 10 years ago

Upgrading library to work with new Swift syntax in Xcode 6.1

Dollar - v1.0.0

Published by ankurp about 10 years ago

Change Log

  • Updating range syntax to include to and from in the parameters
  • Adding overloaded method for range that take through parameter
  • All Tests are working and Pass
Dollar - v0.5.0

Published by ankurp about 10 years ago

Dollar - v0.4.0

Published by ankurp about 10 years ago

Change Log

  • Syntax changes as part of Xcode Beta 4 release
  • Adding Shuffle method
  • Fixes to flatten method and Dictionary merge extension method
  • Adding lazy eval to chained expressions
Dollar - v0.3.0

Published by ankurp over 10 years ago

Adding Cent Project

Starting Cent project which will include extensions for certain types in Swift using the Dollar framework to implement them.

Dollar - v0.2.3

Published by ankurp over 10 years ago

Changes

  • Removing unnecessary variables in tests
  • Using more descriptive XCTAssert{Equal, EqualObjects, True, False, Nil}
  • Adding memoization function for performance for recursive functions
  • Updating docs
  • Adding identity function
Dollar - v0.2.2

Published by ankurp over 10 years ago

  1. Have added more chained functions
  2. Bug fixes for initial and rest method
  3. Partial functions on array
  4. Map/reduce functions
  5. Better documentation in code
  6. Reusing existing methods such as findIndex for indexOf, etc.
Dollar - v0.2.1

Published by ankurp over 10 years ago

Adding more

  1. chained methods
  2. functional methods

Switching $ to be a class instead of struct as structs are copied by value