FDViewController.m 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //
  2. // FDViewController.m
  3. // FDUIKitObjC
  4. //
  5. // Created by 范东 on 2020/3/9.
  6. //
  7. #import "FDViewController.h"
  8. #import "FDUIColorDefine.h"
  9. @interface FDViewController ()
  10. @end
  11. @implementation FDViewController
  12. - (instancetype)init{
  13. if (self = [super init]) {
  14. self.view.backgroundColor = FD_WhiteColor;
  15. }
  16. return self;
  17. }
  18. - (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil{
  19. if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
  20. self.view.backgroundColor = FD_WhiteColor;
  21. }
  22. return self;
  23. }
  24. - (void)viewDidLoad {
  25. [super viewDidLoad];
  26. // Do any additional setup after loading the view.
  27. }
  28. /*
  29. #pragma mark - Navigation
  30. // In a storyboard-based application, you will often want to do a little preparation before navigation
  31. - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  32. // Get the new view controller using [segue destinationViewController].
  33. // Pass the selected object to the new view controller.
  34. }
  35. */
  36. @end