<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dmitry Seredinov on Medium]]></title>
        <description><![CDATA[Stories by Dmitry Seredinov on Medium]]></description>
        <link>https://medium.com/@dmitryseredinov?source=rss-2aea0b59673------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ttfw2ZNvM-7mfgQN.jpg</url>
            <title>Stories by Dmitry Seredinov on Medium</title>
            <link>https://medium.com/@dmitryseredinov?source=rss-2aea0b59673------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 09:17:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dmitryseredinov/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Recurring signals using ReactiveCocoa (i.e. Repetitive Timers)]]></title>
            <link>https://medium.com/using-reactivecocoa/recurring-signals-using-reactivecocoa-i-e-repetitive-timers-a609800dd6df?source=rss-2aea0b59673------2</link>
            <guid isPermaLink="false">https://medium.com/p/a609800dd6df</guid>
            <dc:creator><![CDATA[Dmitry Seredinov]]></dc:creator>
            <pubDate>Wed, 25 Dec 2013 17:06:41 GMT</pubDate>
            <atom:updated>2013-12-25T17:06:41.604Z</atom:updated>
            <content:encoded><![CDATA[<h4>How to use ReactiveCocoa to implement ‘repeat every…’ task</h4><p>Sometimes you might want to have repetitive task which needs to be executed, say, every 60 seconds.</p><p>Of course, you can use ‘native’ Objective-C tools like</p><blockquote>[NSTimer scheduledTimerWithTimeInterval:60.0 target:nil selector:@selector(taskToRepeat) userInfo:nil repeats:YES];</blockquote><p>But what if you want to use ReactiveCocoa Way to achieve that? Hopefully, you can do that like:</p><blockquote>RACSignal *repetitiveEventSignal = [[[RACSignal interval:60] take:1] concat:[RACSignal interval:60]];</blockquote><p>After signal created, you can subscribe to `next` events:</p><blockquote>[repetitiveEventSignal subscribeNext: ^(NSDate* currentDateTime){<br>/* … your code here…*/<br>}];</blockquote><p>Links:</p><p><a href="http://github.com/ReactiveCocoa/ReactiveCocoa">ReactiveCocoa</a></p><p><a href="http://stackoverflow.com/a/16535857/2867467">SO Answer by J. Spahr-Summers</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a609800dd6df" width="1" height="1" alt=""><hr><p><a href="https://medium.com/using-reactivecocoa/recurring-signals-using-reactivecocoa-i-e-repetitive-timers-a609800dd6df">Recurring signals using ReactiveCocoa (i.e. Repetitive Timers)</a> was originally published in <a href="https://medium.com/using-reactivecocoa">ReactiveCocoa Way</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>