
- (NSInteger)getDifferenceByDate:(NSString *)date { //获得当前时间 NSDate*...
UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc]...
#pragma mark - UIGestureRecognizerDelegate-(BOOL)gestureRecognizer:(UIGe...
enum{ Sun = 1, Mon, Tue, Wed, Thu, Fri, Sat }; - (NSString...
在自己的navigationcontroller的viewdidload 里面写下如下代码 self.delegate=self; __weak...
实现渐变色的类型 CAGradientLayer*gradient = [CAGradientLayerlayer]; gradient.fra...
-(void)addanimationwithView:(UIView *)circleView{ NSInteger pulsingCoun...
NSInteger index= [[self.navigationController viewControllers] indexOfObj...
隐藏分割线 _tableView.separatorStyle = UITableViewCellSeparatorStyleNone; 取消t...