UICoreTextView
- 授权协议: zlib
- 开发语言: Objective-C
- 操作系统: iOS
- 软件首页: https://github.com/giladno/UICoreTextView
- 软件文档: https://github.com/giladno/UICoreTextView
软件介绍
UICoreTextView 是一个易用的 UIView ,可通过 CoreText 进行多格式文本的渲染。
示例代码:
@interface BlueCircle : NSObject<HTMLRenderer>
@end
@implementation BlueCircle
-(CGSize)size
{
return CGSizeMake(50, 50);
}
-(void)renderInContext:(CGContextRef)context rect:(CGRect)rect
{
CGContextSetFillColorWithColor(context, [UIColor blueColor].CGColor);
CGContextFillEllipseInRect(context, rect);
}
@end
JavaScript
Douglas Crockford / Yahoo Press / 2008-5 / GBP 23.99
Most programming languages contain good and bad parts, but JavaScript has more than its share of the bad, having been developed and released in a hurry before it could be refined. This authoritative b......一起来看看 《JavaScript》 这本书的介绍吧!
