Home

TOEFL iBT Writing Guide

The writing part of TOEFL can be the hardest as there are no constraints or multiple choices. The blank space and the timer. However, there is still a practical way to approach the writing. The writing in TOEFL doesn’t necessarily translate to the real world so you have to follow some sort of strategy. The skills required for writing are also f...

TOEFL iBT Reading Guide

I am currently preparing for TOEFL iBT and I’m putting this guide together, to sum up, everything I know about TOEFL reading in one place. The main source for this is Cracking TOEFL iBT – Princeton review. General info about the reading TOEFL is supposed to simulate reading that you might find in an academic environment but in reality, this is...

Starting TOEFL iBT preparation

This week I have made up my mind and decided to take the TOEFL exam on December 2nd. I decide this on October 11th (Wednesday), this means that I have 5 days this week then 6 full weeks and then another 5 days the same week as the exam. ETS recommends at least 8 weeks for preparation so I’ll have to move quickly. In this blog post I am going to ...

Facebook Swift SDK updated to Swift 4

For a while now Facebook’s Swift SDK hasn’t been updated and some deprecated code was left inside. Then Swift 4 came along and it made things even worse. I believe it is time for a guide on how to set up the SDK in Xcode 9 / Swift 4. Alternatively, you could use the iOS SDK but I’ll leave it up to you. Multiple issues have been created regardin...

Extract UIColor from UIImage @ CGPoint

This code snippett will allow you to extract the UIColor of a pixel in a UIImage at a given CGPoint. This is useful for apps that deal with pictures or colors. First of all the code: extension UIImage { public func getPixelColor(pos: CGPoint) -> UIColor { let pixelData = self.cgImage!.dataProvider!.data let data: Un...

Extracting RGB values from UIColor

This code snippet is an extension to the UIColor class for extractiog the RGB color values since accessing theme with the built in methods is messy. This is the code, you can insert it into any of the project files: extension UIColor { public func rgb() -> (red:Int, green:Int, blue:Int, alpha:Int)? { var fRed : CGFloat = 0 ...