Skip to content

Comments

Demos: Modernize property access in iOS DemoViewController#2677

Open
HussainAther wants to merge 1 commit intoKhronosGroup:mainfrom
HussainAther:modernize-ios-demo-syntax
Open

Demos: Modernize property access in iOS DemoViewController#2677
HussainAther wants to merge 1 commit intoKhronosGroup:mainfrom
HussainAther:modernize-ios-demo-syntax

Conversation

@HussainAther
Copy link

@HussainAther HussainAther commented Dec 21, 2025

Description: > This PR updates the Cube demo ViewControllers (iOS, macOS, and visionOS) to use modern Objective-C dot-notation for property access.

Changes:

Updated CADisplayLink property access in iOS.

Updated NSView layer/backing properties in macOS.

Refined property access in the visionOS immersive view controller.

This improves code readability and ensures the demos follow current Apple best practices.

Update DemoViewController.m to use dot-notation for CADisplayLink property access. This improves code consistency with other property accessors in the file and follows modern Objective-C coding standards.
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants