{"id":1545,"url":"https://github.com/RobertAPhillips/UIView_2_PDF","last_synced_at":"2025-08-02T04:31:36.317Z","repository":{"id":12589374,"uuid":"15260143","full_name":"RobertAPhillips/UIView_2_PDF","owner":"RobertAPhillips","description":"PDF generator using UIViews or UIViews with an associated XIB","archived":false,"fork":false,"pushed_at":"2015-09-30T10:51:12.000Z","size":242,"stargazers_count":35,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-06T08:34:43.718Z","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/RobertAPhillips.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-12-17T16:45:38.000Z","updated_at":"2023-01-06T07:48:12.000Z","dependencies_parsed_at":"2022-08-28T11:30:52.413Z","dependency_job_id":null,"html_url":"https://github.com/RobertAPhillips/UIView_2_PDF","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RobertAPhillips/UIView_2_PDF","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobertAPhillips%2FUIView_2_PDF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobertAPhillips%2FUIView_2_PDF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobertAPhillips%2FUIView_2_PDF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobertAPhillips%2FUIView_2_PDF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobertAPhillips","download_url":"https://codeload.github.com/RobertAPhillips/UIView_2_PDF/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobertAPhillips%2FUIView_2_PDF/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268334612,"owners_count":24233793,"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-08-02T02:00:12.353Z","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-01-05T20:15:49.470Z","updated_at":"2025-08-02T04:31:35.952Z","avatar_url":"https://github.com/RobertAPhillips.png","language":"Objective-C","funding_links":[],"categories":["Media"],"sub_categories":["PDF","Other free courses"],"readme":"## Description\nCreate UIView objects using any method you like, including interface builder with Auto-layout and size classes enabled. Then generate a PDF directly from those views!\n\n## Requirements\nXCode 6.4+, iOS 7.0+\n\n## Installation\nIn XCode, select 'Add Files To Project', and select RP_UIView_2_PDF.h\n\n## Usage\n1. Make a xib file. Your xib file should only consist of UILabels and/or UIImageViews and/or other UIView subviews. Use views that are 1 pixel high or wide to create lines. Set the tag of a UIView to 1 to have it draw filled or zero to draw as just a 1 pixel bordered box.\n2. Load your xib like so\n```objective-c\nUIView *pageOne = [[NSBundle mainBundle] loadNibNamed:@\"NibNameOne\" owner:self options:nil].lastObject;\nUIView *pageTwo = [[NSBundle mainBundle] loadNibNamed:@\"NibNameTwo\" owner:self options:nil].lastObject;\n```\n3. Then generate your PDF like this\n```objective-c\nNSString *tempFilepath = [RP_UIView_2_PDF generatePDFWithPages:@[pageOne, pageTwo];\n```\n\nSee demo project for details.\n\n## License\nUIView_2_PDF is released under the MIT license. See 'LICENCE.md' for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRobertAPhillips%2FUIView_2_PDF","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRobertAPhillips%2FUIView_2_PDF","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRobertAPhillips%2FUIView_2_PDF/lists"}