What does this method do? Why return nil if you want the clock ref? What is the (void)clock part? Happy to delete if this is dumb. I couldn't find the terms to use to find an answer.
- (CMClockRef)clock
{
(void)clock;
return nil;
}
and why can't I just do:
- (CMClockRef)clock
{
return CMClockGetHostTimeClock();
// Build error: Ivar 'clock' which backs the property is not referenced in this property's accessor
}
Without getting an error?