Giter VIP home page Giter VIP logo

daidebuglog's Introduction

DaiDebugLog

開發者與工作夥伴的溝通利器!

image

DaidoujiChen

[email protected]

總覽

FLEX 很強大, 但是過多的資訊只有 app 開發者知道其中的含意與使用規則, 所以我想建立一個工具, 可以幫助我們, 快速, 且明確的讓與我們合作的其他夥伴, 也可以輕鬆的得到他們想要的資訊,

* 從 Demo 的圖片中, 我大概記錄下幾件事情
	1. app 回報給 GA / Flurry 的訊息 for 分析專長
	2. 記錄 app request / responder 的內容 for 後端
	3. 點擊 view 時, 可以知道他的大小, 與邊界的距離 for UI / UX

簡易使用

將包含 Core / Utility 的資料夾 DaiDebugLog copy 到你的專案中, 然後在 application:didFinishLaunchingWithOptions: 裡面調用 [DaiDebugLog show];, 就可以將主要功能顯示在畫面上, 前後加上 #if DEBUG 確保我們只在 DEBUG 時使用他

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
#if DEBUG
	[DaiDebugLog show];
#endif
}

添加 LOG

非常的簡單, 就調用 [DaiDebugLog addLog:]; 即可

#if DEBUG
	[DaiDebugLog addLog:@"Hahaha"];
#endif

Todo

  • 任意選擇兩個 view, 計算他們的間距與相關訊息
  • 如果點擊的是 view 是有字型內容的, 顯示他所內含的資訊

daidebuglog's People

Contributors

daidoujichen avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.