{"id":16686266,"url":"https://github.com/mosheberman/arraydictarray","last_synced_at":"2026-04-20T16:35:06.952Z","repository":{"id":8689822,"uuid":"10351890","full_name":"MosheBerman/ArrayDictArray","owner":"MosheBerman","description":"A pair of categories that can encode an NSArray as an NSDictionary and back again.","archived":false,"fork":false,"pushed_at":"2013-05-29T04:38:33.000Z","size":128,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-01T18:39:44.853Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MosheBerman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-29T04:27:53.000Z","updated_at":"2013-12-09T00:49:49.000Z","dependencies_parsed_at":"2022-09-04T10:50:48.532Z","dependency_job_id":null,"html_url":"https://github.com/MosheBerman/ArrayDictArray","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MosheBerman/ArrayDictArray","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MosheBerman%2FArrayDictArray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MosheBerman%2FArrayDictArray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MosheBerman%2FArrayDictArray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MosheBerman%2FArrayDictArray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MosheBerman","download_url":"https://codeload.github.com/MosheBerman/ArrayDictArray/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MosheBerman%2FArrayDictArray/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32055513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T15:05:13.386Z","updated_at":"2026-04-20T16:35:06.931Z","avatar_url":"https://github.com/MosheBerman.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"ArrayDictArray\n==============\n\nA pair of categories that can encode an NSArray as an NSDictionary and back again.\n\nSetting It Up:\n---\nJust drop the categories folder into your project and then `#import ArrayDictArray.h` where you want to use it.\n\nWhat it does:\n---\n\nOnce you've imported the header, you'll find that `NSArray` now has a method called `dictionary` and that `NSDictionary` has a method called `array`.\n\nNSArray to NSDictionary\n---\nThe `dictionary` takes the recieving `NSArray` instance and copies the objects in it into a dictionary. Each item's index becomes the key. Keys in the new dictionary are instances of `NSNumber`. An instance of `NSMutableDictionary` is returned.\n\nNSDictionary to NSArray\n---\nThe `array` method takes the recieving `NSDictionary` instance and copies the objects in it into an array. This assumes that the dictionary's keys are sequential `NSNumber` objects, presumably the result of calling `dictionary` on an `NSArray`. The behavior for any other kind of key is undefined. An instance of `NSMutableArray` is returned.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmosheberman%2Farraydictarray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmosheberman%2Farraydictarray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmosheberman%2Farraydictarray/lists"}