NSNotificationCenter.defaultCenter().addObserver(self, selector: "touchFunc", name: "myNotic", object: nil);
func touchFunc()
{
println("测试通知")
}
NSNotificationCenter.defaultCenter().postNotificationName("myNotic", object: nil);