<!DOCTYPE html> <html> <meta charset="utf-8"> <head> <link rel="stylesheet" href="../../style.css"> </head> <body> <script data-goatcounter="https://services.opengamestudio.org:443/count" async src="//services.opengamestudio.org:443/count.js"></script> <div id="header"> <div> <strong id="title">Open Game Studio</strong> <div id="lang"> <a href="../../en/news/bus-iOS.html">EN</a> <a href="../../ru/news/bus-iOS.html">RU</a> </div> </div> <div class="header2"> <div class="menu"> <a href="../../en/news/index.html">News</a> <a href="../../en/game/index.html">Games</a> <a href="../../en/tool/index.html">Tools</a> <a href="../../en/page/about.html">About</a> </div> <a class="discord" href="https://discord.gg/3A6THQabNf"> <img src="../../images/discord.png"></img> </a> <div class="clear"></div> </div> </div> <h3 class="left_item_title">In the news...</h3> <center> <div class="news_item"> <h2 class="news_item_title"> <a href="bus-iOS.html">Шина-iOS</a> </h2> <p class="news_item_date"> 2024-03-10 00:00 </p> <div class="news_item_contents"> <h1 id="thefirstbuspatternimplementationforios">The first Bus pattern implementation for iOS</h1> <p>I spent January and February making Bus pattern implementation in Swift for iOS. The end result looks nice to me.</p> <p>I have also done load testing. Turns out, the Bus is 92 times more expensive than a function call. Nonetheless, this doesn't mean the Bus is bad. On the contrary, the numbers highlight the Bus should be used in architectural glue code where it can save up to 30% of code</p> <p>This example demonstrates several states rendered through a single instance:</p> <iframe width="560" height="315" src="https://www.youtube.com/embed/xviaEbSd54o?si=7oZRU4Sjp3Hc5mX3" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> <h1 id="marchplans">March plans</h1> <p>I'm going to spend March to have a draft of the portable code in C++ for OpenWrt 12.09 (Atheros AR9331).</p> </div> </div> <div id="disqus_thread"></div> <script> var disqus_config = function () { this.page.url = "https://opengamestudio.org/en/news/bus-iOS.html"; this.page.identifier = "bus-iOS.html"; }; (function() { // DON'T EDIT BELOW THIS LINE var d = document, s = d.createElement('script'); s.src = 'https://opengamestudio.disqus.com/embed.js'; s.setAttribute('data-timestamp', +new Date()); (d.head || d.body).appendChild(s); })(); </script> <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> <div id="footer"> The site has been generated by <a href="http://opengamestudio.org/pskov">PSKOV</a> from <a href="http://github.com/ogstudio/site-opengamestudio">this source code</a>. </div> </center> </body> </html>