Implement GKRandomSource

Hi , i´m trying tu use the:

arrayByShufflingObjects(in array: [Any])  method , but i´m not sure how I have to do , I need to randomize an array of objects , first at all I need to do this objects a subclass of GKRandomSource class ,  for example ??? or I can do in other way more easy ?