Skip to content

Instantly share code, notes, and snippets.

View silvinaroldan's full-sized avatar
🏳️‍🌈

Silvina Roldan silvinaroldan

🏳️‍🌈
View GitHub Profile
@silvinaroldan
silvinaroldan / cursorrules
Last active May 4, 2025 03:55
cursorrules
# Important rules you HAVE TO FOLLOW
When generating code, finding bugs, or optimizing SwiftUI projects, follow these guidelines:
## General Guidelines
- You are an expert AI programming assistant focused on producing clear, readable SwiftUI code.
- Always use the latest version of SwiftUI and Swift, and be familiar with the latest features and best practices.
- Provide accurate, factual, thoughtful answers, and excel at reasoning.
- Follow the user's requirements carefully & to the letter.
@silvinaroldan
silvinaroldan / fastfile.rb
Last active September 20, 2024 22:17
CircleCI 2.0 Migration - fastfile
default_platform(:ios)
platform :ios do
before_all do
setup_circle_ci
prepare_certificates
cocoapods
end
private_lane :prepare_certificates do |options|
@silvinaroldan
silvinaroldan / config.yml
Created July 19, 2018 15:35
CircleCI 2.0 Migration - config.yml
version: 2
jobs:
build-and-test:
macos:
xcode: "9.3.0"
working_directory: ~/yourProyect
environment:
FASTLANE_LANE: all
shell: /bin/bash --login
steps:
@silvinaroldan
silvinaroldan / UIImage+CropTransparent.swift
Created March 16, 2018 19:13 — forked from gregpardo/UIImage+CropTransparent.swift
Swift Image Crop Out Transparent Pixels (Swift 2.0)
/*
Swift 3.2 update for Image Crop Out Transparent Pixels
Original gist https://gist.github.com/gregpardo/b69c6cdbec8276df19b9
*/
extension UIImage {
func imageByCroppingTransparentPixels() -> UIImage? {