Closed Yaozitao0322 closed 1 week ago
Yes, the generated code has changed between R.swift 6 and R.swift 7.
But the way you use that code hasn’t changed.
You can still call R.image.home_top_background()
on the ImageResource.
It implements callAsFunction
and will return an optional UIImage.
R.generated have source functions on old Xcode. but not methods in new project. next is old project.
next id new project.