now add bold font Dim r1 As New NSRangeMBS( 0, 5) make a mutable copy Dim m As NSMutableAttributedStringMBS = a.mutableCopy Could also read in RTF Dim a As NSAttributedStringMBS = NSAttributedStringMBS.attributedStringWithString( "Hello World") Because if Apple starts to flag those classes as no longer being eligible for App Store submission, it's time to say goodbye. Let us know if you have questions on the transition to Contacts framework or if something is missing in our plugins.įor MBS Xojo Plugins we plan to remove AddressBook completely in a cleanup in winter, so 2022 versions may no longer have it. We already marked AddressBook functions as deprecated, but it may be finally time for you to look through your code and remove all references to AB* classes: This is one of the controls we provide for address book access. At least we got such a notice for the ABPersonView control in one fo the applications of a client. The AddressBook plugin is deprecated for a few years and it looks like finally Apple put it on the no-go list for the App Store. Somewhere in-between macOS release, the applications for end users got rewritten and renamed to Contacts.app. Since OS X El Capitan 10.11 from 2015 we got the Contacts framework to replace the older AddressBook classes and provide access to the same database for contacts on your application. Since about macOS 10.2 from 2002 those classes have been in the operation system. Saying goodbye to AddressBook framework For many years we used AddressBook framework to interact with the built-in AddressBook application on macOS. Please try the current pre-release version of the plugin to see how it works for you. In case you use this, please initialize this early and keep the object around, e.g. This may also be used by plugins from other vendors.īut if you use this class, we create a thread pool for our MBS Plugin functions and you can configure how much we use it. If you don't use the class, you get the default behavior: a shared thread pool for the whole process. Thread minimum and maximum is not limited, so Windows can decide based on CPU core count and load. The default stack size is 1 MB with a grow rate of 4 KB. Instead of having the plugin create threads if needed for doing work and reuse them if needed.įor version 20.5 we got a new class to control that: WinThreadPoolMBS Thread Pool for Windows For our MBS Xojo Plugins we add a thread pooling for Windows in version 20.4.
0 Comments
Leave a Reply. |