
- (NSInteger)getDifferenceByDate:(NSString *)date { //獲得當(dāng)前時(shí)間 NSDate*...
UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc]...
#pragma mark - UIGestureRecognizerDelegate-(BOOL)gestureRecognizer:(UIGe...
enum{ Sun = 1, Mon, Tue, Wed, Thu, Fri, Sat }; - (NSString...
在自己的navigationcontroller的viewdidload 里面寫(xiě)下如下代碼 self.delegate=self; __weak...
實(shí)現(xiàn)漸變色的類(lèi)型 CAGradientLayer*gradient = [CAGradientLayerlayer]; gradient.fra...
-(void)addanimationwithView:(UIView *)circleView{ NSInteger pulsingCoun...
NSInteger index= [[self.navigationController viewControllers] indexOfObj...
隱藏分割線(xiàn) _tableView.separatorStyle = UITableViewCellSeparatorStyleNone; 取消t...