Skip to main content

Programming English Vocabulary Collection

Β· 2 min read
  1. demonstrate

    • Example: This tutorial no longer ==demonstrates== current SwiftUI or Xcode practices.
    • Meaning: to show or illustrate something; to demonstrate
  1. prevent

    • Example: This option will ==prevent== Shadowrocket from being set as the default route.
    • Meaning: to stop something from happening; to block
  2. modifier

    • Example: A new ==modifier== creates a new view based on the original one.
    • Meaning: (in SwiftUI) a method that transforms or configures a view
  3. components

    • Example: One of the most common and recognizable user interface ==components== is the combination of an icon and a label.
    • Meaning: individual parts or elements that make up a larger system; components
  4. idiom

    • Example: This ==idiom== appears across many kinds of apps and shows up in collections, lists, menus of action items, and disclosable lists, just to name a few.
    • Meaning: a common pattern or convention in UI/programming; an established way of doing something
  5. just to name a few

    • Example: This idiom appears across many kinds of apps and shows up in collections, lists, menus of action items, and disclosable lists, ==just to name a few==.
    • Meaning: used to indicate that only a small number of examples are being given; "among others"
  6. interface

    • Example: You create the user ==interface==, or UI, for your app inside the body; the entire contents of your app are in the code below.
    • Meaning: the visual layer of an application that users interact with; user interface (UI)
// NOTE: - Demo code
import SwiftUI

struct ContentView: View {
var body: some View {
VStack {
Image(systemName: "globe")
.imageScale(.large)
.foregroundColor(.tint)

Text("Hello World")
}
}
}

#Preview {
ContentView()
}
  1. instance

    • Example: To construct your narrative, the app needs an ==instance== of Story, which takes an array of StoryPage instances.
    • Meaning: a specific occurrence of an object created from a class or struct
  2. hold

    • Example: The text property ==holds== a String that describes the choice readers can make.
    • Meaning: to store or contain a value; to hold
  3. present

    • Example: Use a navigation stack to ==present== a stack of views over a root view.
    • Meaning: to display or show a view on screen
  4. indicates

    • Example: A value-destination ==indicates== that you are pushing a value onto the path.
    • Meaning: to signal or show that something is the case; to indicate