Language

Asynchronous Programming in Swift

Promise Kit, one of the best frameworks to deal with asynchronous programming in Swift

In this post, I will use these following third parties to complete the project:

  • Alamofire: A HTTP networking framework in Swift.
  • SwiftyJSON: To process JSON data.
  • SwiftGifOrigin: An UIImage extension to display Gif files.
  • Bolts-Swift: Was designed by Parse and Facebook, I use it to create asynchronous methods.
  • PromiseKit: A framework helps us to simplify asynchronous programming.
  • Giphy’s APIs for searching and downloading gif images.
Read More

Grand Central Dispatch in Swift


Grand Central Dispatch, or GCD for short, is a low-level C APIs for managing concurrent tasks. It helps us improve our app performance by executing a block of code in reasonable threads, like perform computationally expensive tasks in the background. GCD provides several options for running tasks such as synchronously, asynchronously, after a certain delay, etc.
In this post I will explain more details about GCD and how it works, also provide some interesting points when we work with GCD. Let’s start.

Read More

React Native In My Real World


React Native was introduced in January of 2015 at React.js Con: The first public preview. In March of 2015, React Native is open and available on Github. After releasing, React Native quickly becomes popular and is constantly updated by thousands of developers in the world. Currently, React Native is one of the most stars repositories on Github.

Read More

Review Book: Clean Code

This is a book I have been gifted a long time ago from an old colleague, also he is one of my close friends. This is one of the software books that I like the most but have no chance to buy when I was a student.

Read More

Bluetooth Low Energy On iOS

The Core Bluetooth (CB) framework allows iOS and MacOS apps communicate with BLE devices. Your apps can discover, explore, and control the BLE devices, such as heart rate monitors, trackers or hybrid watches.

Image 1. BLE devices (Source from Google)
Read More

Chuyện ở Đại Học (Phần 1)

Tối hôm qua vô tình lướt Facebook thì trang Confession của trường mình hiện lên bài post của một bạn k17, bạn tâm sự về chuyện học ở Đại Học.
Bạn tâm sự rằng bạn đang stress và căng thẳng vì lượng kiến thức ở Đại Học quá nhiều làm bạn không theo kịp, trong khi đó các bạn cùng khoá lại có vẻ như tiếp thu nhanh hơn bạn. Điều đó làm bạn thêm tự ti và muốn bỏ cuộc.

Trước giờ mình không có thói quen comment lên các Fan page hay Confession, mà vì đọc được bài post của bạn mình thấy sao giống với mình 5 năm về trước quá, vì vậy mình muốn viết một bài chia sẻ ngắn để chia sẻ với các bạn về con đường mình đã đi qua cách đây 5 năm, cũng là con đường mà các bạn sẽ đi, dù ít hay nhiều.

Read More

Create and Distribute Private Libraries with Cocoapods


CocoaPods is a dependency manager for Swift and Objective-C projects. This tool not only allows us to easily integrate those dependencies but also allows us to create our own libraries. In this post I’m going to guide you how to create a private library and distribute it to your private team without publishing the library.

Read More

Hello World

Welcome to Uy Nguyen’s blog!
I love writing, so I build this site to write any stupid crap things in my life, my job or whatever related to Software Engineering. In this way, I remember these topics longer. I also want to share what I learned to anyone who needs it.
Feel free to kick an email if you need to reach me.

“Be a Software Engineer, not a Coder.” - Uy Nguyen