# Can I access all the object keys?

**URL:** <https://community.parseplatform.org/t/can-i-access-all-the-object-keys/2954>\
**Category:** ParseSwift SDK\
**Created:** [September 30, 2022, 11:56am UTC](https://community.parseplatform.org/t/can-i-access-all-the-object-keys/2954 "2022-09-30T11:56:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnRoxMySox](https://community.parseplatform.org/letter_avatar_proxy/v4/letter/j/91b2a8/32.png) [@JohnRoxMySox](https://community.parseplatform.org/u/JohnRoxMySox)\
**Post date:** [September 30, 2022, 11:56am UTC](https://community.parseplatform.org/t/can-i-access-all-the-object-keys/2954/1 "2022-09-30T11:56:12Z")

</div>

I have a project using the legacy `Parse-SDK-iOS` library, and I would like to replace it by the new `Parse-Swift` one.

In this project, I often had to use the `allKeys` property of the `PFObject`s, as well as the `value(forKey:)` and `object(forKey:)` functions. Are these now unavailable?

Thank you for your help

---

<div class="post-metadata">

**Author:** ![cbaker6](https://community.parseplatform.org/user_avatar/community.parseplatform.org/cbaker6/32/114_2.png) [@cbaker6](https://community.parseplatform.org/u/cbaker6)\
**Post date:** [September 30, 2022, 1:38pm UTC](https://community.parseplatform.org/t/can-i-access-all-the-object-keys/2954/2 "2022-09-30T13:38:17Z")

</div>

You should look through the Playgrounds files to see how to access keys. They are accessed just like any other property on a swift based object:

> **[Parse-Swift/ParseSwift.playground/Pages at main · parse-community/Parse-Swift](https://github.com/parse-community/Parse-Swift/tree/main/ParseSwift.playground/Pages)**
>
> main/ParseSwift.playground/Pages

---

<div class="post-metadata">

**Author:** ![JohnRoxMySox](https://community.parseplatform.org/letter_avatar_proxy/v4/letter/j/91b2a8/32.png) [@JohnRoxMySox](https://community.parseplatform.org/u/JohnRoxMySox)\
**Post date:** [September 30, 2022, 2:07pm UTC](https://community.parseplatform.org/t/can-i-access-all-the-object-keys/2954/3 "2022-09-30T14:07:35Z")

</div>

Hi @cbaker6 and thank you for your answer.
