VLCNetworkLoginViewFieldCell.h 1.1 KB

1234567891011121314151617181920212223242526272829303132
  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, nullable, copy) NSString *placeholderString;
  19. @end
  20. @protocol VLCNetworkLoginViewFieldCellDelegate <NSObject>
  21. - (BOOL)loginViewFieldCellShouldReturn:(VLCNetworkLoginViewFieldCell *)cell;
  22. - (void)loginViewFieldCellDidEndEditing:(VLCNetworkLoginViewFieldCell *)cell;
  23. @end
  24. NS_ASSUME_NONNULL_END