Skip to content

Instantly share code, notes, and snippets.

@chourobin
chourobin / 0-bridging-react-native-cheatsheet.md
Last active June 16, 2024 11:03
React Native Bridging Cheatsheet
/*
* Matrix.swift
* Created by Michael Michailidis on 16/11/2016.
* http://blog.karmadust.com/
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@zyrx
zyrx / CopyableLabel.swift
Last active March 11, 2020 14:21
Make UILabel Copyable in Swift 3. Special thanks to Stephen Radford and his "Make UILabel Copyable in Swift" article http://stephenradford.me/make-uilabel-copyable/
//
// CopyableLabel.swift
//
// Created by Lech H. Conde on 01/11/16.
// Copyright © 2016 Mavels Software & Consulting. All rights reserved.
//
import UIKit
class CopyableLabel: UILabel {