Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions 21600000李启雷/project02/MyPaint/MyView.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,16 @@ - (void) drawRect:(CGRect)rect {
CGContextRef context = UIGraphicsGetCurrentContext();

CGContextSetRGBFillColor(context, 0.5, 0, 0.5, 0.4);
CGContextFillRect(context, CGRectMake(rect.origin.x+10,
rect.origin.y+10,
rect.size.width-20,
rect.size.width - 20));
// CGContextFillRect(context, CGRectMake(rect.origin.x+10,
// rect.origin.y+10,
// rect.size.width-20,
// rect.size.width - 20));






}

@end
2 changes: 1 addition & 1 deletion 21600000李启雷/project02/MyPaint/main.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
}
26 changes: 26 additions & 0 deletions 21651133陈军/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
##第二次作业 移植cal到ios平台

####基本功能
可实现选择月份和年份,不过为了简单考虑,只是用datepicker来作为用户的选择的工具

####学习到的知识
* NSString、NSMutableString的进一步认识
* Framework的制作与使用


##第三次作业 实现Todo List

####基本功能

* 添加task
* 数据保存到本地,用plist
* 长按某个task,可以删除该task

####学习到的知识
* UITableView、UITableViewCell的知识
* 对视图层次有更进一步的认识
* 对如何在代码中实现界面有了一定的体会
* 对ios中的事件机制有了进一步的了解
* 对Category的认识


##第一次作业 简单实现macOS下的cal

####三种基本的功能
Expand Down
Loading