
- Removed YuMi/Library/ (138 MB, not tracked) - Removed YuMi/Resources/ (23 MB, not tracked) - Removed old version assets (566 files, not tracked) - Excluded Pods/, xcuserdata/ and other build artifacts - Clean repository optimized for company server deployment
17 lines
342 B
Objective-C
17 lines
342 B
Objective-C
//
|
|
// GCDHelper.m
|
|
// YYMobileFramework
|
|
//
|
|
// Created by wuwei on 14/7/18.
|
|
// Copyright (c) 2014年 YY Inc. All rights reserved.
|
|
//
|
|
|
|
#import "GCDHelper.h"
|
|
void dispatch_main_sync_safe(dispatch_block_t block) {
|
|
if ([NSThread isMainThread]) {
|
|
block();
|
|
}else {
|
|
dispatch_sync(dispatch_get_main_queue(), block);
|
|
}
|
|
}
|