6
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Combineフレームワーク リンク集

Last updated at Posted at 2019-11-07

はじめに

Combineフレームワーク についてのリンクをまとめてみました。
特にサンプルコードを見てみるのは、Combineフレームワークの概要を掴むのにとても有効です。

#【Apple公式】

Apple Documentation

Combine
https://developer.apple.com/documentation/combine

Receiving and Handling Events with Combine
https://developer.apple.com/documentation/combine/receiving_and_handling_events_with_combine

WWDC2109

Introducing Combine
https://developer.apple.com/videos/play/wwdc2019/722

Combine is a unified declarative framework for processing values over time. Learn how it can simplify asynchronous code like networking, key value observing, notifications and callbacks.

Combine in Practice

Expand your knowledge of Combine, Apple's new unified, declarative framework for processing values over time. Learn about how to correctly handle errors, schedule work and integrate Combine into your app today.

Modern Swift API Design
https://developer.apple.com/videos/play/wwdc2019/415/

Every programming language has a set of conventions that people come to expect. Learn about the patterns that are common to Swift API design, with examples from new APIs like SwiftUI, Combine, and RealityKit. Whether you're developing an app as part of a team, or you're publishing a library for others to use, find out how to use new features of Swift to ensure clarity and correct use of your APIs.

#【サンプルコード】

A Swift Playground explaining the concepts of the new Combine framework
❤️ Playgroundで動くサンプルコードおすすめ
https://github.com/AvdLee/CombineSwiftPlayground

【ここが詳しい】

【iOS】Combineフレームワークまとめ
❤️ ものすごく詳しい
https://qiita.com/shiz/items/5efac86479db77a52ccc

↑は長いので本文?から読む場合はここ↓

Combineフレームワークとは?
https://qiita.com/shiz/items/5efac86479db77a52ccc#combineフレームワークとは

swiftui-notes
❤️ SwiftUIだけでなくCombineも詳しく記述されている
https://heckj.github.io/swiftui-notes/

This is an intermediate to advanced book, focusing on how to use a specific framework (Combine) provided by Apple. The work is written with an expectation of a solid understanding of the Swift programming language, including reference and value types, protocols, and comfort with the existing Foundation framework.

[Swift] はじめてのCombine | Apple製の非同期フレームワークを使ってみよう
https://dev.classmethod.jp/smartphone/swift-combine-framework-for-beginners/

#【@Publishedとかって何?という場合】
Property wrappers to remove boilerplate code in Swift
https://www.avanderlee.com/swift/property-wrappers/

Property wrappers were first introduced during WWDC 2019 and come with Xcode 11 in Swift 5. It’s a neat addition to the Swift library and allows us to remove a lot of boilerplate code which we probably all have written in our projects.

SwiftUIのProperty Wrappersとデータへのアクセス方法
https://qiita.com/shiz/items/6eaf87fa79499623306a

The Complete Guide to State Management in SwiftUI
https://medium.com/@azamsharp/the-complete-guide-to-state-management-in-swiftui-8759add64bcf

This post is about maintaining and understanding state in SwiftUI. State management is an integral part of SwiftUI development and SwiftUI provides many different ways of working with state.

Apple公式
https://developer.apple.com/documentation/combine/published

リファレンス

大項目 リンク
Publishers https://heckj.github.io/swiftui-notes/#reference-publishers
Operators https://heckj.github.io/swiftui-notes/#reference-operators
Subjects https://heckj.github.io/swiftui-notes/#reference-subjects
Subscribers https://heckj.github.io/swiftui-notes/#reference-subscribers
6
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?