Xcode: Show random word every day in my app!?

English: Hey, I'm currently programming an app in Xcode. I want to define different words and every day (always change after 24 hours) a random word is displayed in my app (storyboard) in a label. How does it work and how can I code it? THANK YOU!!! :D

German: Hey, ich programmiere zurzeit eine App in Xcode. Ich möchte verschiedene Wörter bestimmen. Jeden Tag (immer nach 24 ) soll ein zufälliges Wort in meiner App (Storyboard) angezeigt werden (in einem Label). Wie geht das und wie kann ich das coden? Vielen DANK :D

Launch Xcode then click “Create a new random word combiner Xcode project” in the Welcome to Xcode window or choose File > New > Project. In the sheet that appears, select the target operating system or platform and a template under Application. In the following sheets, fill out the forms and choose options to configure your project.

import UIKit

class ViewController: UIViewController {

override func viewDidLoad() {
    super.viewDidLoad()
    
    // Declare String value
    let firstName:String = "Sergey"

    // Declare Int value
    let intNumber:Int=5
    
    // Call the "takeAway(https://seotoolsystem.com/word-combiner)" function we have extended the Int class with: 
    print("5 take away 4 equals \(intNumber.takeAway(4))")
    
    // Call the greatTheWorld() function we have extended the String class with
    firstName.greatTheWorld()
}

}

// Extend the String class in Swift extension String { func greatTheWorld() { print("Hello world") } }

// Extend the Int class in Swift extension Int { func takeAway(a:Int)->Int { return self-a; } }

Xcode: Show random word every day in my app!?
 
 
Q