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
#import <UIKit/UIKit.h> | |
@interface UIView (visible) | |
- (void)setVisible:(BOOL)flag; | |
- (BOOL)visible; | |
@end |
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
#import <Foundation/Foundation.h> | |
@interface MSOrderdDictionary : NSObject <NSCoding> | |
{ | |
NSMutableDictionary *dictionary; | |
NSMutableArray *array; | |
} | |
+ (id)dictionary; |
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
- (void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated | |
{ | |
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; | |
} |
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
// ↓ここで紹介されていたSwiftのコードをObjective-Cに置き換えたものです。 | |
// | |
// Autolayoutでキーボードの高さによってViewを調整する方法 | |
// http://blog.tsumikiinc.com/article/20150123_autolayout-view.html | |
// | |
// StoryboardでUITextViewのBottomのVertical Space ConstraintとbottomLayoutConstraintを接続する必要があります。 | |
// 詳細は元のBlog記事を参照ください。 | |
@property (nonatomic, weak) IBOutlet NSLayoutConstraint *bottomLayoutConstraint; |
OlderNewer