NOT ALL CODE IS MIT-LICENSED! FULLY READ README
Ifrit
Super lightweight lib for fuzzy searching.
Works on iOS / macOS / Linux / Android and more:

This repository is built upon the archived Fuse-Swift project by KRisk: https://github.com/krisk/fuse-swift
https://github.com/ukushu/Ifrit.git
git@github.com:ukushu/Ifrit.git
퍼지 검색이란?
퍼지 검색 알고리즘은 주어진 검색어에 대해 근사치 일치를 찾도록 설계되었습니다.
예를 들어, 상품 목록이 있고 사용자가 "Czy Swetr"를 찾는다고 가정해봅시다. 정확히 일치하는 항목은 없지만, 퍼지 검색은 "Cozy Sweater"를 찾아냅니다.
정확한 일치가 필요하다면 이 라이브러리 대신 표준 함수 .filter { }를 사용해야 합니다.
퍼지 검색 데모:
[![Ifrit 데모][1]][1]
Ifrit의 장점 / 단점
Advanteges:
+ Super lightweight
+ No dependencies
+ OS supported: MacOS(>=v10_15), iOS(>=v13), visionOS, watchOS, twOS, Linux
+ Async ( async/await + callbacks both )
+ Text highlight support (AttributedString)
+ Code covered with automated tests
+ Most of code licensed by "MIT License"
+ Can be linked as both Static and Dynamic package — choose what works best for youDisadvantages:
- Not tested in production
- FuzzyFind licensed by "Apache License, Version 2.0"
차이점: 이프리트 VS 퓨즈-스위프트?
- Fuze-Swift: Swift 5.1~
+ Ifrit: Swift 6.2 compatible+ Fuze-Swift support Pods and Packages :)
- Ifrit supports only Packages :(
- Fuze-Swift is dead :(
+ 🔥🔥🔥 Ifrit is Fuse-Swift, reborn from the hells ashes! But more powerful and alive than ever! 🔥🔥🔥 :)- Fuse-Swift supports asynchronous functions with callbacks but lacks native async/await support. :(
+ Ifrit supports callbacks and async/await both :)- Fuze-Swift have async/multithreading issues. Crashes is possible :(
+ Ifrit is stable and crash-free!- Fuse-Swift's async functions return incorrect results - wrong indexes. :((((
+ Ifrit's async functions return correct indexes and are fully covered with tests :)- Fuze-Swift was written for Xcode 11 and now generates numerous warnings :(
+ Ifrit's code is updated to the latest Swift standards of 2026 year :)
- But Ifrit still have a few build warnings :(
+ Ifrit - extended coverage with automated tests :)
+ Ifrit features an additional search system using the Levenshtein distance algorithm. :)
+ Ifrit allows searching by multiple search templates
+ Ifrit's syntax has been slightly adjusted for improved flexibility
+ Ifrit's sync search is 2% faster than Fuse's (using M1 processor and standard settings).
+ Async search performance remains the same as Fuse's (standard settings).+ Ifrit was ported to Kotlin programming language: https://github.com/dfabulich/skip-ifrit
설치
- XCode -> 메뉴 라인 -> 패키지 의존성 추가 ->
https://github.com/ukushu/Ifrit.git - 소스 파일에
import Ifrit추가.
문서 / 사용법 / 예제 프로젝트
Ifrit 저장소에는 예제 프로젝트가 없습니다. 아래 지침을 사용하세요:
기여
Ifrit는 GitHub 이슈 및 풀 리퀘스트 형식의 기여를 환영합니다.
[1]: https://i.sstatic.net/8MwFeAHT.gif
--- Tranlated By Open Ai Tx | Last indexed: 2026-04-26 ---