Why is it that `[MyClass class]` fails to find the objects of the class I want in a predicate whereas `[myObject class]` works? See code example below. I want to be able to find objects of type MyClass in a set without needing to have a spurious instance of the class available.

```
MyClass* myObject = [[MyClass alloc] init];

```

This doesn't work...

```
NSPredicate* predicate = [NSPredicate predicateWithFormat:@"self isMemberOfClass: %@", [MyClass class]];
NSArray* predicateResults = [mySet filteredSetUsingPredicate:predicate].allObjects;

```

This does work...

```
NSPredicate* predicate = [NSPredicate predicateWithFormat:@"self isMemberOfClass: %@", [myObject class]];
NSArray* predicateResults = [mySet filteredSetUsingPredicate:predicate].allObjects;

```