Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

68 рядки
3.3KB

  1. <!DOCTYPE html>
  2. <html>
  3. <meta charset="utf-8">
  4. <head>
  5. <link rel="stylesheet" href="../../style.css">
  6. </head>
  7. <body>
  8. <script data-goatcounter="https://services.opengamestudio.org:443/count" async src="//services.opengamestudio.org:443/count.js"></script>
  9. <div id="header">
  10. <div class="header2">
  11. <div class="menu">
  12. <a href="../../en/news/index.html">News</a>
  13. <a href="../../en/game/index.html">Games</a>
  14. <a href="../../en/tool/index.html">Tools</a>
  15. <a href="../../en/page/about.html">About</a>
  16. </div>
  17. <div id="lang">
  18. <a href="../../en/news/bus-iOS.html">EN</a>
  19. <a href="../../ru/news/bus-iOS.html">RU</a>
  20. </div>
  21. <div class="clear"></div>
  22. </div>
  23. </div>
  24. <h3 class="left_item_title">In the news...</h3>
  25. <center>
  26. <div class="news_item">
  27. <h2 class="news_item_title">
  28. <a href="bus-iOS.html">Шина-iOS</a>
  29. </h2>
  30. <p class="news_item_date">
  31. 2024-03-10 00:00
  32. </p>
  33. <div class="news_item_contents">
  34. <h1 id="thefirstbuspatternimplementationforios">The first Bus pattern implementation for iOS</h1>
  35. <p>I spent January and February making Bus pattern implementation in Swift for iOS.
  36. The end result looks nice to me.</p>
  37. <p>I have also done load testing. Turns out, the Bus is 92 times more expensive
  38. than a function call. Nonetheless, this doesn't mean the Bus is bad. On the
  39. contrary, the numbers highlight the Bus should be used in architectural
  40. glue code where it can save up to 30% of code</p>
  41. <p>This example demonstrates several states rendered through a single instance:</p>
  42. <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>
  43. <h1 id="marchplans">March plans</h1>
  44. <p>I'm going to spend March to have a draft of the portable code in C++ for OpenWrt 12.09 (Atheros AR9331).</p>
  45. </div>
  46. </div>
  47. <div id="disqus_thread"></div>
  48. <script>
  49. var disqus_config = function () {
  50. this.page.url = "https://opengamestudio.org/en/news/bus-iOS.html";
  51. this.page.identifier = "bus-iOS.html";
  52. };
  53. (function() { // DON'T EDIT BELOW THIS LINE
  54. var d = document, s = d.createElement('script');
  55. s.src = 'https://opengamestudio.disqus.com/embed.js';
  56. s.setAttribute('data-timestamp', +new Date());
  57. (d.head || d.body).appendChild(s);
  58. })();
  59. </script>
  60. <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
  61. <div id="footer">
  62. The site has been generated by <a href="http://opengamestudio.org/pskov">PSKOV</a>
  63. from <a href="http://github.com/ogstudio/site-opengamestudio">this source code</a>.
  64. </div>
  65. </center>
  66. </body>
  67. </html>