Luckily for everybody except Xojo, later Catalina betas fixed the issues and apps which were compiled with the older FolderItem will continue to work. In this case, Xojo had to rapidly get FolderItem modernized, though that mostly involved just copying Xojo.IO.FolderItem and making some adjustments. Relying on these deprecated APIs is considered technical debt, and technical debt can strangle a project at unexpected times.
![xojo clear string array xojo clear string array](https://zenska-ucit.com/fqa/w6Fp5nmbJK-45sSO7caeeQHaEK.jpg)
The first handful of macOS Catalina betas broke a number of things with FSRef which caused a bit of a panic in the Xojo community. FolderItem on macOS no Longer Uses Deprecated APIsĪpple deprecated the FSRef APIs way back in macOS 10.8, but Xojo has been stalling to modernize FolderItem. It absolutely helped find bugs that I believe would not have been caught without spending the effort I did, but it is not something I would recommend without a compelling reason.Īnd now, since this release adds a lot of great stuff, let's get to it. As a beta tester and developer of a medium-sized open source project, I did choose to "solve" every single deprecation warning so I could best test the new API.
#Xojo clear string array code
There is also no need to rewrite existing code using the new changes.
![xojo clear string array xojo clear string array](https://images-na.ssl-images-amazon.com/images/I/51aO1ElQ2oL._SX218_BO1,204,203,200_QL40_.jpg)
Most projects will open and run in 2019r2 without any changes. Xojo 2019r2 has launched with a whole ton of changes and deprecations wrapped under the umbrella label "API 2.0." When I say that certain methods got replaced, I really mean the old version has been deprecated and a replacement introduced.