mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-21 05:45:13 +00:00
37 lines
1 KiB
Objective-C
Executable file
37 lines
1 KiB
Objective-C
Executable file
//
|
|
// OSKUsernamePasswordCell.h
|
|
// Overshare
|
|
//
|
|
// Created by Jared Sinclair on 10/19/13.
|
|
// Copyright (c) 2013 Overshare Kit. All rights reserved.
|
|
//
|
|
|
|
@import UIKit;
|
|
|
|
extern NSString * const OSKUsernamePasswordCellIdentifier;
|
|
extern CGFloat const OSKUsernamePasswordCellHeight;
|
|
|
|
@class OSKUsernamePasswordCell;
|
|
|
|
@protocol OSKUsernamePasswordCellDelegate <NSObject>
|
|
|
|
- (void)usernamePasswordCell:(OSKUsernamePasswordCell *)cell didChangeText:(NSString *)text;
|
|
- (void)usernamePasswordCellDidTapReturn:(OSKUsernamePasswordCell *)cell;
|
|
|
|
@end
|
|
|
|
@interface OSKUsernamePasswordCell : UITableViewCell
|
|
|
|
@property (weak, nonatomic, readwrite) id <OSKUsernamePasswordCellDelegate> delegate;
|
|
@property (strong, nonatomic, readonly) UITextField *textField;
|
|
@property (strong, nonatomic, readonly) UITextField *textFieldForFakingPlaceholderText;
|
|
|
|
- (void)setText:(NSString *)text;
|
|
- (void)setPlaceholder:(NSString *)placeholder;
|
|
- (void)setUseSecureInput:(BOOL)useSecureInput;
|
|
- (void)setKeyboardType:(UIKeyboardType)keyboardType;
|
|
|
|
@end
|
|
|
|
|
|
|