~/资源库/Developer/Xcode/DerivedData
~/Library/MobileDevice/Provisioning\ Profiles
音频
http://www.cnblogs.com/kenshincui/p/4186022.html
网络请求
http://www.cnblogs.com/zangwucao/p/5505331.html
HTTPS
http://wetest.qq.com/lab/view/274.html?from=adsout_qqtips_274&sessionUserType=BFT.PARAMS.205246.TASKID&ADUIN=1621911598&ADSESSION=1482284622&ADTAG=CLIENT.QQ.5503_.0&ADPUBNO=26642
GCD
http://www.cnblogs.com/kenshincui/p/3983982.html#multiThread
内存管理
https://my.oschina.net/openlab/blog/89354
音乐播放器
http://blog.csdn.net/lwjok2007/article/details/50425324
【链接】robbiehanson/XMPPFramework
https://github.com/robbiehanson/XMPPFramework
//修改第三方PNChart圆环为彩虹色
//***********Alina修改颜色
NSArray *colors1 = [NSArray arrayWithObjects:(id)[UIColor purpleColor].CGColor,
(id)[UIColor purpleColor].CGColor,
(id)[UIColor brownColor].CGColor,
(id)[UIColor brownColor].CGColor, nil];
NSArray *colors2 = [NSArray arrayWithObjects: (id)[UIColor redColor].CGColor,
(id)[UIColor orangeColor].CGColor,
(id)[UIColor yellowColor].CGColor,
(id)[UIColor greenColor].CGColor,nil];
CAGradientLayer *gradientLayerLeft = [CAGradientLayer layer];
gradientLayerLeft.frame = CGRectMake(0, 0, self.bounds.size.width/2, self.bounds.size.height);
gradientLayerLeft.colors = colors1;
gradientLayerLeft.startPoint = CGPointMake(0.5, 1);
gradientLayerLeft.endPoint = CGPointMake(0.5, 0);
[gradientLayer addSublayer:gradientLayerLeft];
CAGradientLayer *gradientLayerRight = [CAGradientLayer layer];
gradientLayerRight.frame = CGRectMake(self.bounds.size.width/2, 0, self.bounds.size.width/2.0, self.bounds.size.height);
gradientLayerRight.colors = colors2;
gradientLayerRight.startPoint = CGPointMake(0.5, 1);
gradientLayerRight.endPoint = CGPointMake(0.5, 0);
[gradientLayer addSublayer:gradientLayerRight];
CAGradientLayer *topLayer = [CAGradientLayer layer];
topLayer.frame = CGRectMake(self.bounds.size.width/2 - 30, 0, 60, 60);
CGFloat ratio = 2*14/(100+4*14);
topLayer.locations = @[@(ratio), @(1-ratio)];
topLayer.colors = @[(__bridge id)[UIColor brownColor].CGColor, (__bridge id)[UIColor greenColor].CGColor];
topLayer.startPoint = CGPointMake(0, 0);
topLayer.endPoint = CGPointMake(1, 0);
[gradientLayer addSublayer:topLayer];
CAGradientLayer *bottomLayer = [CAGradientLayer layer];
bottomLayer.frame = CGRectMake(self.bounds.size.width/2 - 60, 200 - 60, 60, 60);
CGFloat ratioBottomLayer = 2*14/(100+4*14);
bottomLayer.locations = @[@(ratioBottomLayer), @(1-ratioBottomLayer)];
bottomLayer.colors = @[(__bridge id)[UIColor purpleColor].CGColor,(__bridge id)[UIColor redColor].CGColor];
bottomLayer.startPoint = CGPointMake(0, 0);
bottomLayer.endPoint = CGPointMake(1, 0);
[gradientLayer addSublayer:bottomLayer];
gradientLayer.colors = colors;
[gradientLayer setMask:self.gradientMask];//===========Alina