{"id":18270605,"url":"https://github.com/adamhoracek/KOTabs","last_synced_at":"2025-04-05T01:30:43.577Z","repository":{"id":4305903,"uuid":"5438163","full_name":"adamhoracek/KOTabs","owner":"adamhoracek","description":null,"archived":false,"fork":false,"pushed_at":"2013-03-01T13:21:46.000Z","size":154,"stargazers_count":190,"open_issues_count":4,"forks_count":25,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-04-02T06:13:49.666Z","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/adamhoracek.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":"2012-08-16T11:31:40.000Z","updated_at":"2025-01-17T15:59:25.000Z","dependencies_parsed_at":"2022-08-29T21:22:27.669Z","dependency_job_id":null,"html_url":"https://github.com/adamhoracek/KOTabs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamhoracek%2FKOTabs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamhoracek%2FKOTabs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamhoracek%2FKOTabs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamhoracek%2FKOTabs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamhoracek","download_url":"https://codeload.github.com/adamhoracek/KOTabs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276032,"owners_count":20912285,"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-05T11:38:45.644Z","updated_at":"2025-04-05T01:30:43.112Z","avatar_url":"https://github.com/adamhoracek.png","language":"Objective-C","funding_links":[],"categories":["etc"],"sub_categories":[],"readme":"KOTabs – iOS component for multiple tabs\r\n========================================\r\n\r\nWith **KOTabs** you can easily create a tabbed document interface. The user can switch between tabs with a single tap. The tabs can be closed with the \"x\" icon in the corner. When there are more tabs than the screen can show, the whole bar can be scrolled to the side. It was developed for [Kodiak PHP](http://www.becomekodiak.com/), an app which allows you to write and run PHP code directly on the iPad.\r\n\r\nTo see the component in action, take a look at the video at [http://www.becomekodiak.com/](http://www.becomekodiak.com/) or try our app called [Kodiak PHP on the App Store](http://itunes.apple.com/us/app/kodiak-php/id542685332?ls=1\u0026mt=8).\r\n\r\n\u003cimg src=\"http://i.imgur.com/npej3.png\"\u003e\r\n\r\nUsage\r\n-----\r\n\r\nWe included a demo project that shows how to use the component.\r\n\r\nFirstly, include its header:\r\n\r\n\t#import \"KOTabs.h\"\r\n\t#import \"KOTabView.h\"\r\n\r\nTo use the component, initialize it and set its size to the whole screen, as its area should also include the area of the documents it shows:\r\n\r\n\tKOTabs *tabs = [[KOTabs alloc] initWithFrame:self.view.bounds];\r\n\ttabs.delegate = self;\r\n\t[self.view addSubview:tabs];\r\n\r\nNow it's time to add some tabs into the components:\r\n\r\n\tKOTabView *tabView1 = [[KOTabView alloc] initWithFrame:self.view.bounds];\r\n\ttabView1.index = 0;\r\n\ttabView1.name = \"first tab\";\r\n\r\n\tNSMutableArray *tabViews = [NSMutableArray arrayWithObjects:tabView1, nil];\r\n\ttabs.tabView = tabViews;\r\n\ttabs.activeBarIndex = 0;\r\n\ttabs.activeViewIndex = 0;\r\n\r\nIf you want to have more tabs, simply create an array with more items.\r\n\r\nAnd that's it!\r\n\r\nCopyright and license\r\n---------------------\r\n\r\nThis product is free and open source and it is distributed under the MIT License. See the file `LICENSE` for the complete text of the license.\r\n\r\nContact\r\n-------\r\n\r\nhttp://www.becomekodiak.com/\u003cbr /\u003e\r\nhttp://www.twitter.com/becomekodiak/\u003cbr /\u003e\r\ninfo@becomekodiak.com\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamhoracek%2FKOTabs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamhoracek%2FKOTabs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamhoracek%2FKOTabs/lists"}