LazyArray
Array and list operations made lazy.

LazyArray is a standalone generic immutable list with O(1) only’s methods.
From Swift.Collection
Note about memory impact
Original array will be wrapped for each operation. Functions that are supposed to modify the LazyArray’s size will not drops the elements from memory.
Installation
Carthage
LazyArray is carthage compatible. Add the following entry in your Cartfile:
github "lucas34/LazyArray"
Then run carthage update
.
CocoaPods
You can use CocoaPods to install LazyArray
by adding it to your Podfile
:
platform :ios, '8.0'
use_frameworks!
pod 'LazyArray'
In your application, simply import the library
import LazyArray
Contributors
We would love you for the contribution to LazyArray, check the LICENSE
file for more info.
Licence
Distributed under the MIT license. See LICENSE
for more information.
LazyArray
LazyArray is a standalone generic immutable list with O(1) only’s methods.
From Swift.Collection
Note about memory impact
Original array will be wrapped for each operation. Functions that are supposed to modify the LazyArray’s size will not drops the elements from memory.
Installation
Carthage
LazyArray is carthage compatible. Add the following entry in your Cartfile:
Then run
carthage update
.CocoaPods
You can use CocoaPods to install
LazyArray
by adding it to yourPodfile
:In your application, simply import the library
Contributors
We would love you for the contribution to LazyArray, check the
LICENSE
file for more info.Licence
Distributed under the MIT license. See
LICENSE
for more information.