Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ref #13 Fix a problem with addChildViewController

  • Loading branch information...
commit b82e143000ecc200c07380937d35652c800b103f 1 parent d76f07a
@tokorom authored
View
4 BlockInjection.podspec
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = "BlockInjection"
- s.version = "0.6.3"
+ s.version = "0.6.4"
s.summary = "You can insert some Blocks before and after the method."
s.homepage = "https://github.com/tokorom/BlockInjection"
s.license = 'MIT'
s.author = { "tokorom" => "tokorom@gmail.com" }
- s.source = { :git => "https://github.com/tokorom/BlockInjection.git", :tag => "0.6.3" }
+ s.source = { :git => "https://github.com/tokorom/BlockInjection.git", :tag => "0.6.4" }
s.source_files = 'BlockInjection'
s.requires_arc = true
View
4 BlockInjection/BIItem.m
@@ -82,6 +82,10 @@ - (NSUInteger)numberOfPostprocess
- (void*)invokeWithTarget:(id)target args:(va_list*)args
{
+ if (![BILibUtils getMethodInClass:[target class] selector:self.originalSel]) {
+ return NULL;
+ }
+
BOOL isSuperMethod = NO;
if ([self isSuperClassMethodWithTarget:target]) {
[self setupSuperClassMethodForTarget:target];
View
4 BlockInjectionTest/BlockInjectionTests/BlockInjectionTests-Info.plist
@@ -13,10 +13,10 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
- <string>0.6.3</string>
+ <string>0.6.4</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>0.6.3</string>
+ <string>0.6.4</string>
</dict>
</plist>
Please sign in to comment.
Something went wrong with that request. Please try again.