Post

Replies

Boosts

Views

Activity

Reply to Possible to batch SKEmitterNodes?
I noticed the same thing, every SKEmitterNode increases the draw call count. Were you able to do anything to batch these draw calls? In my case, all these SKEmitterNodes use the same texture, default blend mode, zero particleColorBlendFactor and have the same targetNode with the same particleZPosition.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Apr ’23
Reply to Xcode 16 beta 5 MainActor errors in a Swift 6 project while working in beta 4
Xcode 16.1 beta seems to be having the same issue. To test, I started from the default "Game" project template with SpriteKit and changed to GameScene.swift file to something simple like this: // GameScene.swift import SpriteKit import GameplayKit class GameScene: SKScene { // GameScene is @MainActor as a subclass of SKNode var label : SKLabelNode = SKLabelNode(text: "Initial text") override func didMove(to view: SKView) { addChild(label) } } @MainActor final class State: GKState { unowned private let scene: GameScene init(scene: GameScene) { self.scene = scene } override func didEnter(from previousState: GKState?) { scene.label.text = "Entered State" // Main actor-isolated property 'label' can not be referenced from a nonisolated context // Main actor-isolated property 'text' can not be mutated from a nonisolated context } } It seems that the @MainActor tag on the class State is not working for methods that were overridden. This is most likely because GKState is not marked so its methods are nonisolated. But what is the solution in this case?
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’24
Reply to Error when clicking on TextField : CLIENT ERROR: TUINSRemoteViewController does not override -viewServiceDidTerminateWithError: and thus cannot react to catastrophic errors beyond logging them
I'm seeing the same error with simple text fields. macOS Sonoma 14.6.1, Xcode 16.0 (16A242). CLIENT ERROR: TUINSRemoteViewController does not override -viewServiceDidTerminateWithError: and thus cannot react to catastrophic errors beyond logging them
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’24
Reply to SKView showsFields draws only on a portion of the screen
Related: https://stackoverflow.com/questions/72045165/why-is-spritekits-showfields-property-not-working-properly
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Xcode asks to install Rosetta
It seems that Xcode 14.1 doesn't ask to install Rosetta anymore.
Replies
Boosts
Views
Activity
Nov ’22
Reply to Issues Surrounding GKPlayer's playerId Deprecation in iOS 13
I'm experiencing similar issues, e.g. teamPlayerID and gamePlayerID are both "UnknownID". This just started happening between 2 devices and 2 GC accounts that used to work (my own devices and accounts). Not sure how to fix this so I'm wondering if there's any response from Apple on the bug reports reported by @RajDoshi.
Topic: Graphics & Games SubTopic: GameKit Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to How to animate SKShapeNode's lineLength
I guess the property should be read-write, otherwise it would not make sense for it to exist. I wonder if we can get Apple's opinion on this, probably a bug report for this would be a good start.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Jan ’23
Reply to Possible to batch SKEmitterNodes?
I noticed the same thing, every SKEmitterNode increases the draw call count. Were you able to do anything to batch these draw calls? In my case, all these SKEmitterNodes use the same texture, default blend mode, zero particleColorBlendFactor and have the same targetNode with the same particleZPosition.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Apr ’23
Reply to SwiftUI Preview triggers test target build
Still an issue in Xcode 15.3 (15E204a).
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to ScrollView with .viewAligned and .scrollPosition() not updating on orientation (size) changes
Another possible bug with this code: in landscape orientation the scrollable content is not clipped, although ScrollView should clip its content, by default. Adding a small horizontal padding to the container clips the content.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to TabView content stops off-center after an animated transition
It seems to be related to safe areas as it doesn't happen on Touch ID devices.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to Offset modifier not working when used inside a scoped animation (iOS 17) in SwiftUI
Similar to this WWDC video: https://developer.apple.com/videos/play/wwdc2023/10156/?time=1510
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to Xcode 16 beta 5 MainActor errors in a Swift 6 project while working in beta 4
Xcode 16.1 beta seems to be having the same issue. To test, I started from the default "Game" project template with SpriteKit and changed to GameScene.swift file to something simple like this: // GameScene.swift import SpriteKit import GameplayKit class GameScene: SKScene { // GameScene is @MainActor as a subclass of SKNode var label : SKLabelNode = SKLabelNode(text: "Initial text") override func didMove(to view: SKView) { addChild(label) } } @MainActor final class State: GKState { unowned private let scene: GameScene init(scene: GameScene) { self.scene = scene } override func didEnter(from previousState: GKState?) { scene.label.text = "Entered State" // Main actor-isolated property 'label' can not be referenced from a nonisolated context // Main actor-isolated property 'text' can not be mutated from a nonisolated context } } It seems that the @MainActor tag on the class State is not working for methods that were overridden. This is most likely because GKState is not marked so its methods are nonisolated. But what is the solution in this case?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Notarytool stuck at "In Progress"
Unfortunately I can also confirm this is still happening. More than 13 hours since submitted, stuck at "In Progress".
Topic: Code Signing SubTopic: Notarization Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to Error when clicking on TextField : CLIENT ERROR: TUINSRemoteViewController does not override -viewServiceDidTerminateWithError: and thus cannot react to catastrophic errors beyond logging them
I'm seeing the same error with simple text fields. macOS Sonoma 14.6.1, Xcode 16.0 (16A242). CLIENT ERROR: TUINSRemoteViewController does not override -viewServiceDidTerminateWithError: and thus cannot react to catastrophic errors beyond logging them
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to Notarytool stuck at "In Progress"
The notarization process completed after ~36 hours.
Topic: Code Signing SubTopic: Notarization Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to Blurry Game Center Achievement Images?
Would like to hear an update on this. Running into a similar issue with Game Center Achievements images.
Topic: Graphics & Games SubTopic: GameKit Tags:
Replies
Boosts
Views
Activity
Jul ’25
Reply to Unable to Tint Custom View in UIBarButtonItem on iOS 26
I ended up changing the baseForegroundColor in the UIButton.configurationUpdateHandler{} as a workaround. Indeed, it can be frustrating to file bug reports that Apple ignores, especially for basic behavior.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Aug ’25