Bug 1399 - CADisplayLink.AddToRunLoop() should take a NSRunLoopMode argument
Summary: CADisplayLink.AddToRunLoop() should take a NSRunLoopMode argument
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 4.x
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Miguel de Icaza [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2011-10-10 13:38 UTC by Jeffrey Stedfast
Modified: 2011-10-20 20:55 UTC (History)
2 users (show)

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

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 Jeffrey Stedfast 2011-10-10 13:38:04 UTC
We should probably add 2 overloads for CADisplayLink.AddToRunLoop() (and RemoveFromMainLoop):

- an overload that takes an NSString argument (since the constants are NSStrings)

- an overload that takes an NSRunLoopMode enum argument (would probably translate to the appropriate NSString)

Possibly even deprecate the current 'string mode' version for the same reasons we are trying to encourage the NSString variants for other APIs that take string constants.
Comment 1 Miguel de Icaza [MSFT] 2011-10-20 20:55:17 UTC
I added the overload and then documented the values, I am not sure I want to add enumeration values for this yet since users can create their own named runloops.
Comment 2 Miguel de Icaza [MSFT] 2011-10-20 20:55:47 UTC
close