ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Fix Your UIKit App's BIGGEST Testing Problem Now

Автор: StemFoxIO

Загружено: 2025-10-20

Просмотров: 62

Описание: Initialize unit testing in Swift the RIGHT way. Learn how to 10x your UIKit tests through better isolation and dependency management.

Watch This Next:    • Testing  

Video Links
UIApplicationMain:
https://developer.apple.com/documenta...

UIApplicationDelegate:
https://developer.apple.com/documenta...

Code:

/// Main File:
import UIKit

let appDelegateClass: AnyClass = NSClassFromString("TestAppDelegate") ?? AppDelegate.self

UIApplicationMain(
CommandLine.argc,
CommandLine.unsafeArgv,
nil,
NSStringFromClass(appDelegateClass)
)

/// New Test ApplicationDelegate
import UIKit

@objc(TestAppDelegate)
class TestAppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) → Bool {
print("~", "Test App Delegate")
return true
}
}


Connect with me!
X: https://x.com/StemFoxIO

Question - Have you ever setup a testing app delegate? Answer in the comments!

Want to learn more? Here are some sources I've learned from. Plus, some purchases help the channel (Affiliate Links).

I love Big Mountain Studio's books. Detailed and image oriented. Check them out here https://www.bigmountainstudio.com/a/y...


⏰ Timecodes ⏰
Inset timecodes here:
00:00 - Intro
00:17 - UIApplicationDelegate
03:00 - Testing App Delegate
04:15 - Setting Up main
05:39 - Outro

#swift, #ios #development, #software, #swiftui, #UIKit
(Insert hashtags for your channel/video here)

About:
StemFoxIO posts videos to help you become a better, more efficient iOS developer.

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Fix Your UIKit App's BIGGEST Testing Problem Now

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Быстро находите утечки памяти с помощью тестирования Swift!

Быстро находите утечки памяти с помощью тестирования Swift!

SwiftUI Unit Testing Setup Made EASY

SwiftUI Unit Testing Setup Made EASY

Как начать работу с Codex Skill Manager

Как начать работу с Codex Skill Manager

30 команд Windows, без которых вы НЕ МОЖЕТЕ жить

30 команд Windows, без которых вы НЕ МОЖЕТЕ жить

Python vs Swift | Prime Reacts

Python vs Swift | Prime Reacts

10 сочетаний клавиш Xcode, которые вы ОБЯЗАТЕЛЬНО должны освоить.

10 сочетаний клавиш Xcode, которые вы ОБЯЗАТЕЛЬНО должны освоить.

OSINT для новичков: найдите всё о юзернейме и фото с Sherlock и Google Dorks!

OSINT для новичков: найдите всё о юзернейме и фото с Sherlock и Google Dorks!

How I Find Memory Leaks Fast With This Trick!

How I Find Memory Leaks Fast With This Trick!

Я перестал пользоваться Google Поиском! Почему вам тоже стоит это сделать.

Я перестал пользоваться Google Поиском! Почему вам тоже стоит это сделать.

3 Loop Tricks Every Coder Should Know! (Plus a bonus!)

3 Loop Tricks Every Coder Should Know! (Plus a bonus!)

Хватит кодить, пора начинать проектировать: Google Antigravity + Cloud Run

Хватит кодить, пора начинать проектировать: Google Antigravity + Cloud Run

5 Things I Wish I Knew Before Coding!

5 Things I Wish I Knew Before Coding!

Xcode Search Tricks You NEED to Know!

Xcode Search Tricks You NEED to Know!

Зачем Зеленскому война с Беларусью?

Зачем Зеленскому война с Беларусью?

Забудь VS Code — Вот Почему Все Переходят на Cursor AI

Забудь VS Code — Вот Почему Все Переходят на Cursor AI

The #1 Swift Technique That Will CHANGE Your Coding Style

The #1 Swift Technique That Will CHANGE Your Coding Style

Master SwiftUI ScrollViews in Under 10 Minutes

Master SwiftUI ScrollViews in Under 10 Minutes

Структура файлов и каталогов в Linux

Структура файлов и каталогов в Linux

ИИ создаёт iOS 27 | Claude Opus 4.5 vs Gemini 3 Pro

ИИ создаёт iOS 27 | Claude Opus 4.5 vs Gemini 3 Pro

Кто пишет код лучше всех? Сравнил GPT‑5.2, Opus 4.5, Sonnet 4.5, Gemini 3, Qwen 3 Max, Kimi, GLM

Кто пишет код лучше всех? Сравнил GPT‑5.2, Opus 4.5, Sonnet 4.5, Gemini 3, Qwen 3 Max, Kimi, GLM

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]