Skip to content

Instantly share code, notes, and snippets.

View ngtrphuong's full-sized avatar

Phương Nguyễn ngtrphuong

  • HCM - Viet Nam
View GitHub Profile
@ngtrphuong
ngtrphuong / Carthage2Cocoapods.md
Created September 10, 2021 03:08 — forked from thesailordev/Carthage2Cocoapods.md
Convert a Carthage Dependency-Managed Project to Cocoapods

Carthage to Cocoapods

We recently had the need to align our frameworks to one dependency management system. Previously we were using Carthage and Cocoapods (or both) amongst different frameworks. The burden of supporting both platforms coupled with long build times on our CI/CD drew us away from Carthage. During this conversion I encountered several "gotcha" moments in our Xcode projects that I want to share with others who might be doing the same thing to get you to a clean Cocoapod based build.

Assumptions

  • You have a working knowledge of Carthage and Cocoapods
  • You have a working knowledge of Xcode project settings
@ngtrphuong
ngtrphuong / TestSwipe.robot
Created September 6, 2021 04:02 — forked from semutmerah/TestSwipe.robot
Demo Scroll Down / Scroll Up using Swipe keyword in Robot Framework
*** Settings ***
Library AppiumLibrary 15 run_on_failure=Log Source
Library Process
Suite Setup Spawn Appium Server
Suite Teardown Close Appium Server
Test Teardown Close Application
*** Variables ***
## Go here to download the apk for the app used in this test -> https://drive.google.com/file/d/19FxLjux8ZtumweXzBA_CYrL0Va-BL4gY/view?usp=sharing
@ngtrphuong
ngtrphuong / main.dart
Created August 24, 2021 10:32
DropDownSearch with border in popupitems display
import 'package:dio/dio.dart';
import 'package:dropdown_search/dropdown_search.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'user_model.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {