Files
burstein cb495c9ab6 Revert: Fixed indicator state updates after configuration with same blocks
commit_hash:b079714e09f542aa203d802a3ac76442b2e2d683
2025-04-17 16:49:07 +03:00
..
2025-04-16 13:21:39 +03:00
2025-02-04 18:01:54 +03:00
2025-04-14 13:11:58 +03:00
2024-12-20 10:22:19 +03:00
2025-02-13 09:38:06 +03:00
2025-02-13 09:38:06 +03:00
2023-08-29 18:08:07 +03:00
2025-02-21 12:11:43 +03:00
2024-03-06 23:08:41 +03:00

DivKit for iOS client library

SwiftPM CocoaPods Size

How it works

DivKit builds native views from JSON data.

JSON → DivData → DivView

  • JSON raw data with templates in DivKit format (see DivKit schema).

  • DivKitComponents DivView dependencies.

  • DivView - plain UIKit View.

Although DivKit produces UIKit views, it can be easyly used in SwiftUI apps (see playground application).

Installing DivKit

DivKit supports Swift Package Manager and CocoaPods.

Use this repository to install DivKit using Swift Package Manager: https://github.com/divkit/divkit-ios.git.

Add DivKit pod into your application Podfile to install DivKit using CocoaPods:

source 'https://github.com/divkit/divkit-ios.git'

target 'MyApp' do
  pod 'DivKit'
end

DivKit Project

DivKit.xcodeproj main Xcode project that contains all DivKit modules, tests and playground application.

Use DivKitPlayground scheme to build and run playground application.

Use UnitTests sheme to run all unit tests.

Use SnapshotTests scheme to run snapshot tests.

Sample Project

Sample/DivKitSample.xcodeproj sample project with simple DivKit integration using Swift Package Manager.


Documentation. Medium tutorial. Habr tutorial.

Telegram: News | English-speaking chat | Чат на русском.