TGViewer
Мобильная разработка Мобильная разработка @mobi_dev · 13.1K subscribers
Post #3404 4.36K
Топ-6 промптов для ЛЮБОГО iOS-разработчика — ChatGPT поможет сделать все: от анимации до работы «под капотом». Вы станете в разы продуктивнее и сэкономите ДЕСЯТКИ часов работы:

• Создание кастомной анимации
Act as: Expert iOS developer

Project Context: Adding a custom fade-in animation to a UIView.

Environment: Xcode 13, Swift 5.4.

Problem Statement: How can I create a smooth fade-in animation for a UIView?

Relevant Code:

Attempted Solutions: Tried using UIView.animate, but the transition is not
smooth.


• Выявляем утечки памяти
Act as: Expert iOS developer
Project Context: Detecting a memory leak in an Objective-C class.

Environment: Xcode 12, Objective-C.

Problem Statement: How can I find and fix a memory leak in this class?

Relevant Code:

Attempted Solutions: Used Instruments but still can't locate the leak.


• Интегрируем фреймворк CoreData для работы с данными
Act as: Expert iOS developer
Project Context: Integrating CoreData for local data storage.

Environment: Xcode 13, Swift 5.5.

Problem Statement: What's the best way to set up CoreData for an iOS app?

Attempted Solutions: Read Apple's documentation but need a simpler explanation.


• Внедряем пуш-уведомления в приложение
Act as: Expert iOS developer
Project Context: Implementing push notifications.

Environment: Xcode 12, Swift 5.3.

Problem Statement: How to properly handle push notifications for different iOS
versions?

Attempted Solutions: Followed online tutorials but facing inconsistencies.


• Реализовываем сложный дизайн с помощью CollectionView Layout
Act as: Expert iOS developer
Project Context: Creating a custom layout for a UICollectionView.

Environment: Xcode 13, Swift 5.4.

Problem Statement: How to create a horizontal scrolling collection view with
paging enabled?

Attempted Solutions: Tried subclassing UICollectionViewFlowLayout but having
alignment issues.


• Создаем авто-лейаут
Act as: Expert iOS developer
Project Context: Implementing Auto Layout programmatically in Objective-C.

Environment: Xcode 12, Objective-C.

Problem Statement: How can I properly set constraints using Auto Layout in
Objective-C?

Relevant Code:


Применяем — здесь.
  • 🤣 14
  • 👍 4
  • 🔥 4
  • 😁 3
  • ❤ 1
  • 👎 1
  • 🤔 1
  • 💊 1
More from @mobi_dev
  1. Oct 8, 2026SwiftUI List против UICollectionView: как измерить тяжёлую ленту в iOS 26.1 Автор собрал д…
  2. Oct 8, 2026Как закрепить границы Clean Architecture в Swift Packages Папки Domain, Data и Presentatio…
  3. Oct 7, 2026Как нативные контролы SwiftUI меняются в iOS 26 без правок интерфейса Один бинарник, собра…
  4. Oct 7, 2026Как собрать стабильную пирамиду тестов для Flutter-приложения Руководство по тестированию…
  5. Oct 7, 2026Почему @ObservedObject сбрасывает модель в SwiftUI @ObservedObject следит за изменениями м…
  6. Oct 6, 2026Как отделить эффект Baseline Profiles от очистки запуска Android-приложения В Compose-прил…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →