Getting Started with Widgetkit: Create Widgets for IOS and Ipados
暫譯: Widgetkit 入門:為 iOS 和 iPadOS 創建小工具

Lage, Sagun Raj, Shrestha, Prakshapan

  • 出版商: Apress
  • 出版日期: 2021-05-11
  • 售價: $2,350
  • 貴賓價: 9.5$2,233
  • 語言: 英文
  • 頁數: 145
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 148427041X
  • ISBN-13: 9781484270417
  • 相關分類: Apple Developer
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Develop handy, UI/UX friendly and eye-pleasing widgets using the brand new WidgetKit. Apple's brand new widgets allow iOS users to work with their favorite apps in the home screen of their iPhone or iPad without even opening the app

Join us in this exciting journey as we explore the APIs introduced in Apple's WidgetKit framework. You'll dive into the human interface guidelines (HIG) for creating widgets and review the recommendations Apple gives to developers for developing widgets with intuitive, easy-to-learn, and consistent user interfaces. In addition, you'll take a look at some SwiftUI views that are useful not only in creating widgets for iOS apps, but also for creating iOS apps themselves.

You'll put everything you learn into practical application by actually writing code and creating widgets. Get a clear view of how everything works so that you're able to incorporate widgets into your real-world projects authentically and successfully.

What You'll Learn
  • Configure widgets and make them talk to APIs using URLSession
  • Work with timelines and event handling in widgets
  • Fetch content from a remote server and display the data in a widget
  • Make content dynamic both remotely and locally
Who This Book Is For

iOS developers working in the Apple ecosystem with a basic understanding of SwiftUI.

商品描述(中文翻譯)

使用全新的 WidgetKit 開發方便、友好的 UI/UX 以及賞心悅目的小工具。蘋果全新的小工具允許 iOS 用戶在 iPhone 或 iPad 的主畫面上與他們最喜愛的應用程式互動,而無需打開應用程式。

加入我們的這段激動人心的旅程,探索蘋果 WidgetKit 框架中引入的 API。您將深入了解創建小工具的人機介面指南(HIG),並回顧蘋果對開發者在開發具有直觀、易學且一致的用戶介面的小工具時所提供的建議。此外,您還將查看一些 SwiftUI 視圖,這些視圖不僅在創建 iOS 應用程式的小工具時有用,還對創建 iOS 應用程式本身有幫助。

您將通過實際編寫代碼和創建小工具,將所學的知識付諸實踐。清楚了解一切運作方式,以便能夠真實且成功地將小工具整合到您的實際項目中。

您將學到的內容

  • 配置小工具並使用 URLSession 與 API 進行通訊

  • 在小工具中處理時間線和事件處理


  • 從遠端伺服器獲取內容並在小工具中顯示數據


  • 使內容在遠端和本地都具有動態性


本書適合誰閱讀

在蘋果生態系統中工作的 iOS 開發者,具備基本的 SwiftUI 知識。

作者簡介

Sagun Raj Lage started his professional career in software development as a Full Stack Web Developer and later moved into developing iOS applications. He has been a part of development teams on applications used in fields such as transportation, multimedia, shopping, finance, astrology, and management. He is actively involved in organizing developer events and in contributing as a mentor and tutor in programming bootcamps. Apart from software development and programming, he enjoys reading and writing blogs, music, graphic design, and video editing.
Prakshapan Shrestha is an entrepreneurial app developer with 6 years of iOS development experience. He devoutly follows the latest tools and technologies that make a developer's life easier and actively helps out budding developers. Aside from software development, Prakshapan enjoys hiking and heading his recent venture, Pregasathi, which provides new families in need of baby products with help.

作者簡介(中文翻譯)

Sagun Raj Lage 開始他的專業生涯作為全端網頁開發者,後來轉向開發 iOS 應用程式。他曾參與多個開發團隊,開發用於交通、多媒體、購物、金融、占星術和管理等領域的應用程式。他積極參與組織開發者活動,並作為導師和輔導員貢獻於程式設計訓練營。除了軟體開發和程式設計外,他還喜歡閱讀和寫作部落格、音樂、平面設計和影片剪輯。
Prakshapan Shrestha 是一位具有 6 年 iOS 開發經驗的創業應用程式開發者。他虔誠地關注最新的工具和技術,以簡化開發者的工作,並積極幫助新興的開發者。除了軟體開發外,Prakshapan 還喜歡健行,並負責他最近的創業項目 Pregasathi,該項目為需要嬰兒產品的新家庭提供幫助。