GWJJViewController.m 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //
  2. // GWJJViewController.m
  3. // jitao
  4. //
  5. // Created by 罗云飞 on 2018/8/19.
  6. // Copyright © 2018年 罗云飞. All rights reserved.
  7. //
  8. #import "GWJJViewController.h"
  9. @interface GWJJViewController ()
  10. @end
  11. @implementation GWJJViewController
  12. - (void)viewDidLoad {
  13. [super viewDidLoad];
  14. self.view.backgroundColor = NewWhiteColor;
  15. UILabel *title = [UILabel new];
  16. title.font = NewFont(13);
  17. title.text = self.neirong;
  18. title.textColor = [UIColor colorWithString:@"#6C6C6C"];
  19. [self.view addSubview:title];
  20. title.sd_layout
  21. .leftSpaceToView(self.view, 15)
  22. .rightSpaceToView(self.view, 15)
  23. .autoHeightRatio(0)
  24. .topSpaceToView(self.view, 15);
  25. // Do any additional setup after loading the view.
  26. }
  27. - (void)didReceiveMemoryWarning {
  28. [super didReceiveMemoryWarning];
  29. // Dispose of any resources that can be recreated.
  30. }
  31. /*
  32. #pragma mark - Navigation
  33. // In a storyboard-based application, you will often want to do a little preparation before navigation
  34. - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  35. // Get the new view controller using [segue destinationViewController].
  36. // Pass the selected object to the new view controller.
  37. }
  38. */
  39. @end