-
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
5657ca4
commit 0699a13
Showing
9 changed files
with
106 additions
and
47 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
Binary file not shown.
53 changes: 53 additions & 0 deletions
53
src/ios/lib/NativeKeyboard.framework/Headers/IonIcons-iOS.h
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// | ||
// IonIcons.h | ||
// ionicons-iOS is Copyright 2013 David Sweetman and released under the MIT license. | ||
// http://www.taptemplate.com | ||
// ========================== | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
#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 | ||
//================================ | ||
|
||
/*! 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; | ||
|
||
/*! 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 |
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,53 +1,18 @@ | ||
// | ||
// IonIcons.h | ||
// ionicons-iOS is Copyright 2013 TapTemplate and released under the MIT license. | ||
// http://www.taptemplate.com | ||
// ========================== | ||
// ionicons.h | ||
// ionicons | ||
// | ||
// Created by sweetman on 5/1/17. | ||
// Copyright © 2017 David Sweetman. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
#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 number for ionicons. | ||
FOUNDATION_EXPORT double ioniconsVersionNumber; | ||
|
||
/*! 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; | ||
//! Project version string for ionicons. | ||
FOUNDATION_EXPORT const unsigned char ioniconsVersionString[]; | ||
|
||
/*! 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; | ||
#import "IonIcons-iOS.h" | ||
|
||
@end |
Binary file not shown.
Binary file not shown.
22 changes: 22 additions & 0 deletions
22
src/ios/lib/NativeKeyboard.framework/ionicons.bundle/Info.plist
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>en</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>$(PRODUCT_NAME)</string> | ||
<key>CFBundlePackageType</key> | ||
<string>BNDL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>$(CURRENT_PROJECT_VERSION)</string> | ||
<key>NSPrincipalClass</key> | ||
<string></string> | ||
</dict> | ||
</plist> |
19 changes: 19 additions & 0 deletions
19
src/ios/lib/NativeKeyboard.framework/ionicons.bundle/ionicons-lib.h
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// ionicons.h | ||
// ionicons | ||
// | ||
// Created by sweetman on 5/1/17. | ||
// Copyright © 2017 TapTemplate. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
//! Project version number for ionicons. | ||
FOUNDATION_EXPORT double ioniconsVersionNumber; | ||
|
||
//! Project version string for ionicons. | ||
FOUNDATION_EXPORT const unsigned char ioniconsVersionString[]; | ||
|
||
// In this header, you should import all the public headers of your framework using statements like #import <ionicons/PublicHeader.h> | ||
|
||
|