Bug 11369 - move methods to Category extension methods
Summary: move methods to Category extension methods
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 6.3.x
Hardware: PC Mac OS
: --- normal
Target Milestone: old unified preview
Assignee: Rolf Bjarne Kvinge [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2013-03-23 01:21 UTC by Todd Berman
Modified: 2014-11-04 05:17 UTC (History)
3 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 Todd Berman 2013-03-23 01:21:45 UTC
Methods like NSString's UIStringDrawing category are put in strange places (like as instance methods on UIView, making it impossible to call easily from static methods, etc).

Instead they should use the [Category] support and be extension methods on string.

I am sure there are lots of other similar instances.
Comment 2 PJ 2013-11-19 16:45:04 UTC
This bug was targeted for a past milestone, moving to the next non-hotfix active milestone.
Comment 3 Rolf Bjarne Kvinge [MSFT] 2014-11-04 05:17:44 UTC
Fixed for the Unified API.

monotouch/master: 1eb9d6efef8bb3af436726a0a602aa553835a93f
maccore/master: 155410ebec9a0d57c431088b059635939a20d52f
xamcore/master: a0352294a3d8e9973b15f6a695d5ce40fae35478