Is CoreSearch API available on macOS High Siera?

IvanIcinIvanIcin USMember ✭✭

I am aware that Xamarin doesn't cover 100% of Mac APIs, but somehow I am not sure if this one is not covered or I am doing something wrong: https://developer.apple.com/documentation/corespotlight - simply because it is already covered on iOS and on macOS it should be the same.

Posts

  • ChrisHamonsChrisHamons USForum Administrator, Xamarin Team Xamurai

    The macOS 10.13 APIs are not yet in stable [0]. If you swap to the alpha or beta channel they should show up.

    [0] - iOS and macOS have different release dates by Apple and since we can't ship stable bindings before the final release by Apple macOS "missed" the first release. Due to the VS release schedule, 15.5 was the best next candidate. The difference between 15.4 (stable) and 15.5 (alpha/beta) is not huge.

  • IvanIcinIvanIcin USMember ✭✭

    Thanks @ChrisHamons, it's a very logical explanation, but never thought of it.

  • IvanIcinIvanIcin USMember ✭✭

    Just to note that it's been six months and if I am not wrong this is not implemented. While I don't think that it will be implemented just on my feedback I guess that some feedback to push things is always useful.

  • ChrisHamonsChrisHamons USForum Administrator, Xamarin Team Xamurai

    Core Spotlight is bound in the 15.7 builds in Alpha\Beta channel.

    https://dl.xamarin.com/XamarinforMac/Mac/xamarin.mac-4.4.0.14.pkg

    The short version is that while the bindings were in source code when I checked, they were not enabled until this change, which was too late for 15.6.

    https://github.com/xamarin/xamarin-macios/commit/a9788a480bcb1fd4f146554fc53058dbcf7ae154#diff-5e1f7571ff97d6f18807a635de6d68a3

    So yes, we had them bound, but not enabled. I did not notice this when I first looked.

Sign In or Register to comment.