Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing Mode

Do Trinh dotrinhdev

🎯
Focusing Mode
View GitHub Profile
View Rename XCode Project
# Step 1 - Rename the project
Click on the project you want to rename in the "Project navigator" in the left panel of the Xcode window.
In the right panel, select the "File inspector", and the name of your project should be
found under "Identity and Type". Change it to your new name.
When the dialog asks whether to rename or not rename the project's content items,
click "Rename". Say yes to any warning about uncommitted changes.
# Step 2 - Rename the scheme
At the top of the window, next to the "Stop" button, there is a scheme for your product
under its old name; click on it, then choose "Manage Schemes…".
@dotrinhdev
dotrinhdev / ZoomLayout.java
Created Feb 19, 2019 — forked from anorth/ZoomLayout.java
Pinch-zoomable Android frame layout
View ZoomLayout.java
package au.id.alexn;
import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.view.ScaleGestureDetector;
import android.view.View;
import android.widget.FrameLayout;
You can’t perform that action at this time.