Skip to content

Instantly share code, notes, and snippets.

View oscarito9410's full-sized avatar
🏠
Working from home

OSCAR EMILIO PÉREZ MARTÍNEZ oscarito9410

🏠
Working from home
  • Mexico City
View GitHub Profile
@lucascorrea
lucascorrea / Fastfile
Last active June 13, 2021 20:13
Fastfile to use with SonarQube - Coverage | Swift 4.1
require 'fileutils'
default_platform(:ios)
platform :ios do
before_all do
if !File.exists? "../DerivedData"
Dir.mkdir "../DerivedData"
end
@julianfalcionelli
julianfalcionelli / RxErrorHandlingCallAdapterFactory.java
Last active June 21, 2022 08:55
Rx Error Handling for Retrofit2
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import io.reactivex.Completable;
import io.reactivex.Observable;
import io.reactivex.ObservableSource;
import io.reactivex.Single;
import io.reactivex.SingleSource;
import io.reactivex.annotations.NonNull;
@speaktoalvin
speaktoalvin / IAPHelper.txt
Last active April 29, 2021 04:07
In App Purchase in Swift, with Receipt Validation
import UIKit
import StoreKit
//MARK: SKProductsRequestDelegate
extension IAPHelpers : SKProductsRequestDelegate
{
func productsRequest(request: SKProductsRequest, didReceiveResponse response: SKProductsResponse)
{