Skip to content

A helpful category on NSMutableArray that provides a method to shuffle the array.

License

Notifications You must be signed in to change notification settings

duliodenis/NSMutableArray-Shuffle

Repository files navigation

NSMutableArray+Shuffle

A helpful category on NSMutableArray that provides a method to shuffle the array.

Usage

Import the NSMutableArray+Shuffle.h file in the class you would like to add the shuffle functionality.

    #import "NSMutableArray+Shuffle.h"

Create your NSMutableArray and call the shuffle method on the array when required.

    NSMutableArray *shuffledArray = [[NSMutableArray alloc] init];
    [shuffledArray shuffle];

Support or Contact

Visit ddApps.co to see more.

About

A helpful category on NSMutableArray that provides a method to shuffle the array.

Resources

License

Stars

Watchers

Forks

Packages

No packages published