1.git更新報沖突,要刪除哪里
2.求余和整除的計算
這就像咱們小學(xué)二年級的數(shù)學(xué)算數(shù)一樣,比如是10÷3=3…1;這個1就是那個余數(shù)闸氮;再就是3÷10=0…10;就是除不開,余數(shù)就是10教沾;再就是2÷3=0…2蒲跨;于是取余就是2,就是這個原理
3。imageview的大小
[imag sd_setImageWithURL:[NSURL URLWithString:hom1.filepath] placeholderImage:nil options:(SDWebImageRetryFailed) completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {
//? imag5.frame = CGRectMake(i*image.size.width/2, Y/4, image.size.width/2,Y/2);
//? ? ? ? ? ? ? ? ? ? NSLog(@"-------+-------------%f",X);
////
if (image.size.height>Y)
{
//
imag.contentMode = UIViewContentModeScaleAspectFill;
}
else
{
imag.contentMode = UIViewContentModeScaleAspectFit;
}
//NSLog(@"--------------------%f------------%f",image.size.height,Y);
}];