源碼:
https://github.com/ThirdPrince/ios_value_transfer/tree/master
https://github.com/ThirdPrince/ios_value_transfer/tree/master
2021-08-11
源碼demo:
https://github.com/ThirdPrince/ios_value_transfer/tree/master
https://github.com/ThirdPrince/ios_value_transfer/tree/master
2021-08-11
為什么我的從頁(yè)面1跳轉(zhuǎn)到頁(yè)面2,頁(yè)面1還保留呢?同時(shí)顯示的,這怎么搞...
2020-02-17
這個(gè)單例 寫錯(cuò)了 我試過(guò)了 不能這么寫 單例的格式
+ (instancetype)sharedInstance {
static <#arguments#> * _sharedInstance = nil;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
_sharedInstance = [[<#arguments#> alloc] init];
});
return _sharedInstance;
}
+ (instancetype)sharedInstance {
static <#arguments#> * _sharedInstance = nil;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
_sharedInstance = [[<#arguments#> alloc] init];
});
return _sharedInstance;
}