Works on M1 macs and Ventura too
Download https://support.apple.com/kb/dl905?locale=en_US It won't let you install with warning:
This volume does not meet the requirements for this update.
import { Project } from 'ts-morph'; | |
import ejs from 'ejs'; | |
import type { Type, ts } from 'ts-morph'; | |
import fs from 'fs'; | |
const project = new Project(); | |
let tamagui_root = "../tamagui"; | |
project.addSourceFileAtPath(`${tamagui_root}/node_modules/@types/react/index.d.ts`); |
/* eslint-disable react-native/no-inline-styles */ | |
import React, { | |
Component, | |
useRef, | |
useImperativeHandle, | |
forwardRef, | |
} from 'react'; | |
import { View, Button, Text } from 'react-native'; | |
class ComponentC extends React.Component<{ name: string }> { |
Works on M1 macs and Ventura too
Download https://support.apple.com/kb/dl905?locale=en_US It won't let you install with warning:
This volume does not meet the requirements for this update.
import UIKit | |
import Mapbox | |
class ViewController: UIViewController, MGLMapViewDelegate { | |
var mapView : MGLMapView! | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
// Do any additional setup after loading the view. | |
createUI() |
import React from 'react'; | |
import MapboxGL from '@react-native-mapbox-gl/maps'; | |
import {Platform, SafeAreaView, StyleSheet, View} from 'react-native'; | |
import {point, lineString as makeLineString} from '@turf/helpers'; | |
//import Svg, {Path} from 'react-native-svg'; | |
// const MAPBOX_GL_ACCESS_TOKEN = 'CHANGE_ME'; | |
const ROUTE_POINTS = [ | |
{ |
``` | |
2020-04-02 11:21:15.798 10842-10842/? I/mapboxglexampl: Not late-enabling -Xcheck:jni (already on) | |
2020-04-02 11:21:15.855 10842-10842/? I/mapboxglexampl: Unquickening 13 vdex files! | |
2020-04-02 11:21:15.860 10842-10842/? W/mapboxglexampl: Unexpected CPU variant for X86 using defaults: x86 | |
2020-04-02 11:21:16.447 10842-10842/com.rnmapboxglexample I/mapboxglexampl: The ClassLoaderContext is a special shared library. | |
2020-04-02 11:21:17.211 10842-10842/com.rnmapboxglexample D/NetworkSecurityConfig: No Network Security Config specified, using platform default | |
2020-04-02 11:21:17.212 10842-10842/com.rnmapboxglexample D/NetworkSecurityConfig: No Network Security Config specified, using platform default | |
2020-04-02 11:21:17.474 10842-10842/com.rnmapboxglexample D/SoLoader: init start | |
2020-04-02 11:21:17.478 10842-10842/com.rnmapboxglexample D/SoLoader: adding system library source: /vendor/lib |
class RouteCoordinatesArray extends Animated.CoordinatesArray { | |
newCoordAnimator(config, origCoords) { | |
const {along} = config; | |
return { | |
dist: along[0], | |
distconf: along[1], | |
calculate(progress, coords) { | |
const currentDist = progress * this.dist; |
this.state = { | |
... | |
coordinates: new MapboxGL.AnimatedCoordinateArray([[lon + delta, lat], [lon, lat], [lon, lat + delta]]) | |
... | |
} | |
... | |
this.state.coordinates | |
.timing({ |
export class AnimatedLineString2 extends AnimatedWithChildren { | |
constructor(line) { | |
super(); | |
this.coordinates = line.coordinates.map(coord => [...coord]); | |
} | |
// eslint-disable-next-line class-methods-use-this | |
_onAnimationDone(animation, doneCB) { | |
return new Proxy(animation, { |
# frozen_string_literal: true | |
begin | |
require "bundler/inline" | |
rescue LoadError => e | |
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler" | |
raise e | |
end | |
gemfile(true) do |