{"id":21959742,"url":"https://github.com/rusticisoftware/tincanobjc","last_synced_at":"2025-10-30T21:25:20.750Z","repository":{"id":8187350,"uuid":"9614742","full_name":"RusticiSoftware/TinCanObjC","owner":"RusticiSoftware","description":"Objective-C library for TinCanAPI","archived":false,"fork":false,"pushed_at":"2020-09-09T16:45:50.000Z","size":140,"stargazers_count":17,"open_issues_count":2,"forks_count":6,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-04-23T18:03:19.693Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RusticiSoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-23T03:57:35.000Z","updated_at":"2025-01-20T23:57:06.000Z","dependencies_parsed_at":"2022-08-06T21:00:39.355Z","dependency_job_id":null,"html_url":"https://github.com/RusticiSoftware/TinCanObjC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RusticiSoftware/TinCanObjC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RusticiSoftware%2FTinCanObjC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RusticiSoftware%2FTinCanObjC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RusticiSoftware%2FTinCanObjC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RusticiSoftware%2FTinCanObjC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RusticiSoftware","download_url":"https://codeload.github.com/RusticiSoftware/TinCanObjC/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RusticiSoftware%2FTinCanObjC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274578380,"owners_count":25310955,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-11-29T09:32:24.511Z","updated_at":"2025-10-30T21:25:20.658Z","avatar_url":"https://github.com/RusticiSoftware.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"TinCanObjC\n==========\n[![Build Status](https://travis-ci.org/RusticiSoftware/TinCanObjC.png)](https://travis-ci.org/RusticiSoftware/TinCanObjC)\n\nObjC version of TinCan SDK\n\n##Creating and Sending A Statement\n\n    NSMutableDictionary *options = [[NSMutableDictionary alloc] init];\n    NSMutableDictionary *lrs = [[NSMutableDictionary alloc] init];\n    \n    [lrs setValue:@\"https://cloud.scorm.com/ScormEngineInterface/TCAPI/public/\" forKey:@\"endpoint\"];\n    [lrs setValue:@\"Basic abcd1234abcd1234ETmM1bWFwYk5wckg5aE1KQmNaNTFabcdefghijklmnop123\" forKey:@\"auth\"];\n\n    // just add one LRS for now\n    [options setValue:[NSArray arrayWithObject:lrs] forKey:@\"recordStore\"];\n    \n    RSTinCanConnector *tincan = [[RSTinCanConnector alloc]initWithOptions:options];\n    \n    // create a TCActor with the user's information\n    TCAgent *actor = [[TCAgent alloc] initWithName:@\"Joe User\" withMbox:@\"mailto:user@tincanapi.com\"];\n    \n    // create a very basic TCActivityDefinition that doesn't contain any extensions or interaction detail.\n    TCActivityDefinition *actDef = [[TCActivityDefinition alloc] initWithName:[[TCLocalizedValue alloc] initWithLanguageCode:@\"en-US\" withValue:@\"http://tincanapi.com/testCourse\"]\n                                                              withDescription:[[TCLocalizedValue alloc] initWithLanguageCode:@\"en-US\" withValue:@\"Description for test statement\"]\n                                                                     withType:@\"http://adlnet.gov/expapi/activities/course\"\n                                                               withExtensions:nil\n                                                          withInteractionType:nil\n                                                  withCorrectResponsesPattern:nil\n                                                                  withChoices:nil\n                                                                    withScale:nil\n                                                                   withTarget:nil\n                                                                    withSteps:nil];\n    \n    TCActivity *activity = [[TCActivity alloc] initWithId:@\"http://tincanapi.com/test\" withActivityDefinition:actDef];\n    \n    TCVerb *verb = [[TCVerb alloc] initWithId:@\"http://adlnet.gov/expapi/verbs/experienced\" withVerbDisplay:[[TCLocalizedValue alloc] initWithLanguageCode:@\"en-US\" withValue:@\"experienced\"]];\n    \n    TCStatement *statementToSend = [[TCStatement alloc] initWithId:[TCUtil GetUUID] withActor:actor withTarget:activity withVerb:verb];\n    \n    [tincan sendStatement:statementToSend withCompletionBlock:^(){\n        // do your completion stuff here\n    }withErrorBlock:^(TCError *error){\n        NSLog(@\"ERROR: %@\", error.localizedDescription);\n        STAssertNil(error, @\"There was no error with the request\");\n    }];\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frusticisoftware%2Ftincanobjc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frusticisoftware%2Ftincanobjc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frusticisoftware%2Ftincanobjc/lists"}