diff --git a/ncao.m b/ncao.m new file mode 100644 index 00000000..6303892f --- /dev/null +++ b/ncao.m @@ -0,0 +1,6 @@ +--- +title: "NSNotificationCenter Add Observer" +completion-scope: Function or Method +--- + +[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(<#selector#>) name:<#name#> object:<#object#>]; diff --git a/ncpn.m b/ncpn.m new file mode 100644 index 00000000..89e6ae04 --- /dev/null +++ b/ncpn.m @@ -0,0 +1,6 @@ +--- +title: "NSNotificationCenter Post Notification" +completion-scope: Function or Method +--- + +[[NSNotificationCenter defaultCenter] postNotificationName:<#name#> object:<#object#> userInfo:<#userInfo#>];