Much simpler:
Objc
[sli setThumbImage:[[[UIImage alloc] init] autorelease] forState:UIControlStateNormal];
Swift version
sli.setThumbImage(UIImage(), for: .normal)
Objc
[sli setThumbImage:[[[UIImage alloc] init] autorelease] forState:UIControlStateNormal];
Swift version
sli.setThumbImage(UIImage(), for: .normal)