Commit Graph

53 Commits

Author SHA1 Message Date
Lucas Farah 1885a24296 Fixed some swiftlint warnings 2017-01-25 10:14:52 +05:30
furuyan cd34f55ed1 Fixed swxftlint warnings. 2016-11-09 16:58:27 +09:00
Dendim0n 0ec8f569db add test of get(at range:ClosedRange<Int>) 2016-10-25 12:20:33 +08:00
Dendim0n f72b763803 add sub array function to Array 2016-10-20 14:31:17 +08:00
Olexii Pyvovarov 371278ed85 fixed swiftlint warnings 2016-10-20 01:33:42 +03:00
Sanyal 53c4b45c65 <Description> : Adding a new array extension that returns only the unique elements in the array.
<Type> : feature/test
2016-10-18 00:23:10 -07:00
Olexii Pyvovarov e4609cea02 Merge branch 'master' of https://github.com/goktugyil/EZSwiftExtensions
# Conflicts:
#	Sources/ArrayExtensions.swift
2016-10-05 00:22:04 +03:00
Olexii Pyvovarov a85d701c91 fixed reverseIndex for tests 2016-10-04 22:12:47 +03:00
Olexii Pyvovarov 5edda8d26c small renaming 2016-09-28 10:03:05 +03:00
Olexii Pyvovarov 4ebbadc4ab Swift 3 API Design guidelines
Small fixes
shuffled()
change methods bodies
Reordered (Deprecated methods move to the bottom)
2016-09-27 21:47:21 +03:00
Goktug Yilmaz 6d717e733d Fixed deprecated auto fix methods 2016-09-27 16:26:28 +03:00
Goktug Yilmaz a215318125 Fixed white space warnings 2016-09-27 16:21:25 +03:00
Goktug Yilmaz a6aed390f0 Changed name of forEach so its not overriden with Apple's version 2016-09-27 13:47:46 +03:00
Goktug Yilmaz ffd3812d22 Removed func bodies of deprecated funcs 2016-09-27 11:56:07 +03:00
Goktug Yilmaz 0f7fc48205 Changed func names 2016-09-27 11:52:13 +03:00
Goktug Yilmaz 2cf1a8c594 ArrayExtensions renames 2016-09-27 11:46:06 +03:00
Goktug Yilmaz 27cdf047ff piv199's Array.contains fix 2016-09-27 11:05:32 +03:00
Olexii Pyvovarov 201850843f Swift 3 support for Xcode 8 + all tests 2016-09-20 01:48:19 +03:00
Goktug Yilmaz 15504041df Added better docs to array.foreach 2016-09-03 11:57:33 +03:00
Goktug Yilmaz d30454ef8b Merge pull request #172 from Yu-w/remove-each
deprecate each in Array Extension
2016-08-19 09:26:29 +03:00
Goktug Yilmaz 2e68ecd37a Merge pull request #174 from Yu-w/functional
deprecate `mapFilter` function in Array Extension
2016-08-19 09:25:44 +03:00
Yu Wang b84cb5c77c deprecate mapFilter function in Array Extension 2016-08-17 08:40:32 -07:00
Yu Wang 0fc566e011 deprecate another each function with index 2016-08-16 23:43:01 -07:00
Yu Wang dd85fad2f4 deprecate each in Array Extension 2016-08-16 23:33:16 -07:00
Yu Wang 2848c2c265 add tests 2016-08-16 23:21:02 -07:00
Yu Wang d4695f0f95 add decompose function in Array to return a tuple with first element and the rest 2016-08-16 22:44:05 -07:00
Mahdi Bchetnia b6aab23a79
Fixed whitespace issues with `swiftlint autocorrect` 2016-07-07 18:18:43 +09:00
Lucas Farah 0def725881 Fixed Swiftlint warnings 2016-05-26 12:56:25 -07:00
Daniel Lopez 1956eb787a shuffle() now uses Fisher-Yates-Durstenfeld algo
Implemented shuffle() using the Fisher-Yates-Durstenfeld algorithm. A proven in-place shuffling algorithm.
2016-04-08 11:22:32 -04:00
Daniel Lopez 9630fb48fa Added shuffle() to ArrayExtensions.swift
shuffle() creates an array that is a shuffled version of the array.
2016-04-08 11:22:32 -04:00
inket a97ecdac40 No more force casting 😣 2016-03-29 16:15:00 +09:00
inket f2f1e911a7 Fixed spacing/style issues 2016-03-29 16:15:00 +09:00
inket 11023a6b6f Fixed whitespacing issues 2016-03-29 16:15:00 +09:00
Goktug Yilmaz 910c22ecf2 Added Array.testIfAllIs(Bool:) 2016-03-23 13:57:19 +02:00
Fabio Teles f17c07962a Add missing tests for Array extensions. Make each public again with tests. Remove use of deprecated method. 2016-03-22 08:31:41 -07:00
Goktug Yilmaz 4df263ace1 Update ArrayExtensions.swift 2016-03-15 15:07:25 +02:00
Goktug Yilmaz 487d41f75c Made new array funcs public 2016-03-15 09:25:12 +02:00
Fabio Teles 26a71e981e Remove unnecessary methods, refactor some names, add operators 2016-03-10 11:42:01 -08:00
Fabio Teles a8005eda07 Add some cool extensions to Array and Dictionary 2016-03-03 17:52:12 -08:00
inket aa0d3d891b Check that Array is not empty before getting random() 2016-03-03 14:31:11 +09:00
Goktug Yilmaz 7dce8add53 Fixed spelling of indexs 2016-03-01 17:14:41 -08:00
furuyan fc54ed1c10 fixed #20 Updated ArrayExtensions 2016-03-01 17:13:41 +09:00
Goktug Yilmaz b5e03f50ff Changed name of arraycontainsarray
Added containsArray to readme
2016-01-09 01:12:08 -08:00
Goktug Yilmaz d57d8b34ea Added Array.containsInstanceOf 2016-01-09 01:11:07 -08:00
Goktug Yilmaz dcb1015233 Fix typo 2015-12-27 23:49:22 -08:00
Goktug Yilmaz c8ed6e3a6f First examples of documentation 2015-12-27 23:38:45 -08:00
Goktug Yilmaz c25d3f3a0d Added toNSString
Separated removeObject and removeObjects for Array
2015-12-27 23:27:36 -08:00
Goktug Yilmaz b67b0e17a4 Fixed some stuff 2015-12-27 23:17:46 -08:00
Avismara HL 2bb53d7dde Fix issue #17 2015-12-27 00:59:44 +05:30
Gunay Mert Karadogan bd05a57c33 Update Array's removeObject to remove all occurences 2015-11-20 23:41:51 +02:00