kotlin
package com.example.myapp.ui.detail

import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel

MVVM architecture with ViewModel and LiveData

kotlin android mvvm
by Alex Chen 1 tab
kotlin
package com.example.myapp.data

import kotlinx.coroutines.*
import kotlinx.coroutines.flow.*
import retrofit2.http.GET
import retrofit2.http.POST

Kotlin coroutines for async operations

kotlin coroutines async
by Alex Chen 2 tabs
kotlin
package com.example.myapp

import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.*

Jetpack Compose declarative UI fundamentals

kotlin android jetpack-compose
by Alex Chen 1 tab
swift
import AuthenticationServices
import CryptoKit

class SignInWithAppleManager: NSObject, ObservableObject {
    @Published var isSignedIn = false
    @Published var userID: String?

Sign in with Apple authentication

swift sign-in-apple authentication
by Sofia Martinez 1 tab
swift
import SwiftUI

// MARK: - Semantic Colors in SwiftUI
struct AdaptiveColorsView: View {
    var body: some View {
        VStack(spacing: 20) {

Dark mode support and adaptive colors

swift dark-mode colors
by Sofia Martinez 1 tab
swift
import UIKit

class HapticFeedbackManager {
    static let shared = HapticFeedbackManager()

    private let impactLight = UIImpactFeedbackGenerator(style: .light)

Haptic feedback with UIFeedbackGenerator

swift haptics feedback
by Sofia Martinez 1 tab
swift
import UserNotifications
import CoreLocation

class LocalNotificationManager {
    static let shared = LocalNotificationManager()

Local notifications scheduling

swift notifications local
by Sofia Martinez 1 tab
swift
import UIKit
import WebKit

class WebViewController: UIViewController {
    private var webView: WKWebView!
    private var progressView: UIProgressView!

WKWebView for web content display

swift wkwebview webkit
by Sofia Martinez 1 tab
swift
import StoreKit

class StoreKitManager: NSObject, ObservableObject {
    static let shared = StoreKitManager()

    @Published var products: [SKProduct] = []

StoreKit for in-app purchases

swift storekit iap
by Sofia Martinez 1 tab
swift
import Foundation
import UIKit

// MARK: - Memory Leak Prevention
class ImageDownloader {
    private var tasks: [URL: URLSessionDataTask] = [:]

Instruments and performance profiling

ios performance profiling
by Sofia Martinez 1 tab
swift
import CloudKit
import Combine

class CloudKitManager: ObservableObject {
    static let shared = CloudKitManager()

CloudKit for iCloud sync

swift cloudkit icloud
by Sofia Martinez 1 tab
swift
import WidgetKit
import SwiftUI

struct SimpleEntry: TimelineEntry {
    let date: Date
    let count: Int

iOS app extensions - widgets and share

swift ios extensions
by Sofia Martinez 2 tabs