{"id":19466678,"url":"https://github.com/mahmudahsan/appsportfolio","last_synced_at":"2026-06-09T01:34:19.533Z","repository":{"id":56902309,"uuid":"108100851","full_name":"mahmudahsan/AppsPortfolio","owner":"mahmudahsan","description":"To showcase multiple apps of a developer for cross promotion. Its an offline way to show user about other apps and it's also possible to know which app users are having more interest.","archived":false,"fork":false,"pushed_at":"2022-12-20T11:32:22.000Z","size":1829,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-06-09T01:34:15.492Z","etag":null,"topics":["ios-swift","ios-ui","showcase-app","swift","swift-library","swift4","xcode"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/mahmudahsan.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":"2017-10-24T08:48:35.000Z","updated_at":"2024-12-10T11:08:03.000Z","dependencies_parsed_at":"2022-08-20T18:50:35.611Z","dependency_job_id":null,"html_url":"https://github.com/mahmudahsan/AppsPortfolio","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/mahmudahsan/AppsPortfolio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmudahsan%2FAppsPortfolio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmudahsan%2FAppsPortfolio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmudahsan%2FAppsPortfolio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmudahsan%2FAppsPortfolio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mahmudahsan","download_url":"https://codeload.github.com/mahmudahsan/AppsPortfolio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmudahsan%2FAppsPortfolio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34088013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":["ios-swift","ios-ui","showcase-app","swift","swift-library","swift4","xcode"],"created_at":"2024-11-10T18:29:38.638Z","updated_at":"2026-06-09T01:34:19.518Z","avatar_url":"https://github.com/mahmudahsan.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AppsPortfolio\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/mahmudahsan/AppsPortfolio\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/platform-iOS-lightgrey\" alt=\"iOS\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://swift.org/package-manager\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/spm-compatible-green.svg?style=flat\" alt=\"Swift Package Manager\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://twitter.com/mahmudahsan\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/contact%40-mahmudahsan-green.svg\" alt=\"Twitter: @mahmudahsan\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\nTo showcase multiple apps of a developer for cross promotion. Its an offline way to show user about other apps and it's also possible to know which app users are having more interest. I have been using this UI in all of my iOS apps for cross promoting my other apps. This is a complete project but any improvements are welcome.\n\nIn plist data, if there is only one category mention for example games, then the segmented tab at top will not be shown. To show segmented tab with categories you must have to provide at least 2 categories of apps. Please check the plist file structure to know how to provide app list.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"preview.gif\" width=\"375\" max-width=\"50%\" alt=\"Apps Portfolio\" /\u003e\n\u003c/p\u003e\t\n\n## Features\n\n- [X] Showcase apps for cross promotion\n- [X] Delegate to integrate analytics to see which app user visits in app store\n- [X] Works in both iPhone and iPad\n\n\n## Examples\n\nIntegrate within a UIViewController:\n```swift\nlet bundle = Bundle(for: AppsPortfolioViewController.self)\nlet storyboard = UIStoryboard(name: \"AppsPortfolio\", bundle: bundle)\n        \nlet appsPortfolioVC = storyboard.instantiateInitialViewController() as! AppsPortfolioViewController\nappsPortfolioVC.title     = \"Portfolio\"\nappsPortfolioVC.loadAppList(name: \"sample_portfolio\")\nself.navigationController?.pushViewController(appsPortfolioVC, animated: true)\n```\n\nAdd a custom back button to top left if by default navigation bar is hidden:\n```swift\nlet backButton = UIButton(frame: CGRect(x: 10, y: 7, width: 74, height: 30))\nbackButton.setImage(UIImage(named: \"btnBack\"), for: UIControlState.normal)\nbackButton.addTarget(self, action: #selector(goBackFromPortfolio), for: UIControlEvents.touchUpInside)\nappsPortfolioVC.view.addSubview(backButton)\n```\n\n```swift\n@objc private func goBackFromPortfolio(){\n    self.navigationController?.popViewController(animated: true)\n}\n```\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"custom_back_button.jpg\" width=\"300\" alt=\"Apps Portfolio\" /\u003e\n\u003c/p\u003e    \n\n\nImplement delegate to inform when user tap an app:\n```swift\nlet bundle = Bundle(for: AppsPortfolioViewController.self)\nlet storyboard = UIStoryboard(name: \"AppsPortfolio\", bundle: bundle)\n        \nlet appsPortfolioVC = storyboard.instantiateInitialViewController() as! AppsPortfolioViewController\nappsPortfolioVC.title     = \"Portfolio\"\n\n//assigning analytics delegates\nappsPortfolioVC.setAnalyticsDelegate(any: self) \n\nappsPortfolioVC.loadAppList(name: \"sample_portfolio\")\nself.navigationController?.pushViewController(appsPortfolioVC, animated: true)\n```\n\nOne delegate method need to implement to know user interaction:\n```swift\nextension ViewController : AppsPortfolio.Analytics{\n    func appClicked(appNamed: String) {\n        print(\"App: \\(appNamed) clicked.\")\n    }\n}\n```\n\nsample_portfolio.plist file structure:\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"plist_file.png\" width=\"1624\" max-width=\"50%\" alt=\"plist flie stucture\" /\u003e\n\u003c/p\u003e\n\n## How to use\n\nAdd this Swift package to your project\n```\nhttps://github.com/mahmudahsan/AppsPortfolio\n```\n\n* In your project create a new **apps_portfolio.plist** file and provide your apps list. Follow the sample_portfolio.plist file format provided in AppsPortfolio/Data.\n\n* In your project add the icons of your cross promoting apps and mention them in your plist file. Better use Images.assets to add apps's icons.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"Images.png\" width=\"992\" max-width=\"50%\" alt=\"Images\" /\u003e\n\u003c/p\u003e\n\n## Questions or feedback?\n\nFeel free to [open an issue](https://github.com/mahmudahsan/AppsPortfolio/issues/new), or find me [@mahmudahsan on Twitter](https://twitter.com/mahmudahsan).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahmudahsan%2Fappsportfolio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmahmudahsan%2Fappsportfolio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahmudahsan%2Fappsportfolio/lists"}