Tremolo
An iOS Networking framework for handling recoverable network calls.
Install / Use
/learn @ismailbozk/TremoloREADME
Tremolo
Idea
Tremolo is an iOS Networking framework. It's designed to prepare URLRequests and manage failed/recoverable network requests in a structured way.
Use cases
- Validate and Prepare URLRequests before triggering them.
- Sometimes URLRequests needs to have some valid information like correct session token. Such as refreshing the token via another network call and insert it into the URLRequest.
- Sign in the user before triggering the URLRequest if the api requires users to sign in before for the actual endpoint.
- Recover from the errors retrieved from server;
- 401 Authentication errors. Such as expired or invalid session token.
- Password expired or user changed the password recently. Ask user to put new password and continue when the password retrieved from user.
- etc.
Please refer to the sample unit test for some use case examples.
Requirements
Installation
Tremolo is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'Tremolo'
Author
Ismail Bozkurt, ismailbozk@gmail.com LinkedIn
License
Tremolo is available under the MIT license. See the LICENSE file for more info.
Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
