Post

No Realm, No Life/MVVMをベースに複雑な振る舞いをしっかり把握できるアプリ開発

No Realm, No Life/MVVMをベースに複雑な振る舞いをしっかり把握できるアプリ開発

杉上洋平さん @ Wantedly株式会社

Wantedly株式会社のiOSエンジニアである杉上洋平さんによる、ビジネスシーンで使えるメッセージングサービスSyncの開発当時の模様をiOSを中心にご紹介していただきました。開発のスケジュール、リソース、アーキテクチャ、アプリの規模や進め方など非常に参考になります。

記事の更新情報を受け取る

講演は2部構成で、前半はRealmをSyncアプリに採用するにあたって、具体的なアーキテクチャの構成やモデルの取り扱い方などの説明と、その他のデータ永続化レイヤーを使用した経験から比較して、Realmを選ぶことによるメリットなどもお話していただきました。

後半では、Syncアプリの開発を例に、複雑化する一方のアプリ開発において、Syncではどのように円滑に素早く不具合の少ない開発を行ってきたかについて、実践的な内容で説明していただきました。かなり多くのライブラリを使用していることと、すべてピュアSwiftで開発を行っているなど、プロジェクトのハンドリングは一見すると困難に思えますが、実際はテクノロジーを高度に使い分け、非常にスマートな開発を行っているということが印象的です。

中でもSwiftBondとSwiftTask、Realmを上手に組み合わせて、ビューコントローラからロジックのコードをほとんど追い出してしまっているところは必見の内容です。クライアント側で複雑な状態を管理する方法として、非常に参考になります。

About the content

This content has been published here with the express permission of the author.

Realm Team

At Realm, our mission is to help developers build better apps faster. We provide a unique set of tools and platform technologies designed to make it easy for developers to build apps with sophisticated, powerful features — things like realtime collaboration, augmented reality, live data synchronization, offline experiences, messaging, and more.

Everything we build is developed with an eye toward enabling developers for what we believe the mobile internet evolves into — an open network of billions of users and trillions of devices, and realtime interactivity across them all.

4 design patterns for a RESTless mobile integration »

close