Bug 20520 - Missing selector for NSTimeZone: abbreviationDictionary
Summary: Missing selector for NSTimeZone: abbreviationDictionary
Status: VERIFIED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 6.3.x
Hardware: PC Mac OS
: Normal normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-06-10 23:17 UTC by John Hair
Modified: 2014-09-22 13:34 UTC (History)
4 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 John Hair 2014-06-10 23:17:06 UTC
Should be a class method to get a dictionary of timezone abbreviations.
Comment 1 John Hair 2014-06-11 00:02:21 UTC
Also missing instance property abbreviation
Comment 2 Sadik Ali 2014-06-11 05:59:08 UTC
I tried this issue and I am able to reproduce this issue.

Steps to reproduce:

1. Open an iOS application on XS.
2. Open Assembly browser (View=>Assembly browser).
3. Search "NSTimeZone" class in assembly browser.
4. "abbreviationDictionary" and "instance property abbreviation" doesn't exits

I have checked the definition of  "abbreviationDictionary" and instance property "abbreviation" in assembly browser but I found that  "abbreviationDictionary" method and instance property "abbreviation" are not exits on "NSTimeZone" class. 

I have also check the app doc  i.e. "https://developer.apple.com/library/mac/documentation/cocoa/reference/foundation/classes/NSTimeZone_Class/Reference/Reference.html#//apple_ref/occ/clm/NSTimeZone/timeZoneWithAbbreviation:"
 and "abbreviationDictionary" class method and "abbreviation" instance method are exits on apple doc.

Screencast: http://www.screencast.com/t/y5iDHzHa

Environment Info:

=== Xamarin Studio ===

Version 5.0 (build 878)
Installation UUID: 6ea47b0d-1852-4aaf-808d-373ff0a5002b
Runtime:
	Mono 3.4.0 ((no/63569a7)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 304000205

=== Xamarin.Android ===

Version: 4.12.4 (Starter Edition)
Android SDK: /Users/jatin66/Desktop/Backup/android-sdk-macosx
	Supported Android versions:
		1.6   (API level 4)
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		3.2   (API level 13)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.3   (API level 18)
		4.4   (API level 19)
Java SDK: /usr
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

=== Apple Developer Tools ===

Xcode 5.1 (5084)
Build 5B130a

=== Xamarin.iOS ===

Version: 7.2.3.39 (Starter Edition)
Hash: fc6f56b
Branch: 
Build date: 2014-05-19 19:10:29-0400

=== Xamarin.Mac ===

Xamarin.Mac: 1.8.0.8

=== Build Information ===

Release ID: 500000878
Git revision: bcd66920d963483e7d638a2339c4022fe035b529
Build date: 2014-05-27 17:36:26-04
Xamarin addins: da9064ce55b0fa90930a7c437a4cc1ae0e5c778c

=== Operating System ===

Mac OS X 10.9.2
Comment 3 Alex Soto [MSFT] 2014-08-02 13:14:31 UTC
Hello Jhon, this has been fixed and will be available on the next releases.

@QA:

Fixed in: 

    monotouch/master ce1f936783c568962ce266c9d991a334d747bccb

Unit test added in the same revision.

Alex
Comment 4 Mohit Kheterpal 2014-09-22 13:34:18 UTC
I have checked this issue and this issue does not exist with X.iOS 8.2.0.177 as shown in screencast : http://screencast.com/t/L5UyAMOF4

Hence closing this issue.

Environment info :
=== Xamarin Studio ===

Version 5.5 (build 200)
Installation UUID: 45555ffd-f3f0-4f29-9543-e369d711ab7d
Runtime:
	Mono 3.10.0 ((detached/ac51002)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 310000016

=== Apple Developer Tools ===

Xcode 6.0.1 (6528)
Build 6A317

=== Xamarin.Mac ===

Version: 1.11.0.1 (Enterprise Edition)

=== Xamarin.iOS ===

Version: 8.2.0.177 (Enterprise Edition)
Hash: 3b73f2a
Branch: 
Build date: 2014-09-19 00:21:20-0400

=== Xamarin.Android ===

Version: 4.18.0.31 (Enterprise Edition)
Android SDK: /Users/xamarin77/Desktop/android-sdk-macosx
	Supported Android versions:
		2.1    (API level 7)
		2.2    (API level 8)
		2.3    (API level 10)
		3.1    (API level 12)
		3.2    (API level 13)
		4.0    (API level 14)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		4.5    (API level 21)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Build Information ===

Release ID: 505000200
Git revision: 94e0df1b22f30d11dcd3e315c0a8263832b1c61a
Build date: 2014-09-19 11:52:29-04
Xamarin addins: 86dc064f2e64d7f4f4ed05edef3019f6b239a7be

=== Operating System ===

Mac OS X 10.9.5
Darwin Xamarin77s-Mac-mini.local 13.4.0 Darwin Kernel Version 13.4.0
    Sun Aug 17 19:50:11 PDT 2014
    root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64