Newly
Newly is a drop in solution to add Twitter/Facebook/Linkedin style, new updates/tweets/posts available button. It can be used to notify user about new content availability and can other actions can be triggers using its delegate method.
Install / Use
/learn @dhirajjadhao/NewlyREADME
<a href="https://developer.apple.com/swift"><img src="https://img.shields.io/badge/swift3-compatible-4BC51D.svg?style=flat" alt="Swift 3 compatible" /></a>
<a href="https://raw.githubusercontent.com/xmartlabs/Eureka/master/LICENSE"><img src="http://img.shields.io/badge/license-MIT-blue.svg?style=flat" alt="License: MIT" /></a>
Newly is a drop in solution to add Twitter/Facebook/Linkedin style, new updates/tweets/posts available button. It can be used to notify user about new content availability and can other actions can be triggers using its delegate method.

Android Version of Newly:
<a href="https://github.com/Auto-Droid/Newly"> <img src="https://github.com/ramotion/navigation-stack/raw/master/Android_Java@2x.png" width="178" height="81"></a>- Contributed by Sourabh Karkal
Requirements
- iOS 9.0+
- Xcode 8.0+
- Swift 3.0+
Installation
CocoaPods
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
CocoaPods 1.1.0+ is required to build Newly.
To integrate Newly into your Xcode project using CocoaPods, specify it in your Podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
target '<Your Target Name>' do
pod 'Newly'
end
Then, run the following command:
$ pod install
Usage
Showing Newly
import Newly
let newly = Newly()
newly.showUpdate(message: "↑ New Tweets")

Hiding Newly
Use this if you want to manually hide Newly. By default Newly will hide on touch.
newly.hideUpdate()
On Click Updates
You can use Newly delegate to get its on click update.
You can set delegate in your ViewDidLoad method.
newly.delegate = self
And then add extension for NewlyDelegate
extension ViewController:NewlyDelegate{
func newlyDidTapped() {
// Your custom code to trigger other actions once Newly is touched.
}
}
Appearance Customization
You can customize appearance of Newly using following properties.
newly.backgroundColor = UIColor(colorLiteralRed: 0, green: 153.0/255.0, blue: 229.0/255.0, alpha: 1.0)
This will set the background colour for Newly.
newly.textColor = UIColor.white
This will set the text colour for Newly.
newly.heightOffset = 78.0
This will set the height from top of the screen at which Newly will be displayed.
newly.animationInterval = 1.0
This is will the animation time interval to show and hide Newly.
newly.hideOnTouch = true
Whether Newly should auto hide on touch.
newly.isUpdateVisible = false
Whether Newly is currenly visible.
Related Skills
qqbot-channel
350.8kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
100.5k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
350.8kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
ddd
Guía de Principios DDD para el Proyecto > 📚 Documento Complementario : Este documento define los principios y reglas de DDD. Para ver templates de código, ejemplos detallados y guías paso
