Bug 27609 - Missing Methods, UIThread Bug, and our work arounds.
Summary: Missing Methods, UIThread Bug, and our work arounds.
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: master
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-03-03 14:26 UTC by Paul Auman
Modified: 2015-04-06 23:16 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Our work arounds for missing bindings. (7.96 KB, application/octet-stream)
2015-03-03 14:26 UTC, Paul Auman
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Paul Auman 2015-03-03 14:26:08 UTC
Created attachment 10128 [details]
Our work arounds for missing bindings.

Attached is a copy of our work arounds for missing methods in the mono touch iOS bindings. In reviewing our code for the migration to unified we realized we were still using them and you have not added them yet. 

At your earliest convince please update the bindings.

The last one for MapKit.IMKAnnotation we have discovered that GetAnnotation can be called from a non-ui thread.  

Cheers,

Paul Auman
Auman Software, LLC
Comment 1 Miguel de Icaza [MSFT] 2015-04-06 23:16:22 UTC
Thanks for sharing these!

Status:

[Added] NSManagedObjectContext.ExistingObjectWithID 
[Added] NSDate.compare
[Added] NSSet.filteredSetUsingPredicate

These were already present:
* NSManagedObjectContext.ExecuteFetchRequest
* NSSet.AllObjects, it exists as NSSet.ToArray<T>

Issues:

NSFetchRequest.SetPropertiesToFetch: We bind this one according to the documentation which takes an array of NSPropertyDescription, not an array of strings.   Can you share somewhere that Apple suggests that the value might be an array of strings?

We will be discussing the NSArray changes:

arrayByAddingObjectsFromArray
arrayWithArray