Bug 11743 - Strongly typed dictionaries for CBCentralManager
Summary: Strongly typed dictionaries for CBCentralManager
Status: VERIFIED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 6.3.x
Hardware: Macintosh Mac OS
: --- enhancement
Target Milestone: Untriaged
Assignee: Marek Safar
URL:
Depends on:
Blocks:
 
Reported: 2013-04-11 13:23 UTC by kissling
Modified: 2013-06-14 02:52 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:
VERIFIED FIXED

Description kissling 2013-04-11 13:23:47 UTC
CBPeripheralManager.StartAdvertising uses a strongly typed dictionary as the options argument.

CBCentralManager.ScanForPeripherals and .ConnectPeripheral still uses plain NSDictionaries. Trying to create strongly typed variants for those methods myself leads to problems as DictionaryContainer uses internal constructors.

My request is to add also strongly typed dictionaries for these methods.
Comment 1 Marek Safar 2013-05-29 06:04:00 UTC
Implemented in 6.3
Comment 2 Nischal 2013-06-14 02:52:06 UTC
Today we have checked this issue with following builds:

X.S 4.0.8
Xamarin.iOS 6.3.6-76
Mono 3.0.11

Now the ScanForPeripherals and ConnectPeripheral methods of CBCentralManager accept a custom object (that extends  MonoTouch.Foundation.DictionaryContainer) instead of only accepting NSDictionary as an argument. This is the screencast for the same: http://screencast.com/t/eU8ZcCERMqM 

Changing the status to Verified.