objective c - ObjC: can't subclass NSUserNotification -


as title says, can't subclass nsusernotification. well, can write , compile subclass can't subclassed objects @ runtime: if create instance of subclass , test class @ runtime _nsconcreteusernotification. why?

you run class cluster. not subclassed, discussed here: http://www.mikeash.com/pyblog/friday-qa-2010-03-12-subclassing-class-clusters.html


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -