xcode - How do i use this code to Display the UUID in a Label? -


can willing explain steps beginer me? trying lean things seem above head :( lol

here code have, need label display uuid right application opened. (i using storyboard)

code:

+ (nsstring *)createuuid {     nsstring *uuidstring = nil;     cfuuidref uuid = cfuuidcreate(null);     if (uuid) {     uuidstring = (nsstring *)cfbridgingrelease(cfuuidcreatestring(null, uuid));     cfrelease(uuid); } return uuidstring; 

}

try nslogging uuid string if correct add yourlabel.text = uuidstring. guessing have connected labels correctly. if yes, should work.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -