JID and BareJID are classes while those objects are frequently created and destroyed and in those cases usage of struct is far better as they have different memory allocation methods in Swift.
JID
BareJID
JID
andBareJID
are classes while those objects are frequently created and destroyed and in those cases usage of struct is far better as they have different memory allocation methods in Swift.