Trying to print log file on label (swift4)

My code below is calling coreData to print on a label. If I print on a label it only takes the last entry of coreData unlike what is printed on the log file.

for i in user! {

    print( "color: \(i.username!) Score: \(i.password!)")
    displayL.text = ( "color: \(i.username!) Score: \(i.password!)")

This topic was automatically closed after 166 days. New replies are no longer allowed.