🏳️🌈
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default_platform(:ios) | |
platform :ios do | |
before_all do | |
setup_circle_ci | |
prepare_certificates | |
cocoapods | |
end | |
private_lane :prepare_certificates do |options| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
jobs: | |
build-and-test: | |
macos: | |
xcode: "9.3.0" | |
working_directory: ~/yourProyect | |
environment: | |
FASTLANE_LANE: all | |
shell: /bin/bash --login | |
steps: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Swift 3.2 update for Image Crop Out Transparent Pixels | |
Original gist https://gist.github.com/gregpardo/b69c6cdbec8276df19b9 | |
*/ | |
extension UIImage { | |
func imageByCroppingTransparentPixels() -> UIImage? { |