Last active
August 29, 2015 13:57
Revisions
-
dodikk renamed this gist
Apr 1, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
dodikk revised this gist
Apr 1, 2014 . 3 changed files with 21 additions and 1 deletion.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,3 @@ @protocol MyBlockProtocol; typedef id<MyBlockProtocol>(^MyFactoryMethodBlock)( NSString* )objectId This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -5,5 +5,11 @@ -(MyFactoryMethodBlock)factoryMethodBlock; // having a conflict -(id<MyBlockProtocol>)createInstanceById:( NSString* )instanceId; // what's wrong here? -(instancetype)createInstanceById_2:( NSString* )instanceId; @end This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ #import <MyLibrary/MyBlockProtocol.h> @protocol MyChildBlockProtocol<MyBlockProtocol> -(MyFactoryMethodBlock)factoryMethodBlock; // having a conflict -(id<MyChildBlockProtocol>)createInstanceById:( NSString* )instanceId; // what's wrong here? -(instancetype)createInstanceById_2:( NSString* )instanceId; @end -
dodikk created this gist
Apr 1, 2014 .There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ @protocol MyBlockProtocol; typedef id<MyBlockProtocol>(^MyFactoryMethodBlock)( NSString* )objectId This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ #import <MyLibrary/FactoryBlock.h> @protocol MyBlockProtocol -(MyFactoryMethodBlock)factoryMethodBlock; @end