昨日笔记

NSNotificationCenter通知中心是同步操作如果想异步采用下面方法

NSNotification *notification = [NSNotification notificationWithName:kNotificationName
                                                                 object:@"异步通知"];

 [[NSNotificationQueue defaultQueue] enqueueNotification:notification
                                               postingStyle:NSPostASAP];

 

Block是封装了函数调用以及函数调用环境的OC对象

 

[viewA addSubview:viewC];    [viewB addSubview:viewC]; 视图C会直接添加到视图B上

 

TCP三次握手四次挥手:https://blog.csdn.net/ZWE7616175/article/details/80432486
 

你可能感兴趣的:(移动开发)