Files
real-e-party-iOS/YuMi/Modules/YMTabbar/View/Cell/XPAnchorCardSkillCollectionViewCell.m
edwinQQQ a35a711be6 chore: Initial clean commit
- Removed YuMi/Library/ (138 MB, not tracked)
- Removed YuMi/Resources/ (23 MB, not tracked)
- Removed old version assets (566 files, not tracked)
- Excluded Pods/, xcuserdata/ and other build artifacts
- Clean repository optimized for company server deployment
2025-10-09 16:19:14 +08:00

44 lines
981 B
Objective-C

//
// YMAnchorCardSkillCollectionViewCell.m
// YUMI
//
// Created by YUMI on 2022/8/2.
//
#import "XPAnchorCardSkillCollectionViewCell.h"
///Third
#import <Masonry/Masonry.h>
@implementation XPAnchorCardSkillCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame {
if (self = [super initWithFrame:frame]) {
[self initSubViews];
[self initSubViewConstraints];
}
return self;
}
#pragma mark - Private Method
- (void)initSubViews {
[self.contentView addSubview:self.imageView];
}
- (void)initSubViewConstraints {
[self.imageView mas_makeConstraints:^(MASConstraintMaker *make) {
make.leading.trailing.mas_equalTo(0);
make.top.bottom.mas_equalTo(self.contentView);
}];
}
#pragma mark - Getters And Setters
- (NetImageView *)imageView {
if (!_imageView) {
_imageView = [[NetImageView alloc] init];
_imageView.contentMode = UIViewContentModeScaleAspectFit;
}
return _imageView;
}
@end