1
vote
Vote UpVote

Elements Tips: if #available

RemObjects Blogs – If you're using the Elements compiler for your iOS development, you can take advantage of a special additional behavior of the if #available syntax in Elements' Swift implementation: in addition to making any code surrounded by the check execute conditionally at runtime, in Elements the check also implies a comile-time #if check for the specified SDK.That this means is that you can start using new APIs available only in the latest version of an SDK, but still compile your codebase against an older SDK, if needed. That's especially helpful during the beta period, as it allows you to play around ...
Favorite? Off-Topic? marc hoffman @ 2019-06-10 01:00

Statistics

Visits: 91
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

MichaƂ Rajewicz
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)