xidazheng.com
Playing with iOS MapKit Part 3: Making it Pretty – Xida Zheng
https://xidazheng.com/2015/01/23/playing-with-mapkit-part-3-making-it-pretty
Learn fast, make things. Playing with iOS MapKit Part 3: Making it Pretty. Part 1 MapKit Tutorials. Part 2 Reverse Geocoding and Custom Annotation Callouts. Part 3 Making it Pretty. Part 4 Race Conditions, Other Bugs, and Wrap-up. After getting down the basic functionality, I wanted to polish up the app to give it a quality feel and to dig deeper into the nitty-gritty details of MapKit. So I made a list of things that could be improved and proceeded to knock each of them out one by one. Initially, I chos...
mobilecouch.co
63: Only Ever Accept Salmon | Mobile Couch
http://mobilecouch.co/63
A fortnightly podcast about creating great apps for mobile. Devices, hosted by Ben Trengrove. And Daniel Jelly Farrelly. 63: Only Ever Accept Salmon. Published Monday, 10 August, 2015. Download Audio (23.66MB). Jelly and Ben start the show by covering some quick follow-up about CocoaPods and Carthage, which blurs the lines between their differences. This leads into a quick discussion about how CocoaPods is now being supported by a bunch of companies with libraries, such as Google, Twitter and Hockey.
rajiev.com
Resize UIImage in Swift and iOS 8 | Rajiev
http://rajiev.com/resize-uiimage-in-swift
I build high quality software. Resize UIImage in Swift and iOS 8. Here is an extension to UIImage that adds a public method called resize(size:CGSize, completionHandler:(resizedImage:UIImage, data:NSData)- () . The image is resized on a global concurrent queue and the completion handler is called on the main queue with the new UIImage and image data. Good for resizing images before sending them to a server. The jpeg compression ratio should probably also be parameterized! Dispatch get global queue. Thank...
blog.dianqk.org
RxSwift vs PromiseKit · 靛青K
http://blog.dianqk.org/2016/08/22/rxswift-vs-promisekit
如果你只是想处理回调地狱 callback hell ,那么 PromiseKit 更适合你,使用 RxSwift 反而会更加麻烦。 如题,本文将讨论我理解的 RxSwift 和 PromiseKit 有什么不同。 并解释为什么 RxSwift 不适合 仅用来处理异步. 本文基于 Swift 3 and Xcode 8 beta 6。 通常我们都是因为遇到回调地狱才了解到 RxSwift / RAC 的,但经过我不断实践,得出一个结论,如果只想考虑如何更好的处理回调地狱,PromiseKit 则是更好的选择。 我将在本文中介绍 PromiseKit 的基本使用,并解释为什么 PromiseKit 是优选,并给出一些什么时候应当考虑 RxSwift 的场景。 在开始之前,我想先再次强调 Reactive Extensions 只是一个思想. 123; (fulfill, reject) in. String: "https:/ httpbin.org/get? 123; (data,. Data = data {. Error = error {. Then { (data) in. 123; (data,.
technica-blog.jp
ネイティブアプリ技術
http://technica-blog.jp/category/ネイティブアプリ技術
TECHNICA Speee engineer blog. BFTask、Task TResult には処理の実行ステータスや処理結果、エラーなどを設定できる API. Taskを返すメソッド.continueWithXXX( / ここで非同期処理後の内容を制御する. / nullを返す事によりこのスコープの処理を終わらせる. return null; );. A Taskを返すメソッド.continueWithXXX( return Taskを返すメソッド; / B ).continueWithXXXX( / タスク return null; );. OpenWeatherMapManager new] getWeatherInfo:@"Tokyo" country:@"jp" success: (NSDictionary *result) { NSLog(@"お天気情報:%@", result); } failure: (NSError *error) { NSLog(@"エラーになりました。 Quot;, error.description); }];. Q=" city ",...Null) {...
lukagabric.com
PromiseKit and Cancellation with Deferred | Luka Gabric
http://lukagabric.com/promisekit-and-cancellation-with-deferred
PromiseKit and Cancellation with Deferred. April 24, 2015. PromiseKit ( http:/ promisekit.org/. Is an Objective C and Swift implementation of Promises/A specification ( https:/ promisesaplus.com/. By definition, promise represents the eventual result or error of an asynchronous task. Interaction with the result or error is done using the. Method with the block that result or error is passed to as a parameter. And used like in example below. Do something with contacts. PromiseKit provides no out of the bo...
lukagabric.com
Ios Dev | Luka Gabric
http://lukagabric.com/category/ios-dev
Category Archives: iOS Dev. Xcode 7 Symbolicate iOS Crash Report. July 19, 2016. If Xcode cannot symbolicate the crash report automatically, you can use “Symbolicatecrash” tool to symbolicate the report manually. There are three files you’re going to need for this to succeed. The .app file (or if you have an ipa file just rename it to zip and uncompress, you’ll find the app file in that package), the .dSYM file and the .crash report. Continue reading Xcode 7 Symbolicate iOS Crash Report. April 16, 2016.
oramind.com
AFNetworking + PromiseKit | Oramind
http://oramind.com/promisekit-afnetworking
The personal web space of a software engineer. September 16, 2014. AFNetworking is the de-facto standard for implementing a robust and scalable network infrastructure in your iOS or OS X application. I personally have used it for the implementation of many professional projects that I have been involved in. And lately I have stumbled across an delightful Framework, PromiseKit, a Promises implementation for iOS. I have then taken the liberty of incorporating Promises features into AFNetworking. DataDask w...