![38% of CISOs Fear They’re Not Moving Fast Enough on AI](https://cdn.sanity.io/images/cgdhsj6q/production/faa0bc28df98f791e11263f8239b34207f84b86f-1024x1024.webp?w=400&fit=max&auto=format)
Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
github.com/gradients/gradients
🌔 A curated collection of 180 splendid gradients made in swift
180 splendid Gradients inspired by itmeo/webgradients View all the gradients here »
view.layer.addSubLayer(Gradients.deepBlue.layer)
public enum Gradients: Int, CaseIterable {
case warmFlame = 1
case nightFade
case springWarmth
case juicyPeach
//...
case fabledSunset
case perfectBlue
}
public enum Direction {
case top
case left
case right
case bottom
case degree(CGFloat)
}
// degree for radian direction supported
let customLayer = Gradients.linear(to: .degree(-225), colors: [0x231557, 0x44107A, 0xFF1361, 0xFFF800], locations: [0.0, 0.29, 0.67, 1.0]) // Fabled Sunset
view.layer.addSubLayer(customLayer)
Gradients is written in Xcode 10, Swift 4+, iOS 9.0+ Required
Gradients is available through Swift Package Manager, Cocoapods or Carthage
dependencies: [
.package(url: "https://github.com/Gradients/Gradients.git", .upToNextMajor(from: "0.3.1"))
]
pod "Gradients"
github "cruisediary/Gradients" ~> 0.3.1
Pull requests are always welcomed 🏄🏼
cruz, cruzdiary@gmail.com
Gradients is available under the MIT license. See the LICENSE file for more info.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.