摘要:
# Quartz2D- Quartz2D的API是纯C语言的- Quartz2D的API来自于Core Graphics框架- 数据类型和函数基本都以CG作为前缀 - CGContextRef - CGPathRef - CGContextStrokePath(ctx); -... 阅读全文
阅读排行榜
UIScrollView
2015-06-05 22:09 by Say_ALin, 362 阅读, 收藏,
摘要:
# UIScrollView## UIScrollView重中之重- 一定要设置contentSize属性,ScrollView才能进行视图的滚动```abjc// 设置contentsizeself.scrollView.contentSize = CGSizeMake(size);```## 如... 阅读全文
Autolayout
2015-06-05 22:19 by Say_ALin, 347 阅读, 收藏,
摘要:
# storyboard- 警告 - 控件的frame不匹配所添加的约束 - 比如比如约束控件的宽度为100, 而控件现在的宽度是110 - 点击右下角的小三角,选择update frames即可 - 注意选择update frames的时候,有两个组 ... 阅读全文
大数运算之比较大小
2015-04-23 21:13 by Say_ALin, 344 阅读, 收藏,
摘要:
给你两个很大的数,判断大小。#include #include int main(){ char s1[1024], s2[1024]; while(scanf("%s %s", s1, s2) != EOF) { if(s1[0] == '0' && s2[0] =... 阅读全文
浙公网安备 33010602011771号