Browsed by
Month: June 2016

[iOS] – Different action of AFURLSessionManager for different OS Version ?>

[iOS] – Different action of AFURLSessionManager for different OS Version

AFURLSessionManager  use to download file from internet, it’s provide some useful delegate to make sure developer can tracking process also error etc… Back to the day, my current project was use AFDownloadRequestOperation which made a wrapper of AFHTTPRequestOperation to download file. But from AFNetworking 3.0, they drop the AFHTTPRequestOperation so we cannot use AFDownloadRequestOperation anymore. We decide to use AFURLSessionManager instead of old library. The problem is AFURLSessionManager has different action about the way it’s fire the delegate. Here is a simple block of download function of AFURLSessionManager:

After testing, I see that the…

Read More Read More

[iOS] – Why iTunesConnect show up IDFA when release app? ?>

[iOS] – Why iTunesConnect show up IDFA when release app?

What is IDFA? From Apple: Apple’s advertising identifier (IDFA) is a unique ID for each iOS device and is the only way to offer targeted ads. So basically, any app which contains ads will have IDFA and you must decide which way your app work with those ads. Here is the screenshot when submit app to store and your app contain IDFA:   The problems is even you didn’t show ads inside your app but when try to submit app…

Read More Read More

[XenForo] – How to create an input box with autocomplete for username. ?>

[XenForo] – How to create an input box with autocomplete for username.

I starting use XenForo (XF) for several years to build some website. Basically XF base on Zend framework but not stop from that, XF also bring so many great feature for developers. I’ll write all of those features later, but now I want to show you one of the really great thing in XF template. I’m creating a from which allow admin to input the user name and it must show some suggestion (auto complete). The purpose is it will…

Read More Read More