Wie man ein array mit UILabel in Swift

Wie erstelle ich ein array von UILabel in Swift. Wenn ich versuche, bekomme ich eine Fehlermeldung wie ViewController.Type'dose not have a member named 'Lable00'
mein code:

import UIKit

class ViewController: UIViewController {

    let individualScores = [75, 43, 103, 87, 12]

    @IBOutlet var Lable00: UILabel?
    @IBOutlet var Lable01: UILabel?
    @IBOutlet var Lable02: UILabel?
    @IBOutlet var Lable03: UILabel?
    @IBOutlet var Lable04: UILabel?

    var Lable_Arr = [Lable00, Lable01, Lable02, Lable03, Lable04]

    override func viewDidLoad() {
        super.viewDidLoad()

        for score in individualScores {
        }
        //Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        //Dispose of any resources that can be recreated.
    }

}
InformationsquelleAutor Chirag Dj | 2014-12-15
Schreibe einen Kommentar