How can I create a static class in Swift?
I'm looking to create a static class called VectorCalculator. Perhaps this function should just be placed in my Vector class (similar to NSString's - -stringByAppendingString method in Obj-C)... and if you think that... let me know. Anyway I want to add a couple of static functions to a static class called VectorCalculator. It will calculate the 'dot product' and return a Vector. Another function will likely be to 'calculate and return the angle between two given vectors'. A) Would anyone go this route of creating a static class for this or B) should I just add these functions as instance