to Pedro Carrasco’s personal website

Hello there 👋

I’m Pedro, a Portuguese iOS Engineer since February 2017. I’ve studied at Instituto Superior de Engenharia do Porto and there I’ve got my bachelor’s degree in Software Engineering. Currently, I’m working at Farfetch in Portugal.

I’m an avid OSS enthusiast and contributor. Help by sharing, learn by what’s shared.

Personally, the whole human interaction’s something that I’ve always been fascinated by, and that’s why I try to be a part of as many groups and meetups as I possibly can. Due to that, I’ve been a member of SwiftAveiro’s organization, where around 250 iOS Engineers have gathered to learn in the past three years, and CocoaHeads Porto, the first CocoaHeads meetup in Portugal, where people share knowledge by doing speeches and workshops.

Here you’ll be able to see both personal and professional projects that I’ve been into, guides, posts and how to contact me.


Saving Your Screen

  • 5 min read

Building your own screen saver in Swift can be a tricky task since the template provided by Xcode wasn’t designed for it. Still, it’s far from being impossible.

Read More

Power-Up Your Anchors

  • 8 min read

Programmatically done Auto Layout is still the preferred way of implementing views by a lot of developers. While there are amazing open-source frameworks, most of them differ from Apple’s anchor syntax. Therefore, by adding them to your project, you’ll raise the entry level complexity of your project and increase its learning curve. In this article, you’ll learn how to avoid adding an external dependency and create your own layer above NSLayoutAnchor to solve some of its issues.

Read More

I Want To Be Discardable

  • 2 min read

Ever wanted to ignore a value returned from a function but if you do so you’ll end up with the following warning?

Read More