I want to build a service object with only static methods. Should I use struct or class or enum for this case? What the difference will be? May be it affects compile time? May be it affects speed somehow? I know structs are faster for instances. But how it affects this case?
Your thoughts? You experience?
Thank you.
struct/class/enum Linker {
public static func skypeCall(contact:String) {
//...
}
public static func phoneCall(phoneNumber:String) {
//...
}
public static func openWebPage(url:String) {
//...
}
}