摘要: https://www.cnblogs.com/elladu/p/5953261.html 阅读全文
posted @ 2020-09-23 17:02 弋小木 阅读(258) 评论(0) 推荐(0) 编辑
摘要: itms-service是apple为iOS企业用户($299)提供的无线分发安装方式所使用的协议,个人用户和公司用户也可以使用这种方式通过网页发布测试应用,但只有设备的UDID被包含在对应帐户的Device ID中的设备可以安装,而Device ID对数目是有限制的,IPA包是ad hoc包 。服 阅读全文
posted @ 2020-04-10 16:12 弋小木 阅读(6443) 评论(0) 推荐(0) 编辑
摘要: git checkout . #本地所有修改的。没有的提交的,都返回到原来的状态git stash #把所有没有提交的修改暂存到stash里面。可用git stash pop回复。git reset --hard HASH #返回到某个节点,不保留修改。git reset --soft HASH#返 阅读全文
posted @ 2019-12-23 18:16 弋小木 阅读(1225) 评论(0) 推荐(0) 编辑
摘要: dyld: Symbol not found: _OBJC_CLASS_$_xxx 引起的APP闪退可以先查看xxx所属的库,然后将其设为optional 例如dyld: Symbol not found: _OBJC_CLASS_$_PHLivePhotoRequestOptions 可以看出来_ 阅读全文
posted @ 2019-11-06 16:46 弋小木 阅读(1917) 评论(0) 推荐(0) 编辑
摘要: 项目中使用UICollectionView做布局,会发现当某个section只有一个cell的时候cell会居中显示,而项目中都是居左显示,这就需要对UICollectionView的布局做些处理,首先创建一个类继承UICollectionViewFlowLayout 添加一个属性 cell之间的距 阅读全文
posted @ 2019-06-28 11:46 弋小木 阅读(908) 评论(0) 推荐(0) 编辑
摘要: /Users/xxx/Library/Developer/Xcode/DerivedData/xxx-cdsvdpxrnyrnhshklcylefhdtghq/Build/Intermediates.noindex/xxx.build/Debug-iphoneos/xxxx.build/Script 阅读全文
posted @ 2019-03-25 09:06 弋小木 阅读(149) 评论(0) 推荐(0) 编辑
摘要: - (NSMutableAttributedString *)getAttributedStringWithSting:(NSString *)astring image:(UIImage *)image index:(NSInteger)index{ // 1.创建一个富文本 NSMutableA 阅读全文
posted @ 2018-05-16 09:54 弋小木 阅读(289) 评论(0) 推荐(0) 编辑
摘要: .h文件 #import <UIKit/UIKit.h>@interface YTProgressView : UIView@property (nonatomic, copy) NSString *progressString;@property (nonatomic, strong) UILab 阅读全文
posted @ 2017-11-28 11:20 弋小木 阅读(341) 评论(0) 推荐(0) 编辑
摘要: .h中的方法名 #import <Foundation/Foundation.h>@interface NSData (Security)- (NSData *)AES256EncryptWithKey:(NSString *)key;- (NSData *)AES256DecryptWithKey 阅读全文
posted @ 2017-11-28 10:30 弋小木 阅读(150) 评论(0) 推荐(0) 编辑
摘要: #define ViewOf(__View__,__TAG__) [__View__ viewWithTag:__TAG__]#define LabelOf(__View__,__TAG__) ((UILabel*)[__View__ viewWithTag:__TAG__])#define Ima 阅读全文
posted @ 2017-11-28 10:25 弋小木 阅读(84) 评论(0) 推荐(0) 编辑