Skip to content

Instantly share code, notes, and snippets.

@saish98
saish98 / .zshrc
Last active April 12, 2023 11:15
Setup New Macbook Pro
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="robbyrussell"
# Uncomment one of the following lines to change the auto-update behavior
@saish98
saish98 / Kingfisher+Svg.swift
Created June 24, 2022 07:39
Svg image download from url
//
// Kingfisher+Svg.swift
// Created by Saish Chachad on 23/06/22.
//
import UIKit
import Kingfisher
import PocketSVG
@a7v8x
a7v8x / graphql_introspection_query.graphql
Last active November 5, 2023 12:36
GraphQL introspection query - for fetching the whole schema (from GraphiQL IDE) for https://atheros.ai/blog/graphql-introspection-and-introspection-queries
query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
types {
...FullType
}
directives {
name
description
@saish98
saish98 / kvcDemo.md
Last active August 29, 2015 14:27 — forked from TonnyXu/kvcDemo.md
using KVC on collection objects like NSArray and NSDictionary.

KVCを使えば、このようなコードが自動的に値を計算してくれる。

KVC with special keyPath is really powerful for collection objects like NSArray and NSDictionary and NSSet

AppleのDocを見る

@max, @min, @sum, @avg

Sample 1 : One of the element in the array does not contain height property

@iraycd
iraycd / xib-storyboard.md
Last active January 26, 2022 07:46
Storyboard Vs XIB

It is not to tell which one is the best. because which one is good to tell based on team requirement.

if your team have single developer its good for storyboard working less consumption time.either more number of developers use xib because it is not easily to merging the module/tasks

[xcode-using-storyboards-and-xibs-versus-creating-views-programmatically][1]

#Using XIBs

Advantages: