Skip to content

Instantly share code, notes, and snippets.

@PattyAppier
PattyAppier / to_code_for_PinMap_byUsing_coordinate&location&name
Created April 21, 2018 12:39
PattysLucky7App-PattysMapViewController-0421_2018.md
```
// PattysMapViewController.swift
// PattysMapApp2018
// Created by sendbest on 2018/4/21.
// Copyright © 2018年 sendbest. All rights reserved.
import UIKit
import MapKit // 0421 to import framework.
class PattysMapViewController: UIViewController {
@PattyAppier
PattyAppier / code_for_2ndViewController_byUsing_methods_namedPrepare
Created April 21, 2018 13:25
PattysLucky7App-PattysMapViewController-0421_2018.md
```
// ViewController.swift
// PattysMapApp2018
// Created by sendbest on 2018/4/21.
import UIKit
import MapKit
class ViewController: PattysMapViewController {
@PattyAppier
PattyAppier / AppDelegate.swift
Created April 22, 2018 21:02
PattysLucky7MapApp-0420-2018.md
```
// AppDelegate.swift
// this is the system funtion code page of this app, it is used to override func for the superclass & protocol.
// PattysMapApp2018
// Created by sendbest on 2018/4/21.
// Copyright © 2018年 sendbest. All rights reserved.
import UIKit
import MapKit
@PattyAppier
PattyAppier / 2nd_Page_with_Map_Pin.swift
Created April 23, 2018 17:03
PattysLucky7MapApp-0423-2018.md
```
// ViewController.swift
// PattysMapApp2018
// Created by sendbest on 2018/4/21.
import UIKit
import MapKit
class ViewController: UIViewController {
@PattyAppier
PattyAppier / AppDelegate.swift
Created April 24, 2018 22:57
PattysLucky7App-0425-2018.md
```
// AppDelegate.swift
// PattysMapApp2018
// Created by sendbest on 2018/4/21.
// Copyright © 2018年 sendbest. All rights reserved.
import UIKit
import CoreLocation
import MapKit
@PattyAppier
PattyAppier / PattysMessageViewController.swift
Created April 26, 2018 06:48
PattysMessageAPP-0426_2018.md
// PattysMessageViewController.swift
// PattysMessageAPP2018 MessagesExtension
// Created by sendbest on 2018/4/26.
// Copyright © 4.26.2018 sendbest. All rights reserved.
import UIKit
import Messages
class PattysMessageViewController: MSMessagesAppViewController {
@PattyAppier
PattyAppier / Delegate_Code_Page.swift
Created April 27, 2018 06:56
Google_Map_import_to_iOS_Project
//Firebase and Cocoapod
import UIKit
import Firebase
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
@PattyAppier
PattyAppier / PattysActivity.java
Last active May 7, 2018 02:53
PattysCoolAdApp
package com.example.pattyshomemac.pattycooladapp;
import com.google.android.gms.ads.AdListener;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.InterstitialAd;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
@PattyAppier
PattyAppier / ViewController.swift
Created May 7, 2018 05:41
PattysCharmDriverApp_LogIn
```
// ViewController.swift
// PattysCharmDriver
// Created by Patty Chen on 5/4
// Copyright © 2018年 Patty Chen. All rights reserved.
import UIKit
import FirebaseAuth
```
// PassengersViewController.swift
// PattysCharmDriverApp
// Created by Patty Chen on 2018/5/07.
// Copyright © 2018年 Patty Chen. All rights reserved.
import UIKit
import MapKit