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?
Asked
Active
Viewed 245 times
0

user732274
- 1,069
- 1
- 12
- 28
-
What are you doing that requires a subclass? – trojanfoe Mar 04 '13 at 12:43
-
please explain, what you try to achieve. also show us your code you got so far. – vikingosegundo Mar 04 '13 at 12:49
1 Answers
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