- 博客(5)
- 资源 (4)
- 收藏
- 关注
原创 OC中char/short/int/float/double在64位系统中所占字节数
size_t charSize = sizeof(char); NSLog(@"charSize = %zu", charSize); size_t shortSize = sizeof(short); NSLog(@"shortSize = %zu", shortSize); size_t int
2017-03-31 21:39:28 4649
原创 iOS/Mac系统路径相关
系统Framework路径:(右键Xcode,显示包内容) /Applications/Xcode8.3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/UIKit.frameworkXcode自定义代码块保存
2017-03-29 22:20:20 1034
原创 UIImagePickerController使用
// 生成一个UIImagePickerController- (UIImagePickerController *)pickerController{ UIImagePickerController *pickerController = [[UIImagePickerController alloc] init]; // 设置导航栏的背景⾊ pickerContro
2017-03-21 15:13:11 598
原创 UITableView去掉Grouped样式的第一组Header组头
// 设置分割线:距离两边间距10- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath{ [cell setLayoutMargins:UIEdgeInsetsMake(0, 10, 0, 1
2017-03-15 14:10:00 3162
原创 iOS10、11自定义左滑菜单项背景图片
// 以前的做法// 1.ViewController代码如下:自定义三个左滑项- (NSArray<UITableViewRowAction *> *)tableView:(UITableView *)tableView editActionsForRowAtIndexPath:(NSIndexPath *)indexPath{ NSString *titleContent = @"
2017-03-15 13:00:47 5170
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人