Closed shiratsu closed 8 years ago
Can you please attach time profiler screenshot showing what exactly is "slow"? View inspector screenshot with view hierarchy might also help
Sure.I wonder you could check the following log
----------------------
shotworks_for_ph2_by_swift.PushSettingVCL
loadView()
Optional(2015-10-17T14:49:32.906+0900)
----------------------
----------------------
shotworks_for_ph2_by_swift.PushSettingVCL
viewDidLoad()
Optional(2015-10-17T14:49:41.685+0900)
----------------------
It took 9 seconds from 'loadview' to 'viewDidLoad'. I also attached hierarchy.
I have updated program. I attached hierarchy again. I am using 3 oastackview.
Have you profiled it in instruments using the time profiler?
Oh,I see.I have not used the time profiler at this time.So I will try it.
@shiratsu any update on this?
Sorry,please wait.I will post result within end of this year.
I'm sorry for very late replying. I have checked it. On iOS8,xcode 7.1,Swift 2.1 Custom UIView is very slow.
My custom view and also OAStackView are slow.
'initWithCoder method' is very slow.
I attached capture of time profiler.
I attached another capture.
I might get answer. In iOS8-Xcode7,I am using 'HiraginoSans' as custom font. But this font name is not available on iOS8. It is from iOS9. So,My application have taken a much time for downloading above font.
I'm sorry.Maybe,OAStackView does not have relation about slow loading.
I would like to use OAStackView. I am creating such an attaching view. I am checking on simulator. But it is very slow. To open this view takes around 8 seconds. According to my investigating,,,to use several module(uiview,uilabel and uiimageview) take a long time such a 8 seconds.
are there way how to solve it?![2015-10-16 19 56 05](https://cloud.githubusercontent.com/assets/918490/10540179/abacc3ac-7440-11e5-9a4a-1d61af26e87d.png)