{"id":17957527,"url":"https://github.com/itinance/switchtolatestexample","last_synced_at":"2025-04-03T17:30:22.591Z","repository":{"id":25140756,"uuid":"28562983","full_name":"itinance/switchToLatestExample","owner":"itinance","description":"An example for ReactiveCocoa :: switchToLatest ","archived":false,"fork":false,"pushed_at":"2014-12-28T18:49:21.000Z","size":448,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T06:16:03.506Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itinance.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":"2014-12-28T13:55:01.000Z","updated_at":"2021-04-09T08:02:39.000Z","dependencies_parsed_at":"2022-08-23T19:51:06.576Z","dependency_job_id":null,"html_url":"https://github.com/itinance/switchToLatestExample","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/itinance%2FswitchToLatestExample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itinance%2FswitchToLatestExample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itinance%2FswitchToLatestExample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itinance%2FswitchToLatestExample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itinance","download_url":"https://codeload.github.com/itinance/switchToLatestExample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247046690,"owners_count":20874703,"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-29T10:55:28.808Z","updated_at":"2025-04-03T17:30:22.568Z","avatar_url":"https://github.com/itinance.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"switchToLatestExample\n=====================\n\nAn example for ReactiveCocoa :: switchToLatest.\n\nImagine the following task: you want to observe some properties of an object, which sometimes may not exist. For instance, this could be an object, which is delivered via a REST API at a later time. How to deal with that? RACObserve(subject, property) won't work if subject is nil at this time. Fortunatly, ReactiveCocoa has tools for this issue.\n\nInspired by Patrick Bacons Artikel about switchToLatest (http://spin.atomicobject.com/2014/05/21/reactivecocoa-understanding-switchtolatest) I played around with it and created this example project.\n\n\nInstallation:\n=============\nJust clone the project, run \"pod install\" and open the .xcworkspace-File instead of .xcodeproj\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitinance%2Fswitchtolatestexample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitinance%2Fswitchtolatestexample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitinance%2Fswitchtolatestexample/lists"}