We should just check 

```objective-c
if (self.delegate)
{
    [self.delegate didSelectSegmentAtIndex:index];
}
```

Because the delegate conforms to the RZSelecgedSegmentDelegate protocol, we know that it should respond to this selector.