自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (2)
  • 收藏
  • 关注

原创 UICollectionView设置header悬浮效果

在iOS9.0后UICollectionView的头部视图也能像tableView的header一样出现悬浮挂住的效果。 UICollectionViewFlowLayout *flowLayout = [[UICollectionViewFlowLayout alloc] init]; //header flowLayout.sectionHeadersPinToVisibleBo

2016-10-18 22:19:13 8146

原创 iOS开发 _计算缓存大小/清理

1.获取路径:// 获取Caches目录路径- (NSString *)getCachesPath{ NSArray *paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask,YES); NSString *cachesDir = [paths lastObject];

2016-10-15 20:37:19 420

原创 UI基础_UIAlertController/UIAlertView使用和字体大小颜色

1.UIAlertView在iOS9.0后被抛弃UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:nil message:NSLocalizedString(@"请核对后重新输入",nil) delegate:self cancelButtonTitle:NSLocalizedString(@&quo

2016-10-09 15:39:35 7079

原创 IBInspectable和IB_DESIGNABLE

1.使用IBInspectable可以在xib/storyboard中方便的为类设置属性并看到效果. 在.h文件中声明属性,在属性中加关键字IBInspectable#import <UIKit/UIKit.h>@interface XYButton : UIButton@property (nonatomic, assign) IBInspectable CGFloat connerRadiu

2016-10-09 09:27:37 477

原创 runtime的使用总结

1.动态获得类的所有属性 注:需要导入头文件:+ (NSArray *)getAllProperties { NSMutableArray *arrM = [NSMutableArray array]; unsigned int count = 0; // 获得指定类的所有属性 objc_property_t *properties = class_copyProp

2016-10-08 20:29:35 307

11.2 developerDiskImage 真机调试包

一共包含三个developerDiskImage,分别是11.2 15C107 15C5092b 15C5097c

2017-12-13

Developer disk image iOS 11.1 (15B5066e)

Xcode9 真机调试需要的 Developer disk image iOS 11.1

2017-11-06

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除