0

As the title says, I can't subclass NSUserNotification. Well, I can write and compile the subclass but then I can't get subclassed objects at runtime: if I create an instance of that subclass and then I test its class at runtime I always get _NSConcreteUserNotification. Why?

user732274
  • 1,069
  • 1
  • 12
  • 28

1 Answers1

2

You run into a class cluster. They are not easily subclassed, as discussed here: http://www.mikeash.com/pyblog/friday-qa-2010-03-12-subclassing-class-clusters.html

vikingosegundo
  • 52,040
  • 14
  • 137
  • 178