12345678910111213141516171819202122232425262728293031323334353637383940 |
- //
- // AboutUsBodyView.m
- // KulexiuForTeacher
- //
- // Created by Kyle on 2022/3/22.
- //
- #import "AboutUsBodyView.h"
- @interface AboutUsBodyView ()
- @property (weak, nonatomic) IBOutlet UILabel *versionLabel;
- @property (weak, nonatomic) IBOutlet UILabel *phoneLabel;
- @property (weak, nonatomic) IBOutlet UILabel *emailLabel;
- @end
- @implementation AboutUsBodyView
- - (void)awakeFromNib {
- [super awakeFromNib];
- self.versionLabel.text = [NSString stringWithFormat:@"版本号%@",[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"]];
- self.phoneLabel.text = @"4008851569";
- self.emailLabel.text = @"753761527@qq.com";
- }
- + (instancetype)shareInstance {
- AboutUsBodyView *view = [[[NSBundle mainBundle] loadNibNamed:@"AboutUsBodyView" owner:nil options:nil] firstObject];
- return view;
- }
- /*
- // Only override drawRect: if you perform custom drawing.
- // An empty implementation adversely affects performance during animation.
- - (void)drawRect:(CGRect)rect {
- // Drawing code
- }
- */
- @end
|