好吧,alloc,和init分开可以的,

        rootManager = [[self alloc]init];

        rootManager = [self init];

[IMRootManager<0xa11dac> init]: cannot init a class object.'

posted @ 2013-12-27 16:43  路在脚下,  阅读(177)  评论(0编辑  收藏  举报