Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
greedbell committed Mar 21, 2016
1 parent e513e0b commit bf37d73
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Classes/Manager/FLEXManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ - (void)registerDefaultSimulatorShortcuts

+ (void)load
{
if ([[[UIDevice currentDevice] systemVersion] floatValue] < 8.0) {
return;
}
dispatch_async(dispatch_get_main_queue(), ^{
[[[self class] sharedManager] registerDefaultSimulatorShortcuts];
});
Expand Down
3 changes: 3 additions & 0 deletions Classes/Network/PonyDebugger/FLEXNetworkObserver.m
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ + (BOOL)isEnabled

+ (void)load
{
if ([[[UIDevice currentDevice] systemVersion] floatValue] < 8.0) {
return;
}
// We don't want to do the swizzling from +load because not all the classes may be loaded at this point.
dispatch_async(dispatch_get_main_queue(), ^{
if ([self isEnabled]) {
Expand Down
3 changes: 3 additions & 0 deletions Classes/Utility/FLEXKeyboardShortcutManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ + (instancetype)sharedManager

+ (void)load
{
if ([[[UIDevice currentDevice] systemVersion] floatValue] < 8.0) {
return;
}
SEL originalKeyEventSelector = NSSelectorFromString(@"handleKeyUIEvent:");
SEL swizzledKeyEventSelector = [FLEXUtility swizzledSelectorForSelector:originalKeyEventSelector];

Expand Down
2 changes: 1 addition & 1 deletion FLEX_Bell.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "FLEX_Bell"
spec.version = "2.3.0"
spec.version = "2.3.0.1"
spec.summary = "A set of in-app debugging and exploration tools for iOS"
spec.description = <<-DESC
- Inspect and modify views in the hierarchy.
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ FLEX (Flipboard Explorer) is a set of in-app debugging and exploration tools for

![View Hierarchy Exploration](http://engineering.flipboard.com/assets/flex/basic-view-exploration.gif)

## Difference with [Flipboard/FLEX](https://github.com/Flipboard/FLEX)

`pod` add iOS6 support,but can not be used below iOS8.

## Give Yourself Debugging Superpowers
- Inspect and modify views in the hierarchy.
Expand Down

0 comments on commit bf37d73

Please sign in to comment.