Saltar al contenido ForoHackers

iOS: start here

iOS
#3163 · · Citar · Denunciar

iOS is the operating system of the iPhone, and the same platform family runs on tablets and other devices. Apps are written mainly in Swift, run in a strict sandbox, and are distributed through a curated store. Its tightly integrated hardware and software gives a consistent experience, and a platform with firm rules about what an app may do.

Key concepts

  • App lifecycle: an app moves between active, inactive, background and suspended states, and the system may end it.
  • Declarative interface: describe the screen as a function of state and let the framework update it.
  • Sandbox and entitlements: apps are isolated, and each capability, such as location or the camera, needs a declared reason and consent.
  • Memory management: automatic reference counting frees objects, so reference cycles are your job to break.
  • Signing and distribution: every app is signed, and development, testing and release use different profiles.

Vocabulary

  • Xcode: the standard development environment of the platform.
  • Simulator: a program that runs the platform on a computer for testing.
  • Delegate: an object that receives callbacks on behalf of another.
  • Bundle: the folder that contains an app, its resources and its metadata.

What to study, in order

  1. Learn Swift: optionals, value types and reference types, closures, protocols.
  2. Build a one-screen app and run it in the simulator and, when you can, on a device.
  3. Add navigation, a list fed by a network request, and local storage.
  4. Study the lifecycle and concurrency: what runs on the main thread and what must not.
  5. Read the platform's human interface guidelines and compare an app that follows them with one that does not.

Related tags

#swift #mobile-security #interface-design #cross-platform

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder