I\'m trying to build an extension that adds some of the convenience functionality of NSArray/NSMutableArray to the Swift Array class, and I\'m trying to add this function:
My guess is that you have to do something like this:
func indexOfObject(object: T) -> Int? {
and so on.