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

Capture and play voice with Asterisk ARI -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -