Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Swift Basics (retired) Collections What is a Dictionary?

John Scully
John Scully
1,018 Points

I'm not getting the "some" type in the results pane

Hey - just going along and doing the same as Amit but I'm not getting the "some" type when I call upon a value by using it's key.

e.g. countries ["CA"] is returning "Canada"

Is there something I have switched off with my results pane?

jacob weber
jacob weber
20,743 Points

I'm not either. Did you get this resolved or find out what it was?

John Scully
John Scully
1,018 Points

Nah I didn't. I'm just assuming that it was a config thing though. Will post if I find it.

2 Answers

I think it'll be because you're running the xcode beta?

There's quite a few differences between xcode 7 and the videos (:

Josh Bennett
Josh Bennett
15,258 Points

I am using Xcode 7.2.1. I think "some" was just removed like the println function.