Using a block object instead of a selector?

Viewed 3300

I have:

[self schedule:@selector(tickhealth)];

And tickHealth method only has one line of code:

-(void)tickHealth
{
    [hm decreaseBars:0.5];
}

is it possible to use block objects in place of a selector. for example something like:

[self schedule:^{
    [hm decreaseBars:0.5];
}];
2 Answers
Related