Skip to content

Instantly share code, notes, and snippets.

View FabiolaRamirez's full-sized avatar

Fabiola Ramírez FabiolaRamirez

  • Bolivia - La Paz
View GitHub Profile
https://jsonmock.hackerrank.com/api/movies/search/?Title=substring
{
"page": 1,
"per_page": 10,
"total": 0,
"total_pages": 0,
"data": []
}
//swift 3.0.2
import Foundation;
class Solution
{
/**
* @param {[][]String} travel_time
* @param {[][]String} points
* @param {String} start_token
* @return {total, [] = path}
*/
func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
let photo = photos[indexPath.row]
print("photogg:\(photo)")
showPhotoDetail(photo: photo)
}
func showPhotoDetail(photo: Photo) {
let vc: GalleryDetailViewController = UIViewController.instantiateViewController(storyBoard: "Gallery", identifier: "galleryDetailViewController") as! GalleryDetailViewController
vc.photo = photo
self.navigationController?.pushViewController(vc, animated: false)
//
// Service.swift
// Gallery
//
// Created by Fabiola Ramirez on 3/23/20.
// Copyright © 2020 Fabiola Ramirez. All rights reserved.
//
import Foundation
import UIKit
// EL METODO DEL FOOTER QUE TIENE TODO
func configureFooter() {
if currentTab == .personalLoans || (CreditSesameRestClient.shared.canShowCreditCardsFilter && TestingManager.shared.newCCFilteringVariation == Variations.variation) {
tableView.tableFooterView = nil
return
}
let offersFooterView = UIView.loadNib("OffersFooterView")
//
// BestOffersViewController.swift
// finance
//
// Created by David Yanez on 4/2/18.
// Copyright © 2018 creditsesame. All rights reserved.
//
import UIKit
import SnapKit
// Created by dpd Ghimire (dip kasyap) on 8/18/17.
// Copyright © 2017 dip. dpd.ghimire@gmail.com All rights reserved.
//
/*
Copyright (c) <2017> <dpd Ghimire>
Permission is hereby granted, free of charge, to any person obtaining a copy
import UIKit
class DGItem:UIButton {
var selectedColor:UIColor = UIColor.creditSesameCyan {
didSet {
self.backgroundColor = selectedColor
}
//
// BestOffersViewController.swift
// finance
//
// Created by David Yanez on 4/2/18.
// Copyright © 2018 creditsesame. All rights reserved.
//
import UIKit
import SnapKit
//
// OffersViewController.swift
// finance
//
// Created by David Yanez on 4/4/18.
// Copyright © 2018 creditsesame. All rights reserved.
//
import UIKit