JXLoginTopView.m 714 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // JXLoginTopView.m
  3. // shiku_im
  4. //
  5. // Created by JayLuo on 2020/7/1.
  6. // Copyright © 2020 Reese. All rights reserved.
  7. //
  8. #import "JXLoginTopView.h"
  9. @interface JXLoginTopView()
  10. @property (strong, nonatomic) IBOutlet JXLoginTopView *view;
  11. @end
  12. @implementation JXLoginTopView
  13. + (instancetype)customView
  14. {
  15. JXLoginTopView *view = [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass(self) owner:nil options:nil] lastObject];
  16. return view;
  17. }
  18. //重写initWithCoder:方法,初始化控件
  19. - (instancetype)initWithCoder:(NSCoder *)coder{
  20. self = [super initWithCoder:coder];
  21. if (self) {
  22. }
  23. return self;
  24. }
  25. - (void)layoutSubviews
  26. {
  27. [super layoutSubviews];
  28. }
  29. @end