Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

get list of property values from list of objects swift

let new_list = your_list.map{ $0 }

Map will transform a list of some types to a list of another types
 
PREVIOUS NEXT
Tagged: #list #property #values #list #objects #swift
ADD COMMENT
Topic
Name
4+4 =