{"id":20187360,"url":"https://github.com/wordpress-mobile/nsobject-safeexpectations","last_synced_at":"2025-05-07T03:30:45.142Z","repository":{"id":6807122,"uuid":"8054993","full_name":"wordpress-mobile/NSObject-SafeExpectations","owner":"wordpress-mobile","description":"No more crashes getting unexpected values from a NSDictionary","archived":true,"fork":false,"pushed_at":"2024-01-29T19:31:15.000Z","size":133,"stargazers_count":19,"open_issues_count":2,"forks_count":7,"subscribers_count":25,"default_branch":"trunk","last_synced_at":"2025-05-01T06:17:50.627Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wordpress-mobile.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-02-06T16:24:36.000Z","updated_at":"2025-03-07T21:28:01.000Z","dependencies_parsed_at":"2024-06-19T05:30:58.749Z","dependency_job_id":null,"html_url":"https://github.com/wordpress-mobile/NSObject-SafeExpectations","commit_stats":{"total_commits":39,"total_committers":7,"mean_commits":5.571428571428571,"dds":0.6923076923076923,"last_synced_commit":"eb84d994ab13a153888a19e5b99f536aafa77434"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wordpress-mobile%2FNSObject-SafeExpectations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wordpress-mobile%2FNSObject-SafeExpectations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wordpress-mobile%2FNSObject-SafeExpectations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wordpress-mobile%2FNSObject-SafeExpectations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wordpress-mobile","download_url":"https://codeload.github.com/wordpress-mobile/NSObject-SafeExpectations/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252806355,"owners_count":21807191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-11-14T03:23:12.337Z","updated_at":"2025-05-07T03:30:44.762Z","avatar_url":"https://github.com/wordpress-mobile.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NSObject+SafeExpectations\nNo more crashes getting unexpected values from a `NSDictionary`.\n\n## Usage\n\nThere are a few new methods available for a `NSDictionary`: see the [documentation](http://koke.github.com/NSObject-SafeExpectations/Categories/NSDictionary+SafeExpectations.html)\n\n- (NSString *)stringForKey:(id)key;\n- (NSNumber *)numberForKey:(id)key;\n- (NSArray *)arrayForKey:(id)key;\n- (NSDictionary *)dictionaryForKey:(id)key;\n- (id)objectForKeyPath:(NSString *)keyPath;\n- (NSString *)stringForKeyPath:(id)keyPath;\n- (NSNumber *)numberForKeyPath:(id)keyPath;\n- (NSArray *)arrayForKeyPath:(id)keyPath;\n- (NSDictionary *)dictionaryForKeyPath:(id)keyPath;\n\n\n## Wishlist\n* `NSArray`: `stringAtIndex:`, `numberAtIndex:`, `arrayAtIndex:`, `dictionaryAtIndex:`\n* Collections support for `objectForKeyPath:`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwordpress-mobile%2Fnsobject-safeexpectations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwordpress-mobile%2Fnsobject-safeexpectations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwordpress-mobile%2Fnsobject-safeexpectations/lists"}