随笔分类 -  自我整理

摘要:最近项目中用到了很多的图表,如柱状图,线状图,饼状图等等。接触到了一个新的第三方Charts,在做图方面确实非常强大,在使用了一段时间后,今天对他进行一个小的总结,也是自己的一点小理解。 关于charts图的基本的创建与一些基本的属性就不多一一赘述了,下面说一下我平时用到的,大家可能理解不太深刻的一 阅读全文
posted @ 2017-12-21 15:01 CodingMann 阅读(908) 评论(0) 推荐(0) 编辑
摘要:这种是不验证证书的密钥 AFSecurityPolicy *policy = [AFSecurityPolicy policyWithPinningMode:AFSSLPinningModeNone]; policy.allowInvalidCertificates = YES; policy.va 阅读全文
posted @ 2016-12-08 15:53 CodingMann 阅读(701) 评论(0) 推荐(0) 编辑
摘要://一个section刷新 NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:2]; [tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationAut 阅读全文
posted @ 2016-05-20 14:17 CodingMann 阅读(6180) 评论(0) 推荐(0) 编辑
摘要:设置appicon General – App Icon Source 设置AppIcon 图片大小 iphone 6P(@3x) 180x180 iphone 6(@2x) iphone5/5s (@2x) 120x120 iphone4/4s (@2x) 设置launchimage 第一种方法 阅读全文
posted @ 2016-02-24 12:41 CodingMann 阅读(612) 评论(0) 推荐(0) 编辑
摘要:1.函数无限递归爆栈(表视图返回Cell和返回行高的方法互相调用)2.某对象无法解析某个方法(没做类型转换、或者代理没实现某个方法)3.访问了某个已经被释放的对象(ARC之后不太有)4.从Bundle加载了不存在或者不支持的对象(图片素材之类的)5.子线程阻塞主UI线程过久 阅读全文
posted @ 2016-01-06 16:23 CodingMann 阅读(442) 评论(0) 推荐(0) 编辑
摘要:// 设置tabbar的角标[[[[[self tabBarController] viewControllers] objectAtIndex: 0] tabBarItem] setBadgeValue:[NSString stringWithFormat:@"%ld",(long)number]... 阅读全文
posted @ 2015-12-22 14:19 CodingMann 阅读(251) 评论(0) 推荐(0) 编辑
摘要:ios7中,UITableViewCell左侧会有默认15像素的空白。设置setSeparatorInset:UIEdgeInsetsZero 能将空白去掉。ios8中,setSeparatorInset:UIEdgeInsetsZero 的设置已经不起作用了。工程中添加如下代码便可解决:self.... 阅读全文
posted @ 2015-12-15 15:03 CodingMann 阅读(895) 评论(0) 推荐(0) 编辑
摘要:https://github.com/beecloud/beecloud-ios 阅读全文
posted @ 2015-11-23 14:44 CodingMann 阅读(361) 评论(0) 推荐(0) 编辑
摘要://详细操作步骤http://www.csdn.net/article/2015-01-23/2823686-healthkit-tutorial-with-swift//官方apihttps://github.com/WildDylan/appleSample 阅读全文
posted @ 2015-11-20 13:46 CodingMann 阅读(181) 评论(0) 推荐(0) 编辑
摘要:首先要导入头文件#import "UIKit+AFNetworking.h"方法如下:[personImageView setImageWithURL:[NSURL URLWithString:imageUrlString] placeholderImage:[UIImage imageNamed:... 阅读全文
posted @ 2015-10-27 11:12 CodingMann 阅读(220) 评论(0) 推荐(0) 编辑
摘要:@interface AppDelegate () @end@implementation AppDelegate- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary ... 阅读全文
posted @ 2015-10-21 14:52 CodingMann 阅读(225) 评论(0) 推荐(0) 编辑
摘要:NSDictionary *infoDic = [[NSBundle mainBundle] infoDictionary];NSString *currentVersion = [infoDic objectForKey:@"CFBundleShortVersionString"];cell.te... 阅读全文
posted @ 2015-10-20 14:09 CodingMann 阅读(363) 评论(0) 推荐(0) 编辑
摘要:1.将设计好的图片,拖拽到Groups&Files的Resources目录下;2.修改Resources目录下的“工程名-info.plist”文件3.修改该文件的Iconfile属性,填写拖入图片的名称,保存该文件。4.Build and Run工程即可。说明:iPhone对应用程序的Icon尺寸... 阅读全文
posted @ 2015-10-20 10:55 CodingMann 阅读(333) 评论(0) 推荐(0) 编辑
摘要:cell.Projreview.layer.cornerRadius = 5; cell.AnmiProjiectView.layer.cornerRadius = 5; cell.Headimage.layer.cornerRadius = 20; cell.AnmHeadimage.lay... 阅读全文
posted @ 2015-10-14 16:42 CodingMann 阅读(164) 评论(0) 推荐(0) 编辑
摘要:- (void)viewDidLoad{ [super viewDidLoad]; _datePicker = [[UIDatePicker alloc] initWithFrame:CGRectMake(0, 100, 320, 400)];// 设置picker显示的样式 _dateP... 阅读全文
posted @ 2015-10-14 16:33 CodingMann 阅读(262) 评论(0) 推荐(0) 编辑
摘要:_content = [UILabel new]; _content.text = @"日落时分,沏上一杯山茶,听一曲意境空远的《禅》,心神随此天籁,沉溺于玄妙的幻境里。仿佛我就是那穿梭于葳蕤山林中的一只飞鸟,时而盘旋穿梭,时而引吭高歌;仿佛我就是那潺潺流泻于山涧的一汪清泉,涟漪轻盈,浩... 阅读全文
posted @ 2015-10-14 16:28 CodingMann 阅读(155) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示