30 lines
803 B
Objective-C
30 lines
803 B
Objective-C
//
|
|
// CLFontPickerView.h
|
|
//
|
|
// Created by sho yakushiji on 2013/12/14.
|
|
// Copyright (c) 2013年 CALACULU. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@protocol CLFontPickerViewDelegate;
|
|
|
|
@interface CLFontPickerView : UIView
|
|
|
|
@property (nonatomic, weak) id<CLFontPickerViewDelegate> delegate;
|
|
@property (nonatomic, strong) NSArray *fontList;
|
|
@property (nonatomic, strong) NSArray *fontSizes;
|
|
@property (nonatomic, strong) UIFont *font;
|
|
@property (nonatomic, strong) NSString *text;
|
|
@property (nonatomic, assign) BOOL sizeComponentHidden;
|
|
@property (nonatomic, strong) UIColor *foregroundColor;
|
|
@property (nonatomic, strong) UIColor *textColor;
|
|
|
|
@end
|
|
|
|
|
|
@protocol CLFontPickerViewDelegate <NSObject>
|
|
@optional
|
|
- (void)fontPickerView:(CLFontPickerView*)pickerView didSelectFont:(UIFont*)font;
|
|
|
|
@end |