Bug 18269 - Missing overload for UICollectionView.RegisterClassForSupplementaryView
Summary: Missing overload for UICollectionView.RegisterClassForSupplementaryView
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 7.0.7
Hardware: PC Mac OS
: Normal normal
Target Milestone: Untriaged
Assignee: Bugzilla
: 21316 ()
Depends on:
Reported: 2014-03-09 20:09 UTC by Todd Berman
Modified: 2014-07-25 13:24 UTC (History)
6 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 Todd Berman 2014-03-09 20:09:24 UTC
RegisterClassForSupplementaryView has two overloads.

1) Type, UICollectionViewElementKindSection, NSString
2) IntPtr, NSString, NSString

In order to support custom views w/o forcing someone to figure out how to get the IntPtr of their custom type there needs to be a third overload:

3) Type, NSString, NSString
Comment 1 Sadik Ali 2014-03-10 02:12:53 UTC
I have check this issue on below environments 

XS 4.2.3 (Build 60)

I noticed that UICollectionView  class has only two overloads  of method RegisterClassForSupplementaryView for below arguments:

1) Type, UICollectionViewElementKindSection, NSString
2) IntPtr, NSString, NSString

No overloads for arguments (Type, NSString, NSString)

Refer screen cast: http://screencast.com/t/lweIEvNGC
Comment 2 Rolf Bjarne Kvinge [MSFT] 2014-03-11 13:41:43 UTC

monotouch/master: a39f496c34f424b4c4357aec3ab56d8c5a99f98a

This will be included in version 7.2.2.
Comment 3 Prashant manu 2014-03-27 04:51:40 UTC
RegisterClassForSupplementaryView has now three overloads
1) Type, UICollectionViewElementKindSection, NSString
2) IntPtr, NSString, NSString
3) Type, NSString, NSString
Screencast for this: http://screencast.com/t/T6mL3c4mZDJe

Environment Info:
Xamarin Studio
Version 4.2.4 (build 266) 
Build Information
Git revision: 57fa6b7639703775ae1d5c46536e42ab424cb177
Xamarin addins: eee141c29724a19529e77b8e743086d95b29f5ba
Mono 3.2.6
Hash: 16bef0b
Comment 4 Rolf Bjarne Kvinge [MSFT] 2014-07-15 13:15:28 UTC
*** Bug 21316 has been marked as a duplicate of this bug. ***
Comment 5 Nick 2014-07-25 04:19:49 UTC
This should be reopened.
In the last version there are still only two methods
Comment 6 Rolf Bjarne Kvinge [MSFT] 2014-07-25 10:48:38 UTC
@Nick, due to several circumstances this was not included in the latest stable releases, but it's in the current beta release (7.2.6) which is slated to reach the stable channel next week.
Comment 7 Nick 2014-07-25 13:24:30 UTC
Ok, thanks for quick response