ios - Swift lastobject equivalent -
what swifts equivalent to
[[view.subviews] lastobject] ive tried
view.subviews.lastobject but not function exists in swift
it exist, think has been renamed (they've done lot of things in swift); try:
view.subviews.last
Comments
Post a Comment