All Versions
29
Latest Version
Avg Release Cycle
31 days
Latest Release
1299 days ago

Changelog History
Page 3

  • v2.1.0

    October 29, 2016

    ๐Ÿ‘Œ Improvements

    • Range types now have random and random(using:) for when bounds are RandomWithinRange and RandomWithinClosedRange types
    • ๐Ÿ‘Œ Improved performance for retrieving random elements from collections

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed random(within:) for unsigned integers

  • v2.0.0

    October 28, 2016

    ๐Ÿ”„ Changes

    • Swift 3 compatibility
    • A bunch of protocols/types

  • v1.6.0

    November 21, 2015

    ๐Ÿ†• New Features

    • randomGenerator() and randomSequence() for RandomType that return an infinite number of random values
    • ๐Ÿ†• New ShuffleType protocol for types that can return its values shuffled
      • Array and Dictionary can be shuffled
    • ๐Ÿ†• New RandomIntervalType protocol that allows for getting a random value within a closed interval
      • Random generators and sequences can be made within a closed interval
    • Getting random slices of an Array (Phi Mage #10)

    ๐Ÿ”„ Changes

    • โœ‚ Deleted String.RandomLength and NSURL.RandomValues

  • v1.5.0

    October 25, 2015

    ๐Ÿ†• New Features

    • ๐Ÿ‘ tvOS support :tv:
    • โž• Added random generators to types in the CoreGraphics module as well as NSNumber
    • โœ‚ Removed the Foundation import for extensions of Swift types (only 'stdlib.h' is needed for arc4random)

    ๐Ÿ”„ Changes

    • Relevant Objective-C types now conform to RandomType

  • v1.4.0

    October 17, 2015

    ๐Ÿ†• New Features

    • Random phone number generator
    • Random gender generator
    • Random English honorific generator according to type and gender
    • Another CGFloat random generator with interval parameter

    ๐Ÿ”„ Changes

    • Faster Double, Float, and CGFloat generation
    • CGFloat value generation is now dependent on its NativeType

  • v1.3.0

    October 14, 2015

    ๐Ÿ†• New Features

    • โž• Added random property to SequenceType that returns a random element, or nil if the sequence is empty.
    • โž• Added random() static method to Bit, that returns One or Zero with a 50/50 chance of either.

  • v1.2.0

    October 12, 2015

    ๐Ÿ†• New Features

    • Random generators for NSDate and NSURL have been added

    ๐Ÿ”„ Changes

    • Parameter for Color.random() is now named #1

  • v1.1.0

    October 12, 2015

    ๐Ÿ†• New Features

    • RandomType protocol for types that can generate a random value of Self.
    • โž• Added a random property to CollectionType that returns a random element of self, or nil if self is empty
    • 0๏ธโƒฃ String.RandomLength for setting the default length used by String.random()

  • v1.0.0

    October 11, 2015

    ๐ŸŽ‰ Initial release