Bug 16122 - Add AppKit "additions" methods and constants to various classes
Summary: Add AppKit "additions" methods and constants to various classes
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Library (Xamarin.Mac.dll) ()
Version: 1.6.19
Hardware: PC Mac OS
: Normal normal
Target Milestone: 1.12.0
Assignee: Timothy Risi
Depends on:
Reported: 2013-11-11 17:54 UTC by Brendan Zagaeski (Xamarin Team, assistant)
Modified: 2015-02-10 07:17 UTC (History)
5 users (show)

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:

Description Brendan Zagaeski (Xamarin Team, assistant) 2013-11-11 17:54:51 UTC
Reported on behalf of a user.

## Summary
The AppKit framework adds additional methods and constants to several classes [1]. For example, with AppKit the NSMutableAttributedString class gains a "fixAttributesInRange:" method [2].

Apart from the constants added to address bug #3939, these constants and methods are currently absent from the bindings.

> [1] https://developer.apple.com/library/mac/documentation/cocoa/reference/applicationkit/objc_classic/_index.html
> See the pages marked with "Additions"

> [2] https://developer.apple.com/library/mac/documentation/cocoa/reference/applicationkit/Classes/NSMutableAttributedString_AppKitAdditions/Reference/Reference.html#//apple_ref/occ/instm/NSMutableAttributedString/fixAttributesInRange:
Comment 1 Brendan Zagaeski (Xamarin Team, assistant) 2013-11-11 19:25:43 UTC
Small correction: at least for NSAttributedString, the binding does include some of these additional methods. For example, the binding includes "initWithHTML:baseURL:documentAttributes:", but it does not include "rangeOfTextBlock:atIndex:".
Comment 3 Chris Hamons 2014-12-19 12:37:18 UTC
Looks fixed in master / beea11b09b108d357c7f1deca67a28eae9e28178
Comment 4 Rajneesh Kumar 2015-02-10 07:17:54 UTC
I tried to verify this issue but not sure about the steps to verify this issue. Could you please share the steps with us, to verify this issue. That would be very helpful to verify this issue at our end.