This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@protocol BaseDelegate <NSObject> | |
@required | |
- (void)didSelectActionSheetIndex:(NSString *)actionTitle actionSheetIndex:(NSInteger )index; | |
@end | |
@interface CustomAction : NSObject <UIActionSheetDelegate> | |
@property (nonatomic, assign) id<BaseDelegate> delegate; // Assign property |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Incident Identifier: C28260B4-DECA-419E-BC49-770D7701708C | |
CrashReporter Key: 05b2264055702abdd411424db738dcfc3b5b983b | |
Hardware Model: iPhone8,2 | |
Process: MyApplicationName [412] | |
Path: /private/var/containers/Bundle/Application/772F232F-AC65-4467-AFEA-A989A812D406/MyApplicationName.app/MyApplicationName |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fileprivate let people: BehaviorRelay<[Person]> = BehaviorRelay(value: [ | |
Person(name: "Spiderman", title: "Marvel"), | |
Person(name: "Batman", title: "DC"), | |
Person(name: "Mickey", title: "Disney") | |
]) | |
let disposeBag = DisposeBag() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CardView: UIView { | |
@IBOutlet weak var title: UILabel! | |
@IBOutlet weak var image: UIImageView! | |
@IBOutlet weak var collectionView: UICollectionView! | |
func setupCardView() { | |
..... | |
} | |
override func layoutSubviews() { |
OlderNewer