Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(iOS): expose RCT_NEW_ARCH_ENABLED to Swift (#46749)
Summary: This PR exposes `RCT_NEW_ARCH_ENABLED` flag to Swift. It allows you to use conditional compilation: ```swift #if RCT_NEW_ARCH_ENABLED func test() { print("I'm running on new arch!) } #else func test() { print("I'm running on old arch!) } #endif ``` ## Changelog: [IOS] [ADDED] - expose RCT_NEW_ARCH_ENABLED to Swift Pull Request resolved: #46749 Test Plan: CI Green Reviewed By: cortinico Differential Revision: D63689711 Pulled By: cipolleschi fbshipit-source-id: 706013019571f597d1966ffcf13bd47ba7f29a2d
- Loading branch information