I have a problem with getting strings, arrays and functions from other class in swift and I couldn't find a clear answer for that.
On example I have main storyboard where I want to get value from function which is in another file
ViewController.swift
print(Us.username())
Users.swift
import Foundation
public class Us {
func username(){
return "Bob" // on example
}
}