AppCoda
  • Books
    • Beginning iOS 14 Programming with Swift
    • Intermediate iOS 13 Programming with Swift
    • Mastering SwiftUI
    • Mastering Machine Learning with Core ML and Python
  • Swift Course
  • Tutorials
    • iOS
    • Swift
    • watchOS
    • tvOS
    • All Tutorials
  • App Marketing
  • Workshop
  • App Showcase
  • App Template
  • About
    • About Us
    • Our Team
    • Write for Us
    • Advertise
    • Contact Us
  • 中文
Search
  • Books
    • Beginning iOS 14 Programming with Swift
    • Intermediate iOS 13 Programming with Swift
    • Mastering SwiftUI
    • Mastering Machine Learning with Core ML and Python
  • Swift Course
  • Tutorials
    • iOS
    • Swift
    • watchOS
    • tvOS
    • All Tutorials
  • App Marketing
  • Workshop
  • App Showcase
  • App Template
  • About
    • About Us
    • Our Team
    • Write for Us
    • Advertise
    • Contact Us
  • 中文
AppCoda
  • Books
    • Beginning iOS 14 Programming with Swift
    • Intermediate iOS 13 Programming with Swift
    • Mastering SwiftUI
    • Mastering Machine Learning with Core ML and Python
  • Swift Course
  • Tutorials
    • iOS
    • Swift
    • watchOS
    • tvOS
    • All Tutorials
  • App Marketing
  • Workshop
  • App Showcase
  • App Template
  • About
    • About Us
    • Our Team
    • Write for Us
    • Advertise
    • Contact Us
  • 中文
Search
  • Books
    • Beginning iOS 14 Programming with Swift
    • Intermediate iOS 13 Programming with Swift
    • Mastering SwiftUI
    • Mastering Machine Learning with Core ML and Python
  • Swift Course
  • Tutorials
    • iOS
    • Swift
    • watchOS
    • tvOS
    • All Tutorials
  • App Marketing
  • Workshop
  • App Showcase
  • App Template
  • About
    • About Us
    • Our Team
    • Write for Us
    • Advertise
    • Contact Us
  • 中文
Simon Ng
Author @simonng

Simon Ng


Founder of AppCoda. Author of multiple iOS programming books including Beginning iOS 13 Programming with Swift and Mastering SwiftUI. iOS App Developer and Blogger. Follow me at Facebook, Twitter and Google+.

Read Article
SwiftUI
SwiftUI

Building an Expandable List View with Inset Grouped Style Using SwiftUI


SwiftUI list is very similar to UITableView in UIKit. In the first release of SwiftUI, Apple’s engineers already made creating list view construction a breeze. You do not need to create a prototype cell and there is no...

  • Simon Ng
  • 29th Jun '20
  • 0
  • Read More...
Read Article
SwiftUI
SwiftUI

Building Collection Views in SwiftUI with LazyVGrid and LazyHGrid


The initial release of SwiftUI didn’t come with a native collection view. You can either build your own solution or use third party libraries. In this year’s WWDC, Apple introduced tons of new features for the SwiftUI...

  • Simon Ng
  • 25th Jun '20
  • 0
  • Read More...
Read Article
iOS
iOS

How to Access Photo Library and Use Camera in SwiftUI


Earlier, we explored the use of UIViewRepresentable and show you how to integrate UITextView into a SwiftUI project. While you can use the UIViewRepresentable protocol to wrap a UIKit view, but how about a view controller? You...

  • Simon Ng
  • 11th Jun '20
  • 0
  • Read More...
Read Article
iOS
iOS

Creating a SwiftUI TextView Using UIViewRepresentable


I enjoy so much working with the SwiftUI framework. Like most new frameworks, however, one drawback is that it doesn’t come with all UI controls which are available in UIKit. For example, you can’t find a SwiftUI...

  • Simon Ng
  • 8th May '20
  • 0
  • Read More...
Read Article
iOS
iOS

SwiftUI Tip: How to Remove Line Separators in List View


The List view in SwiftUI is very similar to the table view in UIKit. It is also designed for developers to present a list of items row by row. By default, each row of data is separated by a line separator. In UIKit, you can...

  • Simon Ng
  • 4th May '20
  • 0
  • Read More...
Read Article
iOS
iOS

Building a Search Bar in SwiftUI


One recent question I got is about the implementation of search bar in SwiftUI projects. Unlike UIKit, SwiftUI doesn’t come with a built-in control for search bar. You may use the UIViewRepresentable protocol to reuse...

  • Simon Ng
  • 21st Apr '20
  • 0
  • Read More...
Read Article
iOS
iOS

Learn SwiftUI Using Swift Playgrounds for iPad and Mac


“I only have an iPad. Can I use it to develop iOS apps?” This is one of the most common questions for beginners. My answer is always “No, you need a Mac to run Xcode for iOS app development.” “But...

  • Simon Ng
  • 12th Mar '20
  • 0
  • Read More...
Read Article
iOS
iOS

Unable to Set Layout Constraint to Zero in Xcode 11.3


If you’ve upgraded to Xcode 11.3 and you use Interface Builder to create the app UI, you may find it impossible to set the value of spacing constraints to zero. Just open Interface Builder and click “Add new...

  • Simon Ng
  • 14th Feb '20
  • 0
  • Read More...
Read Article
iOS
iOS

Working with JSON and Codable in Swift 5


First, what’s JSON? JSON (short for JavaScript Object Notation) is a text-based, lightweight, and easy way for storing and exchanging data. It’s commonly used for representing structural data and data interchange in...

  • Simon Ng
  • 5th Feb '20
  • 0
  • Read More...
Read Article
SwiftUI
SwiftUI

Working with SwiftUI Gestures and @GestureState


If you’ve been programming with SwiftUI before, you probably got a taste of building gestures with SwiftUI. You use the onTapGesture modifier to handle a user’s touch and provide a corresponding response. In this...

  • Simon Ng
  • 11th Dec '19
  • 0
  • Read More...
Newer Posts
  • 1
  • 2
  • 3
  • 4
  • …
  • 13
Older Posts

Connect with Us


AppCoda

Our Course/Books


Swift Programming book for Beginners
Newer Posts
  • 1
  • 2
  • 3
  • 4
  • …
  • 13
Older Posts
AppCoda is one of the leading iOS programming communities. Our aim is to teach everyone how to build apps with high quality and easy-to-read tutorials. Learn by doing is the heart of our learning materials.

Meet AppCoda

About
Our Team
Write for Us
Advertise

Our Books

Beginning iOS 14 Programming with Swift
Written for beginners without any programming experience. Supports Xcode 12, Swift 5.3 and iOS 14.
Intermediate iOS 13 Programming with Swift
Written for developers with some iOS programming experience. The book uses a problem-solution approach to discuss the APIs and frameworks of iOS SDK.

Our Products

RSS App Template
Save you thousands of dollars. Simply plug your own RSS feeds and turn the Xcode template into a RSS reader or a Blog reader app.

Our Course

Beginning iOS 14 Programming with Swift
Learn how to code in Swift and build a real world app from scratch. Now supports Xcode 12, Swift 5.3 and iOS 14.

Copyright © AppCoda. 2021 • All rights reserved.

Terms of Service | Privacy Policy | RSS Feed | Contact Us

  • Twitter
  • Facebook
  • GitHub