はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

  • はてなブックマークって?
  • アプリ・拡張の紹介
  • ユーザー登録
  • ログイン
  • Hatena

はてなブックマーク

トップへ戻る

  • 総合
    • 人気
    • 新着
    • IT
    • 最新ガジェット
    • 自然科学
    • 経済・金融
    • おもしろ
    • マンガ
    • ゲーム
    • はてなブログ(総合)
  • 一般
    • 人気
    • 新着
    • 社会ニュース
    • 地域
    • 国際
    • 天気
    • グルメ
    • 映画・音楽
    • スポーツ
    • はてな匿名ダイアリー
    • はてなブログ(一般)
  • 世の中
    • 人気
    • 新着
    • 新型コロナウイルス
    • 働き方
    • 生き方
    • 地域
    • 医療・ヘルス
    • 教育
    • はてな匿名ダイアリー
    • はてなブログ(世の中)
  • 政治と経済
    • 人気
    • 新着
    • 政治
    • 経済・金融
    • 企業
    • 仕事・就職
    • マーケット
    • 国際
    • はてなブログ(政治と経済)
  • 暮らし
    • 人気
    • 新着
    • カルチャー・ライフスタイル
    • ファッション
    • 運動・エクササイズ
    • 結婚・子育て
    • 住まい
    • グルメ
    • 相続
    • はてなブログ(暮らし)
    • 掃除・整理整頓
    • 雑貨
    • 買ってよかったもの
    • 旅行
    • アウトドア
    • 趣味
  • 学び
    • 人気
    • 新着
    • 人文科学
    • 社会科学
    • 自然科学
    • 語学
    • ビジネス・経営学
    • デザイン
    • 法律
    • 本・書評
    • 将棋・囲碁
    • はてなブログ(学び)
  • テクノロジー
    • 人気
    • 新着
    • IT
    • セキュリティ技術
    • はてなブログ(テクノロジー)
    • AI・機械学習
    • プログラミング
    • エンジニア
  • おもしろ
    • 人気
    • 新着
    • まとめ
    • ネタ
    • おもしろ
    • これはすごい
    • かわいい
    • 雑学
    • 癒やし
    • はてなブログ(おもしろ)
  • エンタメ
    • 人気
    • 新着
    • スポーツ
    • 映画
    • 音楽
    • アイドル
    • 芸能
    • お笑い
    • サッカー
    • 話題の動画
    • はてなブログ(エンタメ)
  • アニメとゲーム
    • 人気
    • 新着
    • マンガ
    • Webマンガ
    • ゲーム
    • 任天堂
    • PlayStation
    • アニメ
    • バーチャルYouTuber
    • オタクカルチャー
    • はてなブログ(アニメとゲーム)
    • はてなブログ(ゲーム)
  • おすすめ

    ノーベル賞

『Swift by Sundell』

  • 人気
  • 新着
  • すべて
  • Accessing a Swift property wrapper’s enclosing instance | Swift by Sundell

    3 users

    www.swiftbysundell.com

    Like its name implies, Swift’s property wrappers feature enables us to wrap a given property value within a custom type, which in turn lets us apply transforms and run other kinds of logic whenever that value is modified. By default, a property wrapper is completely disconnected from the enclosing types in which it’s being used, which can prove to be quite limiting in certain situations. For examp

    • テクノロジー
    • 2021/02/16 14:43
    • Observing Combine publishers in SwiftUI views | Swift by Sundell

      3 users

      www.swiftbysundell.com

      Articles and podcasts about Swift development, by John Sundell. This article has been archived, as it was published several years ago, so some of its information might now be outdated. For more recent articles, please visit the main article feed. SwiftUI offers multiple ways to connect a given view to the underlying state that it depends on, for example using property wrappers like @State and @Obs

      • テクノロジー
      • 2021/01/08 17:25
      • tips
      • Extending Combine with convenience APIs | Swift by Sundell

        3 users

        www.swiftbysundell.com

        Apple’s Combine framework enables us to model our asynchronous code as reactive pipelines that each consist of a series of separate operations. Those pipelines can then be observed, transformed, and combined in various ways — and since Combine makes heavy use of Swift’s advanced generics capabilities, that can all be done with a high degree of type safety and compile time validation. That strong t

        • テクノロジー
        • 2020/11/28 01:58
        • iOS
        • Property wrappers in Swift | Swift by Sundell

          4 users

          www.swiftbysundell.com

          When dealing with properties that represent some form of state, it’s very common to have some kind of associated logic that gets triggered every time that a value is modified. For example, we might validate each new value according to a set of rules, we might transform our assigned values in some way, or we might be notifying a set of observers whenever a value was changed. In those kinds of situa

          • テクノロジー
          • 2020/01/20 09:41
          • あとで読む
          • Different flavors of view models in Swift | Swift by Sundell

            3 users

            www.swiftbysundell.com

            Articles and podcasts about Swift development, by John Sundell. This article has been archived, as it was published several years ago, so some of its information might now be outdated. For more recent articles, please visit the main article feed. Most apps tend to be centered around a small number of core models. For example, a navigation app might have models such as Route and Destination, while

            • テクノロジー
            • 2019/07/20 08:44
            • Task-based concurrency in Swift | Swift by Sundell

              3 users

              www.swiftbysundell.com

              Just like sequential code, concurrent code can come in many different shapes and forms. Depending on what we’re trying to achieve — whether that’s asynchronously fetching a piece of data, loading heavy files from disk, or performing a group of related operations — the abstraction that’ll prove to be the best fit might vary quite a lot from use case to use case. One such concurrent programming abst

              • テクノロジー
              • 2019/06/24 19:40
              • iOS
              • The Swift 5.1 features that power SwiftUI’s API | Swift by Sundell

                6 users

                www.swiftbysundell.com

                The introduction of SwiftUI, Apple’s declarative new UI framework, was clearly one of the most impactful announcements made during this year’s WWDC conference. As a brand new way of building UIs for all of Apple’s platforms, using a coding style that’s vastly different from the way UIKit works, SwiftUI isn’t just a new framework — it’s a paradigm shift. As a new, modern take on UI development for

                • テクノロジー
                • 2019/06/10 04:23
                • あとで読む
                • Swift by Sundell

                  4 users

                  www.swiftbysundell.com

                  Articles, podcasts and news about Swift development, by John Sundell. One of the most interesting aspects of SwiftUI, at least from an architectural perspective, is how it essentially treats views as data. After all, a SwiftUI view isn’t a direct representation of the pixels that are being rendered on the screen, but rather a description of how a given piece of UI should work, look, and behave. Th

                  • テクノロジー
                  • 2019/04/20 20:55
                  • Building iPad Pro features in Swift — Swift by Sundell

                    4 users

                    www.swiftbysundell.com

                    The iPad continues to be a source of much debate - not only in the iOS developer community, but in the tech industry at large as well. Will the iPad replace the Mac, can you get real work done on iOS, and should the iPad be treated as a proper computer? Whether or not you believe that the iPad is the future of computing, it does bring a ton of interesting new features and capabilities to the table

                    • テクノロジー
                    • 2018/11/12 08:07
                    • iPad
                    • あとで読む
                    • Building DSLs in Swift — Swift by Sundell

                      3 users

                      www.swiftbysundell.com

                      Articles and podcasts about Swift development, by John Sundell. This article has been archived, as it was published several years ago, so some of its information might now be outdated. For more recent articles, please visit the main article feed. A DSL, short for Domain Specific Language, can be explained as a special kind of API that focuses on providing a simple syntax that's tailored to working

                      • テクノロジー
                      • 2018/10/15 11:20
                      • Navigation in Swift | Swift by Sundell

                        4 users

                        www.swiftbysundell.com

                        Articles and podcasts about Swift development, by John Sundell. This article has been archived, as it was published several years ago, so some of its information might now be outdated. For more recent articles, please visit the main article feed. Every app that doesn't only consist of one single UI needs some form of navigation - to enable users to move between different screens and to display inf

                        • テクノロジー
                        • 2018/02/19 22:25
                        • ios
                        • あとで読む
                        • Mocking in Swift | Swift by Sundell

                          4 users

                          www.swiftbysundell.com

                          Articles and podcasts about Swift development, by John Sundell. This article has been archived, as it was published several years ago, so some of its information might now be outdated. For more recent articles, please visit the main article feed. Mocking is a key technique when it comes to writing unit tests in pretty much any language. When mocking an object, we are essentially creating a "fake"

                          • テクノロジー
                          • 2018/01/15 01:21
                          • Using the factory pattern to avoid shared state in Swift | Swift by Sundell

                            3 users

                            www.swiftbysundell.com

                            Shared state is a really common source of bugs in most apps. It's what happens when you (accidentally or by design) have multiple parts of a system that rely on the same mutable state. The challenges (and bugs) usually come from not handling changes to such a state correctly throughout the system. This week, let's take a look at how shared state can be avoided in many situations, by using the fact

                            • テクノロジー
                            • 2017/09/10 21:30
                            • Modelling state in Swift | Swift by Sundell

                              3 users

                              www.swiftbysundell.com

                              Articles and podcasts about Swift development, by John Sundell. This article has been archived, as it was published several years ago, so some of its information might now be outdated. For more recent articles, please visit the main article feed. One of the hardest things when building apps and designing systems is deciding how to model and deal with state. Code managing state is also a very commo

                              • テクノロジー
                              • 2017/07/11 13:22
                              • Using @autoclosure when designing Swift APIs | Swift by Sundell

                                3 users

                                www.swiftbysundell.com

                                Articles and podcasts about Swift development, by John Sundell. This article has been archived, as it was published several years ago, so some of its information might now be outdated. For more recent articles, please visit the main article feed. Swift’s @autoclosure attribute enables you to define an argument that automatically gets wrapped in a closure. It’s primarily used to defer execution of

                                • テクノロジー
                                • 2017/05/30 16:02
                                • programming

                                このページはまだ
                                ブックマークされていません

                                このページを最初にブックマークしてみませんか?

                                『Swift by Sundell』の新着エントリーを見る

                                キーボードショートカット一覧

                                j次のブックマーク

                                k前のブックマーク

                                lあとで読む

                                eコメント一覧を開く

                                oページを開く

                                はてなブックマーク

                                • 総合
                                • 一般
                                • 世の中
                                • 政治と経済
                                • 暮らし
                                • 学び
                                • テクノロジー
                                • エンタメ
                                • アニメとゲーム
                                • おもしろ
                                • アプリ・拡張機能
                                • 開発ブログ
                                • ヘルプ
                                • お問い合わせ
                                • ガイドライン
                                • 利用規約
                                • プライバシーポリシー
                                • 利用者情報の外部送信について
                                • ガイドライン
                                • 利用規約
                                • プライバシーポリシー
                                • 利用者情報の外部送信について

                                公式Twitter

                                • 公式アカウント
                                • ホットエントリー

                                はてなのサービス

                                • はてなブログ
                                • はてなブログPro
                                • 人力検索はてな
                                • はてなブログ タグ
                                • はてなニュース
                                • ソレドコ
                                • App Storeからダウンロード
                                • Google Playで手に入れよう
                                Copyright © 2005-2025 Hatena. All Rights Reserved.
                                設定を変更しましたx