29

2016年4月10日 星期日

Swift passing data between two ViewControllers (protocol + delegate)

›
1. First view controller import UIKit class ViewController: UIViewController , mydelegate {     @IBOutlet weak var txtf...
2016年1月21日 星期四

[Android] Passing ArrayList through Intent

›
In your object public class Product implements Serializable {     private int pid;    /*... setter and getter */ } ----------------...
2015年11月21日 星期六

[Android] ContextCompat without getColor method

›
由於Android舊有的功能 getResources().getColor() 已經被棄用,新的 API 23 新增了ContextCompat.getColor() ,以取代舊有功能。 但本人發現,以往的Project當使用ContextCompat類別...
2015年11月17日 星期二

[Java] HeapSort with Linked List

›
/**  * @author Kong Yin Lam - NMC Year2 Student - 17/11/2015  */ import java.util.*; public class HeapSortWithLinkedList {     p...
2015年11月13日 星期五

[JQuery] easyui 同 jquery ui 衝突 (autocomplete和draggable,droppable共用問題)

›
我在使用 JQuery 的 autocomplete, drag and drop 功能時, 發現當引入了 easyui 同 jquery ui library 時會令到彼此之間的功能無法使用,  原因是兩者都是基於jQuery編寫的, 部分方法同參數名會有重複。 網上有很多解...
2015年9月13日 星期日

[C] 切割字串函數 strtok

›
今天寫了 strtok 的範例:『如何分離網路 mac address』程式碼如下,大家一定會有疑問 strtok 第一次呼叫,第一參數輸入愈分離的字串,在 while 迴圈,則是輸入 NULL 呢?底下就來解析 strtok.c 的程式碼。 1 2 3 ...
2015年9月11日 星期五

[C] Pointers on C - note 2

›
/ **************************************************************************** / 1. P. 243 The NUL terminates the string but is no...
›
首頁
查看網路版

關於我自己

Unknown
檢視我的完整簡介
技術提供:Blogger.