Skip to content

Commit

Permalink
update:release 0.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
李杰 committed Nov 21, 2018
1 parent 4586940 commit 4c8f17c
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 2 deletions.
2 changes: 1 addition & 1 deletion JJException.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
#

s.name = "JJException"
s.version = "0.1.6"
s.version = "0.1.7"
s.summary = "Handle the objective-c crash exception."

# This description is used to generate tags and improve search results.
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,88 @@
<Bucket
type = "1"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.AddressBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
symbolName = "*0x108e21965">
<Locations>
<Location
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
usesParentBreakpointCondition = "Yes"
offsetFromSymbolStart = "0">
</Location>
</Locations>
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "JJException/Source/MRC/NSObject+KVOCrash.m"
timestampString = "564488427.585709"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "133"
endingLineNumber = "133"
landmarkName = "-clearKVOData"
landmarkType = "7">
<Locations>
<Location
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
symbolName = "-[KVOObjectContainer clearKVOData]"
moduleName = "JJException"
usesParentBreakpointCondition = "Yes"
urlString = "file:///Users/jezz/git_project/JJExceptionGithub/JJException/Source/MRC/NSObject+KVOCrash.m"
timestampString = "564488398.348398"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "133"
endingLineNumber = "133"
offsetFromSymbolStart = "55">
</Location>
<Location
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
symbolName = "-[KVOObjectContainer clearKVOData]"
moduleName = "JJException"
usesParentBreakpointCondition = "Yes"
urlString = "file:///Users/jezz/git_project/JJExceptionGithub/JJException/Source/MRC/NSObject+KVOCrash.m"
timestampString = "564488398.350692"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "133"
endingLineNumber = "133"
offsetFromSymbolStart = "65">
</Location>
</Locations>
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "JJException/Source/MRC/NSObject+KVOCrash.m"
timestampString = "564488427.587878"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "244"
endingLineNumber = "244"
landmarkName = "-kvo_hookDealloc"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
12 changes: 11 additions & 1 deletion JJException/PushViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(N

}

- (void)dealloc{
NSLog(@"dealloc");
}

@end

@interface PushViewController (){
Expand All @@ -32,6 +36,8 @@ @interface PushViewController (){

@property(nonatomic,readwrite,copy)NSString* test1;

@property(nonatomic,readwrite,copy)NSString* demoString1;

@end

@implementation PushViewController
Expand All @@ -47,8 +53,12 @@ - (void)viewDidLoad {
[self testKVO];

[self testNotification];

dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
_kvoObserver = nil;
});

dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(6 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[self dismissViewControllerAnimated:YES completion:nil];
});

Expand Down

0 comments on commit 4c8f17c

Please sign in to comment.