Added swift extension

Added swift extension
Fixed spelling in Objective-C category