-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a438fbd
commit 42ae837
Showing
6 changed files
with
47 additions
and
65 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
53 changes: 0 additions & 53 deletions
53
src/ios/lib/NativeKeyboard.framework/Headers/IonIcons-iOS.h
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,53 @@ | ||
// | ||
// ionicons.h | ||
// ionicons | ||
// | ||
// Created by sweetman on 5/1/17. | ||
// Copyright © 2017 David Sweetman. All rights reserved. | ||
// IonIcons.h | ||
// ionicons-iOS is Copyright 2013 David Sweetman and released under the MIT license. | ||
// http://www.taptemplate.com | ||
// ========================== | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
//! Project version number for ionicons. | ||
FOUNDATION_EXPORT double ioniconsVersionNumber; | ||
#import "ionicons-codes.h" | ||
|
||
@interface IonIcons : NSObject | ||
|
||
//================================ | ||
// Font and Label Methods | ||
//================================ | ||
|
||
/*! Convenience method to get the ionicons font. | ||
*/ | ||
+ (UIFont*)fontWithSize:(CGFloat)size; | ||
|
||
/*! Convenience method to make a sized-to-fit UILabel containing an icon in the given font size and color. | ||
*/ | ||
+ (UILabel*)labelWithIcon:(NSString*)icon_name | ||
size:(CGFloat)size | ||
color:(UIColor*)color; | ||
|
||
/*! Adjust an existing UILabel to show an ionicon. | ||
*/ | ||
+ (void)label:(UILabel*)label | ||
setIcon:(NSString*)icon_name | ||
size:(CGFloat)size | ||
color:(UIColor*)color | ||
sizeToFit:(BOOL)shouldSizeToFit; | ||
|
||
//================================ | ||
// Image Methods | ||
//================================ | ||
|
||
//! Project version string for ionicons. | ||
FOUNDATION_EXPORT const unsigned char ioniconsVersionString[]; | ||
/*! Create a UIImage of an ionocin, making the image and the icon the same size: | ||
*/ | ||
+ (UIImage*)imageWithIcon:(NSString*)icon_name | ||
size:(CGFloat)size | ||
color:(UIColor*)color; | ||
|
||
#import "IonIcons-iOS.h" | ||
/*! Create a UIImage of an ionocin, and specify different sizes for the image and the icon: | ||
*/ | ||
+ (UIImage*)imageWithIcon:(NSString*)icon_name | ||
iconColor:(UIColor*)color | ||
iconSize:(CGFloat)iconSize | ||
imageSize:(CGSize)imageSize; | ||
|
||
@end |
Binary file not shown.
Binary file not shown.