xcode のプロジェクト設定で Other Linker Flags を 下記のように書き換えればシミュレータでも正常に動かすことができます。 (実機・シミュレータ確認済み)
修正前: -weak_library /usr/lib/libSystem.B.dylib 修正後: -weak-lSystem /usr/lib/libSystem.B.dylib
xcode のプロジェクト設定で Other Linker Flags を 下記のように書き換えればシミュレータでも正常に動かすことができます。 (実機・シミュレータ確認済み)
修正前: -weak_library /usr/lib/libSystem.B.dylib 修正後: -weak-lSystem /usr/lib/libSystem.B.dylib
- (NSString *)recursiveDescription; - (NSDictionary *)scriptingInfoWithChildren;
@implementation UIView (Debug)
- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event {
BOOL pointInside = CGRectContainsPoint(self.bounds, point);
if (pointInside) NSLog(@"%@", self);
return pointInside;
}
@end
{
"curly": true, // curly braces around all blocks should be required
"noempty": true, // empty blocks should be disallowed
"newcap": true, // constructor names must be capitalized
"eqeqeq": true, // if === should be required
"eqnull": true, // if == null comparisons should be tolerated
"es5": true, // Allow ecma5
"undef": true, // if variables should be declared before used
"devel": true, // if logging globals should be predefined (console, alert, etc
"node": true, // if the Node.js environment globals should be predefined
"browser": true, // if the standard browser globals should be predefined
"evil": false, // if eval should be allowed
"latedef": false, // if the use before definition should not be tolerated
"nonew": true, // if using `new` for side-effects should be disallowed
"trailing": false, // if trailing whitespace rules apply
"immed": false, // if immediate invocations must be wrapped in parens
"smarttabs": true, // if smarttabs should be tolerated
"predef": [
"describe", // Used by mocha
"it", // Used by mocha
"before", // Used by mocha
"beforeEach", // Used by mocha
"after", // Used by mocha
"afterEach" // Used by mocha
]
}