Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2017, 06:53:21 PM
Home Help Search chat Login Register 
News: Read this please.The Great Kangaroo Escape Looking for reviews of the 4th ed on Amazon!   Twitter:  @skochan

+ Official Forum for Programming in Objective-C (the iPhone Programming Language) - Stephen Kochan
|-+ Programming in Objective-C, 4th edition
| |-+ Chapter 19
| | |-+ Program 19.2
Pages: [1] Go Down
Author Topic: Program 19.2 (Read 14034 times)
Posts: 4

on: November 04, 2012, 01:57:33 AM

Just a silly question:

Why does the output show the items in reverse order?
I would have expected a result like this (as that was the order in which we entered the key's and descriptions)

abstract class : A class defined so other classes can inherit from it
adopt: To implement  all the methods defined in a protocol
archiving: Storing an object for later use

instead the output starts with 'archiving'

Sr. Member
Posts: 262

Reply #1 on: January 13, 2014, 07:10:17 PM

Dictionaries are unordered, there is no guarantee of the order in which a dictionaries entries will be retrieved.
Pages: [1] Go Up
Jump to:

Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Entire forum contents (c) 2009 classroomM.com. All rights reserved.