VLCNetworkLoginViewFieldCell.h 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. /*****************************************************************************
  2. * VLC for iOS
  3. *****************************************************************************
  4. * Copyright (c) 2016 VideoLAN. All rights reserved.
  5. * $Id$
  6. *
  7. * Authors: Vincent L. Cone <vincent.l.cone # tuta.io>
  8. *
  9. * Refer to the COPYING file of the official project for license.
  10. *****************************************************************************/
  11. #import <UIKit/UIKit.h>
  12. NS_ASSUME_NONNULL_BEGIN
  13. extern NSString * const kVLCNetworkLoginViewFieldCellIdentifier;
  14. @protocol VLCNetworkLoginViewFieldCellDelegate;
  15. @interface VLCNetworkLoginViewFieldCell : UITableViewCell
  16. @property (nonatomic, weak) id<VLCNetworkLoginViewFieldCellDelegate> delegate;
  17. @property (nonatomic, retain) UITextField *textField;
  18. @property (nonatomic, retain) UIView *darkView;
  19. @property (nonatomic, nullable, copy) NSString *placeholderString;
  20. @end
  21. @protocol VLCNetworkLoginViewFieldCellDelegate <NSObject>
  22. - (BOOL)loginViewFieldCellShouldReturn:(VLCNetworkLoginViewFieldCell *)cell;
  23. - (void)loginViewFieldCellDidEndEditing:(VLCNetworkLoginViewFieldCell *)cell;
  24. @end
  25. NS_ASSUME_NONNULL_END