- 博客(15)
- 资源 (11)
- 收藏
- 关注
原创 模型获取得值为<null>转为" "空字符串
#import "CodeModel.h"@implementation CodeModel-(void)setValue:(id)value forUndefinedKey:(NSString *)key{ }-(id)valueForUndefinedKey:(NSString *)key{
2016-02-26 18:15:51 2865
原创 服务器返回的字符串 get 获取一直是空
//客户提供的接口网址链进去返回的是ture 我一直获取不到最后各种找,竟然是不能直接返回字符串他必须得给我返回个Json对象[[ApiService shareAPIService]GetData:@"CheckUserPassword"parameters:dic success:^(NSURLSessionDataTask *task,id res
2016-02-26 16:25:58 947
原创 继承自UITableViewController 改为继承自viewController
设置代理 添加 self.tableView.delegate =self; self.tableView.dataSource =self; [self.viewaddSubview:self.tableView];UITableViewStyleGrouped头视图跟着移动
2016-02-26 15:21:06 1382
原创 tableView 尾视图一直固定不动
尾视图一直在底部不跟着滑动后来发现是少些了这句,系统默认为plain样式了 self.tableView = [[UITableViewalloc] initWithFrame:CGRectMake(0,0, kScreenWidth,kScreenHeight)style:UITableViewStyleGrouped];
2016-02-25 17:07:01 2382
原创 UIPickerView
//遵循协议 UIPickerViewDelegate,UIPickerViewDataSource self.pickArray = @[@"合格",@"报废",@"退货",@"返工",@"让步"]; self.pickV = [[UIPickerViewalloc]initWithFrame:CGRectMake(
2016-02-22 14:03:44 276
原创 FS
好像找到了困惑的根源 曾经,觉得自己的圈子 大都不努力,觉得那不是年轻人该有的样子 所以急切想跳出,去追寻自己的梦 然而 好像 并没什么值得庆幸 确实很多人都很努力,都在为自己想要的奋斗 可这和我又有什么关系呢 那里.她们 了解我的坏脾气 有那么多朋友惯着我 做错事的时候 闺蜜会引导我 可到这
2016-02-17 11:16:51 274
原创 tableview 取消点击状态 去除分割线
去除分割线 tableView.separatorStyle = NO;取消点击状态 cell.selectionStyle =UITableViewCellSelectionStyleNone;
2016-02-03 18:04:43 955
原创 拉伸图片
-(UIImage*)imageByScalingAndCroppingForSize:(CGSize)targetSize{ UIImage*sourceImage=[UIImageimageNamed:@"1"]; UIImage*newImage=nil; CGSize imageSize = sourceImage.size;
2016-02-02 15:45:32 372
原创 设置边框 设置圆角
// 设置阴影透明度 _redView.layer.shadowOpacity= 1; // 设置阴影颜色 _redView.layer.shadowColor= [UIColoryellowColor].CGColor; // 设置阴影圆角半径 _redView.layer.shadowRadius
2016-02-01 16:47:33 561
天空盒-网盘链接.txt
2019-08-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人