{"id":15397868,"url":"https://github.com/alexdenisov/bindabletypes","last_synced_at":"2025-03-17T09:12:44.369Z","repository":{"id":2927779,"uuid":"3938920","full_name":"AlexDenisov/BindableTypes","owner":"AlexDenisov","description":"Binding CocoaTouch controls to Foundation data types","archived":false,"fork":false,"pushed_at":"2012-04-11T17:18:52.000Z","size":160,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T18:47:46.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlexDenisov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-05T11:16:01.000Z","updated_at":"2013-10-06T19:20:01.000Z","dependencies_parsed_at":"2022-09-04T12:01:56.735Z","dependency_job_id":null,"html_url":"https://github.com/AlexDenisov/BindableTypes","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/AlexDenisov%2FBindableTypes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexDenisov%2FBindableTypes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexDenisov%2FBindableTypes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexDenisov%2FBindableTypes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexDenisov","download_url":"https://codeload.github.com/AlexDenisov/BindableTypes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244006398,"owners_count":20382443,"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-10-01T15:39:50.181Z","updated_at":"2025-03-17T09:12:44.348Z","avatar_url":"https://github.com/AlexDenisov.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Bindable Foundation data types\n\n### About\n\nThe framework consists of two class-clusters - BTNumber and BTString.   \nThese classes allow you to bind Foundation data types with CocoaTouch controls without any delegates.\n\n### Features\n\n- Binding in one string\n- Only actual values at any time\n\n**BTString**: allows to bind NSString with UITextField or UITextView.   \n**BTNumber**: NSNumber binds with UISlider, UISwitch or UIStepper.\n\n### Installation\n\n    git clone git@github.com:AlexDenisov/BindableTypes.git\n\nOpen with XCode and build BuildFramework target.  \nThe BindableTypes.framework will be located in ~/Products/, this path can be changed in the shell-script in the Settings tab of target.  \nOpen your project Settings and add BindableTypes.framework to Link Binary With Libraries section.  \n\n\n### Usage\n\nSyntax is simple and clean.\nThese features very useful with your models.\n\nOrder.h\n\n    @interface Order : NSObject\n    ...\n    @property (nonatomic, retain) BTString *productName;\n    @property (nonatomic, retain) BTNumber *count;\n    ...\n    @end\n\nOrder.m\n    \n    @implementation Order\n    ...\n    @synthesize productName;\n    @synthesize count;\n    ...\n    @end\n\nEditOrderViewController.h\n\n    ...\n    @property (nonatomic, retain) IBOutlet UITextField *productNameTextField;\n    @property (nonatomic, retain) IBOutlet UISlider *countSlider;\n    @property (nonatomic, retain) Order *order;\n    ...\n    \nEditOrderViewController.m\n    \n    ...\n    - (void)viewDidLoad {\n    ...\n        self.order.productName = [BTString stringWithTextField:self.productNameTextField\n                                                    withString:self.order.productnName.stringValue];\n        self.order.count = [BTNumber numberWithSlider:self.countSlider \n                                           withNumber:self.order.count.numberValue];\n    ...\n    }\n    ...\n\nNow you always have the actual values: in the model and in view.\n\n### Contacts\n\nBugs, questions and suggestions please send to 1101.debian@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexdenisov%2Fbindabletypes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexdenisov%2Fbindabletypes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexdenisov%2Fbindabletypes/lists"}