We found that text rendering takes a lot of time as of iOS 15.2. We measured how much time it takes to assign values to text and attributedText of UILabel in iOS 14.5 simulator and iOS 15.2 simulator, respectively, using long enough and short enough text data.
As a result, regardless of the text or attributedText, it was confirmed that iOS 15.2 takes about 4 times more time for a short enough text and 15 times more for a long enough text. And this is causing scrolling freezing.
Anyone experiencing this issue? or how can I resolve it?
Post
Replies
Boosts
Views
Activity
Hello, I'm wondering what is difference between below two expresssions:
Int?(nil) -> compiled, nil
Int?.init(nil) -> not compiled
Int??(nil) -> compiled, nil
Int??.init(nil) -> compiled, Optional(nil)
I checked the documentation about Optional, and seems I use same initializer for all expressions. but there are differences. anyone knows why?
Hello, I am trying to debug Swift Concurrency codes by using Swift Concurrency Instruments.
But in our project which has been maintained for a long time, Swift Concurrency Instruments seems not working.
Task {
print("async code")
await someAsyncFunction()
}
When I run Swift Concurrency Instruments with the above codes in our project, I could check that the print works well by checking stdout/stderr Instruments, but there are no records on Swift Concurrency Instruments.
But in the small simple sample project, I checked that Swift Concurrency Instruments works well.
Are there any settings that I need to do for the legacy project to debug Swift Concurrency?