@@ -256,6 +256,35 @@ Description: `fis`
256256 }
257257
258258
259+ ** fuckingblockmethod.codesnippet** (FuckingBlockMethod)
260+ Shortcut: ` fuckingBlockMethod `
261+ Description: ` Declares a method that takes a block as its first parameter `
262+
263+ - (void)someMethodThatTakesABlock:(<#returnType#> (^)(<#parameterTypes#>))<#parameterName#>
264+ {
265+
266+ }
267+
268+ ** fuckingblockproperty.codesnippet** (FuckingBlockProperty)
269+ Shortcut: ` fuckingBlockProperty `
270+ Description: ` Delcares a block as a fucking property `
271+
272+ @property (nonatomic, copy) <#returnType#> (^<#blockName#>)(<#parameterTypes#>);
273+
274+ ** fuckingblocktypedef.codesnippet** (FuckingBlockTypedef)
275+ Shortcut: ` fuckingBlockTypedef `
276+ Description: ` Typedefs a fucking block `
277+
278+ typedef <#returnType#> (^<#TypeName#>)(<#parameterTypes#>);
279+
280+ ** fuckingblockvariable.codesnippet** (FuckingBlockVariable)
281+ Shortcut: ` fuckingBlockVariable `
282+ Description: ` Declares a block as a fucking local variable `
283+
284+ <#returnType#> (^<#blockName#>)(<#parameterTypes#>) = ^<#returnType#>(<#parameters#>) {
285+ <#code#>
286+ };
287+
259288** gcdAsyncCurrentQueue.codesnippet** (GCD: Async Current Queue)
260289Shortcut: ` gcd_async_current `
261290Description: ` gcd_async_current `
@@ -811,8 +840,8 @@ Description: `string_contains`
811840 [<#string#> rangeOfString:@"<#match#>"].location != NSNotFound
812841
813842** strongProperty.codesnippet** (Strong Property)
814- Shortcut: ` pns `
815- Description: ` pns `
843+ Shortcut: ` sdah `
844+ Description: ` sdah `
816845
817846 @property (nonatomic, strong) <#Class name#> *<#Property Name#>;
818847
0 commit comments