Wednesday, December 11, 2013

iBeacon Resources

Blogs
iBeacon blog
http://beekn.net/

Tutorial
iBeacons Tutorial for iOS 7 with CLBeaconRegion and CLBeacon
http://www.devfright.com/ibeacons-tutorial-ios-7-clbeaconregion-clbeacon/ 

iBeacon Tutorial for iOS 7 by DevFright
http://beekn.net/2013/10/ibeacon-tutorial-for-ios-7-by-devfright/ 

ibeacon-development-kit-instructions 
https://github.com/RadiusNetworks/radiusnetworks.github.io/blob/master/ibeacon/ibeacon-development-kit-instructions.md

Service Kit
Radius Developers
http://developer.radiusnetworks.com/

Geofencing Made Easy 
http://proximitykit.com/

iBeacon develop Kit
BlueCat
http://www.bluecats.com/#introduction



.

Canvas Animate in Xcode without code

Canvas
Animate in Xcode without code


.

Friday, September 27, 2013

ASCIIWWDC

ASCIIWWDC

Searchable full-text transcripts of WWDC sessions



.

Sunday, August 18, 2013

使用git-flow

使用git-flow


.

Startup School

Startup School


 


2012 Speakers
Mark Zuckerberg
Founder, Facebook
Travis Kalanick
Founder, Uber
Jessica Livingston
Partner, Y Combinator
Patrick Collison
Founder, Stripe
Ben Silbermann
Founder, Pinterest
Ben Horowitz (recording unavailable)
Partner, Andreessen Horowitz; Founder, Opsware
Tom Preston-Werner
Founder, GitHub
Ron Conway
Partner, SV Angel
Hiroshi Mikitani
Founder, Rakuten
Joel Spolsky
Founder, StackExchange, Fog Creek Software
David Rusenko
Founder, Weebly


.

Friday, July 19, 2013

這個部落格內容的將分開放到wiki網頁

這個部落格內容的將分開放到wiki網頁

http://allenlinli.wikidot.com/start

此後這個部落格的內容以新聞類的為主

而wiki那邊則有系統地整理開發所需要用的技術和工具知識



.

Tuesday, June 4, 2013

Xcode Code Snippets

Xcode Code Snippets

"通过code snippets,我们可以创建一些可重用的代码块,并且在任何需要的地方很容易的就可以使用这些代码块。这可以节省输入需要的操作和时间。"


.

Wednesday, May 22, 2013

ECSlidingViewController 使用筆記

 點選選項時,不要讓topView蓋過:
//[self.slidingViewController resetTopView];

換VC,但不要讓VC縮往右邊
//  [self.slidingViewController anchorTopViewOffScreenTo:ECRight animations:nil onComplete:^{
//    CGRect frame = self.slidingViewController.topViewController.view.frame;
//    self.slidingViewController.topViewController = newTopViewController;
//    self.slidingViewController.topViewController.view.frame = frame;
//    [self.slidingViewController resetTopView];
//  }];
CGRect frame = self.slidingViewController.topViewController.view.frame;
self.slidingViewController.topViewController = newTopViewController;
self.slidingViewController.topViewController.view.frame = frame;
//    [self.slidingViewController resetTopView];

不要讓topVC被拉過頭。
self.shouldAllowPanningPastAnchor = NO;

不要讓topVC可以被拖回原位。
self.resetStrategy = ECNone;

讓topVC往右移
[self.slidingViewController anchorTopViewTo:ECRight];



減少topVC往右移動時間
 [UIView animateWithDuration:0.0f animations:^{

設定topVC往右移動位置
[self.slidingViewController setAnchorRightRevealAmount:100.0f];






.

ECSlidingViewController and other similar UI


Alternatives

Other projects implementing a similar UI





.

Thursday, May 9, 2013

RAYWENDERLICH - iPhone Tutorials

RAYWENDERLICH - iPhone Tutorials




Beginning Objective-C

iOS 6 Tutorials

iOS 5 Tutorials

Making Games with UIKit

Beginning Game Programming with Cocos2D

Beginning Game Programming with Corona

Beginning Game Programming with Unity

Intermediate Game Programming with Cocos2D

Cocos2D Tools

Advanced Game Programming with OpenGL

Other Game Engines

Game Physics

Other Game Programming Topics

Saving and Loading Data

Graphics and Animation

Network Programming

Making Money

Audio

iPad Development

3rd Party Libraries

Other iPhone Tutorials

Other Tutorials



.

Top 10 iOS Conferences in 2013

Top 10 iOS Conferences in 2013



.

Code School - Try Objective-C

Code School - Try Objective-C

初學者等級的


.




Thursday, May 2, 2013

App程式設計流程

設計User Case
設計ER圖
建立Data Model

依照wire frame訂定工作時間
訂定甘特圖


.

Sunday, April 28, 2013

快速開發 iOS app ( Prototype 工具篇 )

快速開發 iOS app ( Prototype 工具篇 )

"製作 Prototype 的主要目的是減少溝通成本,以及整理並釐清你心裡那堆雜亂的想法。
過去我在兩個專案的 Prototype 階段內,主要用傳統的紙筆,配合列印出來的 iPhone 裝置外框畫出草圖,使用 Mac 上的 Sketch 製作 UI,最後用 POP iPhone app 來展示給團隊及客戶。"


.

Tuesday, April 23, 2013

建立App流程

  1. 設定GitHub: 在github上開repo,clone到指定資料夾
  2. 使用git-flow (optional)
  3. 開啟專案和Unit Test: 開啓新專案,並使用Unit Test
  4. 設定Podfile,使用pod setup, pod install
  5. 設定其他所需Lib
  6. 做第一次的git push
  7. 加上injection方便觀察UI



Friday, April 19, 2013

my Podfile (Cocoapods)

//2013.4.19  (這行不用加)

platform :ios, '6.0'

pod 'DCIntrospect', '~> 0.0.2'
pod 'InAppSettingsKit', '~> 1.0'
pod 'AFNetworking', '~> 1.2.0'
pod 'MagicalRecord', '~> 2.1'
pod 'RestKit', '~> 0.20.0'
pod 'Nimbus', '~> 1.0.0'
pod 'SSKeychain', '~> 1.0.2'
pod 'BlocksKit','~> 1.8.1'
pod 'Facebook-iOS-SDK','~> 3.5.0'

target :UnitTests do
   link_with 'UnitTests'
   pod 'Kiwi', '~> 2.0.6'
end


Wednesday, April 17, 2013

25 iOS App Performance Tips & Tricks

25 iOS App Performance Tips & Tricks

Top 10 iOS Conferences in 2013

Top 10 iOS Conferences in 2013

Unit Testing Roundup

Featured:
Unit Testing : NSHipster



Unit Testing:
Stanford 19. Automated Testing
Unit Testing in Xcode 4 Quick Start Guide
You Really Can Use Test Driven Development in Creating iPhone Apps
Unit Testing for iOS - Jamie Sa
Roundup: Testing
iOS Tests/Specs TDD/BDD and Integration & Acceptance Testing
Looking at Other Unit Test Tools: OCHamcrest, OCMockito, and Kiwi*
運用 MethodSwizzling 和 OCMock 於 Objective-C Unit Test
Kiwi - iOS Testing with Style!*
Up and Running with Kiwi
Test Driving iOS Development with Kiwi

UIAutomation
SenTest (OCUnit)
OCMock
Kiwi*
Kif
Jasmine
Cedar


Objecitive-C - Unit Test 設定
單元測試 Unit Test 簡單設置
XCode 下的 iOS 单元测试
Better Design Through Testing - Jamie Sa
30天快速上手TDD
運用 MethodSwizzling 和 OCMock 於 Objective-C Unit Test


TDD: Test Driven Development



.

30天快速上手TDD

[30天快速上手TDD]目錄與附錄

TDD : Test Driven Development


.

Wednesday, April 10, 2013

Objective-C與iOS的學習資源 - 葉難

Objective-C與iOS的學習資源 - 葉難

"問:想在iOS(iPhone, iPod Touch, iPad)上開發,有何教學文件?
答:

1. The iOS 5 Developer's Cookbook: Core Concepts and Essential Recipes for iOS Programmers by Erica Sadun。
學習iOS軟體開發不錯的入門書,從iOS SDK 2.x開始一直更新到現在的iOS 6.x。從基本講起,範圍廣泛,這本範例很多。

iOS 5的中文翻譯本,書名是"iOS SDK 開發範例大全"。..."

.

Sunday, April 7, 2013

iPhone App自動化測試工具總結

iPhone App自動化測試工具總結

ios delegate你必須知道的事情:Circular retain

ios delegate你必須知道的事情:Circular retain
如果你是寫library給別人用的,記得把你的delegate設成assign property,這樣才不會造成circular reference
當你是要始用別人的library,記得在你自己dealloc的時候,把delegate設成nil,以避免crash的事情發生。


iOS blocks - 三個會造成retain cycle的anti patterns
我建議要解決retain cycle的最好思維就是想清楚從屬關係

__block MyClass* temp = …;    // MRC環境下使用
__weak MyClass* temp = …;    // ARC但只支援iOS5.0以上的版本
__unsafe_retained MyClass* temp = …;  //ARC且可以相容4.x以後的版本


.

Light Migration Core Data

Tuesday, March 26, 2013

Foundation Constants Reference - URL Loading System Error Codes


Foundation Constants Reference

URL Loading System Error Codes
These values are returned as the error code property of an NSError object with the domain “NSURLErrorDomain”.
enum
{
   NSURLErrorUnknown = -1,
   NSURLErrorCancelled = -999,
   NSURLErrorBadURL = -1000,
   NSURLErrorTimedOut = -1001,
   NSURLErrorUnsupportedURL = -1002,
   NSURLErrorCannotFindHost = -1003,
   NSURLErrorCannotConnectToHost = -1004,
   NSURLErrorDataLengthExceedsMaximum = -1103,
   NSURLErrorNetworkConnectionLost = -1005,
   NSURLErrorDNSLookupFailed = -1006,
   NSURLErrorHTTPTooManyRedirects = -1007,
   NSURLErrorResourceUnavailable = -1008,
   NSURLErrorNotConnectedToInternet = -1009,
   NSURLErrorRedirectToNonExistentLocation = -1010,
   NSURLErrorBadServerResponse = -1011,
   NSURLErrorUserCancelledAuthentication = -1012,
   NSURLErrorUserAuthenticationRequired = -1013,
   NSURLErrorZeroByteResource = -1014,
   NSURLErrorCannotDecodeRawData = -1015,
   NSURLErrorCannotDecodeContentData = -1016,
   NSURLErrorCannotParseResponse = -1017,
   NSURLErrorInternationalRoamingOff = -1018,
   NSURLErrorCallIsActive = -1019,
   NSURLErrorDataNotAllowed = -1020,
   NSURLErrorRequestBodyStreamExhausted = -1021,
   NSURLErrorFileDoesNotExist = -1100,
   NSURLErrorFileIsDirectory = -1101,
   NSURLErrorNoPermissionsToReadFile = -1102,
   NSURLErrorSecureConnectionFailed = -1200,
   NSURLErrorServerCertificateHasBadDate = -1201,
   NSURLErrorServerCertificateUntrusted = -1202,
   NSURLErrorServerCertificateHasUnknownRoot = -1203,
   NSURLErrorServerCertificateNotYetValid = -1204,
   NSURLErrorClientCertificateRejected = -1205,
   NSURLErrorClientCertificateRequired = -1206,
   NSURLErrorCannotLoadFromNetwork = -2000,
   NSURLErrorCannotCreateFile = -3000,
   NSURLErrorCannotOpenFile = -3001,
   NSURLErrorCannotCloseFile = -3002,
   NSURLErrorCannotWriteToFile = -3003,
   NSURLErrorCannotRemoveFile = -3004,
   NSURLErrorCannotMoveFile = -3005,
   NSURLErrorDownloadDecodingFailedMidStream = -3006,
   NSURLErrorDownloadDecodingFailedToComplete = -3007
}

iOS Automated Tests with UIAutomation

iOS Automated Tests with UIAutomation

Friday, February 8, 2013

Mobile Apps Developer 徵才條件


  • 熟悉Cocoa Touch等iOS相關技術
  • 能撰寫Objetive-C的單元測試(SenTestKit、Kiwi)
  • 熟悉Git版本控制系統
  • 了解使用者經驗設計的原則(Rapid prototyping、Usability tests)
  • 了解敏捷開發的精神(Iterations、Stand-up meetings、Test-Driven Development)

Thursday, January 24, 2013