- 博客(3)
- 资源 (1)
- 收藏
- 关注
转载 设置view的圆角、边框、阴影
在iOS开发中,任何可见视图都是继承于UIView的。 继承体系中,大部分UIView的属性适用于其任何孩子。 而UIView的layer属性可以绘制UIView的各种效果。其实我们看到的View的动画实际上也是layer在绘制。 1、绘制圆角 [objc] view plaincopy cornerView.l
2014-09-24 18:05:05
741
原创 (新手上路)UITableVIewCell移动,标记,插入,删除,多行删除
1.标记 //标记单行 标记多少行 -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{ UITableViewCell *onecell = [tableView cellForRowAtIndexPath:indexPath]; if (on
2014-08-26 20:19:15
475
原创 (新人上路)成绩单实现对象三种排序方法 及归档解归档方法
#import @interface Grade : NSObject @property (copy, nonatomic)NSString *name; @property int score; -(id)initWithName:(NSString *)name andScore:(int)score; -(void)print; //-(NSComparisonRes
2014-07-31 20:10:01
368
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人