Post

Replies

Boosts

Views

Activity

GPU In xcode cloud
In my xcode cloud workflow I run UI tests that check the way things are rendered. In some cases, visual effects like blur (see this for example. The UI test produces a screenshot, see in the text results) I see that xcode cloud doesn't render at all (results attached). It seems like xcode cloud doesn't run with GPU by default. Is there a way to see beautiful visual effects like translucent navigation and toolbars, blur effects and vibrancy in UI tests screenshots? Attached the rendered results (actual first, expected below).
0
0
710
Jun ’22
Xcode cloud Test action - Problem with destination
Hello, I'm trying to change the destination of a test action in a xcode cloud workflow. For some reason, after I choose a specific device and save, I see that it went back to the defaults: Recommended iPhones. Did anyone have the same problem? I found that I can set the destination through the portal, but also there it sometimes changes back. Any ideas? In the attached screenshot: This is what I do, I press save and it goes back to the defaults.
3
2
1.1k
Jun ’22
UIPickerViewDelegate bug
Hi, I'm writing a code with a UIPickerView that has 3 components. I want each component to have a different row height. Obviously I tried to use pickerView(_:rowHeightForComponent:), but it turns out that rowHeightForComponent sometimes equals to the number of components, i.e. in my case is sometimes equals 3. So I actually get a component index that is not valid. Did anyone have the same problem? Is it a known bug? This is the code of the method: func pickerView(_ pickerView: UIPickerView, rowHeightForComponent component: Int) -> CGFloat { componentsRowHeight[component] } Because I have 3 components, which are held in an array, the valid indices are 0, 1, 2. But the delegate function is sometimes called with 3.
4
0
397
Mar ’22