{"action":"created","issue":{"url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/2941","repository_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa","labels_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/2941/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/2941/comments","events_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/2941/events","html_url":"https://github.com/ReactiveCocoa/ReactiveCocoa/pull/2941","id":156906207,"number":2941,"title":"Add `prefix(value:)`","user":{"login":"inamiy","id":138476,"avatar_url":"https://avatars.githubusercontent.com/u/138476?v=3","gravatar_id":"","url":"https://api.github.com/users/inamiy","html_url":"https://github.com/inamiy","followers_url":"https://api.github.com/users/inamiy/followers","following_url":"https://api.github.com/users/inamiy/following{/other_user}","gists_url":"https://api.github.com/users/inamiy/gists{/gist_id}","starred_url":"https://api.github.com/users/inamiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inamiy/subscriptions","organizations_url":"https://api.github.com/users/inamiy/orgs","repos_url":"https://api.github.com/users/inamiy/repos","events_url":"https://api.github.com/users/inamiy/events{/privacy}","received_events_url":"https://api.github.com/users/inamiy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-05-26T05:26:56Z","updated_at":"2016-05-30T16:02:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/pulls/2941","html_url":"https://github.com/ReactiveCocoa/ReactiveCocoa/pull/2941","diff_url":"https://github.com/ReactiveCocoa/ReactiveCocoa/pull/2941.diff","patch_url":"https://github.com/ReactiveCocoa/ReactiveCocoa/pull/2941.patch"},"body":"As discussed in Slack channel recently, there seem to have many reinvention of `beginWith` (old `- (instancetype)startWith:(id)value`), so I think it's good time to add one for Swift code.\r\n\r\nExample of `beginWith` are:\r\n\r\n- [JavaScript example](https://gist.github.com/staltz/868e7e9bc2a7b8c1f754)\r\n- [Swift example](https://github.com/inamiy/ReactiveCocoaCatalog/blob/20a01590f4bfb056e09f8a73dffb16d1c0a5e0b3/ReactiveCocoaCatalog/Samples/WhoToFollowViewController.swift)\r\n\r\n---\r\n\r\n**2016/05/31 Updated:** Renamed `beginWith()` to `prefix(value:)`"},"comment":{"url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/comments/222520723","html_url":"https://github.com/ReactiveCocoa/ReactiveCocoa/pull/2941#issuecomment-222520723","issue_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/2941","id":222520723,"user":{"login":"inamiy","id":138476,"avatar_url":"https://avatars.githubusercontent.com/u/138476?v=3","gravatar_id":"","url":"https://api.github.com/users/inamiy","html_url":"https://github.com/inamiy","followers_url":"https://api.github.com/users/inamiy/followers","following_url":"https://api.github.com/users/inamiy/following{/other_user}","gists_url":"https://api.github.com/users/inamiy/gists{/gist_id}","starred_url":"https://api.github.com/users/inamiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inamiy/subscriptions","organizations_url":"https://api.github.com/users/inamiy/orgs","repos_url":"https://api.github.com/users/inamiy/repos","events_url":"https://api.github.com/users/inamiy/events{/privacy}","received_events_url":"https://api.github.com/users/inamiy/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T16:02:42Z","updated_at":"2016-05-30T16:02:42Z","body":"Done renaming in 608d501!"}}
{"actor":{"display_login":"inamiy"}}