Skip to content

Instantly share code, notes, and snippets.

View trinadhkoya9's full-sized avatar
🎯
Focusing

Trinadh Koya trinadhkoya9

🎯
Focusing
View GitHub Profile
@trinadhkoya9
trinadhkoya9 / xcode-build-bump.sh
Created August 26, 2019 08:11 — forked from sekati/xcode-build-bump.sh
Xcode Auto-increment Build & Version Numbers
# xcode-build-bump.sh
# @desc Auto-increment the build number every time the project is run.
# @usage
# 1. Select: your Target in Xcode
# 2. Select: Build Phases Tab
# 3. Select: Add Build Phase -> Add Run Script
# 4. Paste code below in to new "Run Script" section
# 5. Drag the "Run Script" below "Link Binaries With Libraries"
# 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0)
@trinadhkoya9
trinadhkoya9 / Text.js
Created February 19, 2019 03:30 — forked from mdvacca/Text.js
Custom ReactNative Text component that handles lineHeight correctly in Android.
/**
* Custom Text that handles lineHeight correctly in Android
* @flow
*/
'use strict';
import React from 'react';
import RN, { StyleSheet, Dimensions, Platform } from 'react-native';
type Props = any;
@trinadhkoya9
trinadhkoya9 / contactListMultipleSelection.js
Last active January 24, 2019 12:54 — forked from olusola/contactListMultipleSelection.js
React Native Contact List multiple selection using flatlist and checkbox component. Similar Snapchat's screen
import React, {Component} from 'react';
import {Alert, FlatList, StyleSheet, Text, TextInput, TouchableOpacity, View} from 'react-native';
import Icon from 'react-native-vector-icons/Ionicons';
import Contacts from 'react-native-contacts';
import {List, ListItem} from 'react-native-elements';
export default class ContactList extends Component {
constructor(props) {
super(props)