agi18n agimagechecker amazonaws android arc autolayout blog building cache calabash certificates clean code cocoa cocoapods data binding debugging deployment target drm ebs ec2 errors facebook fix git i18n images instruments interface builder ios iosx enterpise summit ipad iphone iphone5 kotlin libraries like button linking links llvm memory management method swizzling mobile model mvc mvvm nil objective-c optimizations patch patterns performance presentation provisioning profiles restkit runtime rxjava rxswift security shadows streaming svn swift testing tools tutorials uikit uistackview video view xcode

Subscribe to this blog

Latest posts

Welcome to my new blog!

Angel G. Olloqui 13 May, 2012

I have created this blog to post technical articles and close my previous one at angelolloqui.blogspot.com. Keep tuned because I will add new features and some interesting articles that I am still finishing writing about iOS and other technical stuff!

Next features will include things like:

  2. Facebook/Twitter share
  3. Deep multilingual integration (for now, use the Google Translator widget on the top right corner)
  4. Better source-code formatting

Any other suggestions are welcome!

I also want to comment that most of my posts wil be written in Spanish due to two facts:

  1. Spanish is my native language, which makes it easier. This way I can focus on writing a good explanation rather than a good English :).
  2. English is everywere! there are thousands of resources in English to check out, but there are not so many in Spanish, specially regarding technical topics such the ones I will write about here. By writing in Spanish I believe my contribution will be higher.

Nevertheless, I would also like to make the shift to English step by step, so there will be some posts in English among the Spanish ones.

Lastly, if you have a topic that you would like to discuss just contact me and I will take a look at it. If I consider it to be interesting and I feel that I have enough knowledge I will probably write about it.


See you soon!

Tags: blog


Manteniendo compatibilidad con versiones anteriores de iOS

Angel G. Olloqui 08 March, 2011

Es muy habitual encontrarnos con la necesidad de dar soporte a usuarios que no estén actualizados con el último iOS en nuestras aplicaciones iPhone o iPad, pero los SDKs nuevos dan soporte únicamente para un conjunto muy reducido de versiones anteriores, lo que normalmente no es suficiente.

Tags: deployment target, ios, ipad, iphone


¿Cómo afectará a los desarrolladores el nuevo dispositivo de Apple?

Angel G. Olloqui 07 March, 2011

Hoy me han pedido en el trabajo que escribiese sobre esto. Como ya está hecho el trabajo, aprovecho y dejo por aquí el link al post:


Tags: ipad


Facebook Like Button on iOS

Angel G. Olloqui 06 November, 2010

Important Note

Some people are still asking me for this. Please, note that this post is too old and that it was a hack at that time, so it is very likely to fail nowadays. Nevertheless, the idea behind this hack should still work: Embeb a webview with the official FB like button and capture the login redirect to display a proper dialog to the user. 


The problem

Some days ago a client asked us for including a Like Facebook button in one of his iPad applications. We have previously used Facebook iOS SDK (https://github.com/facebook/facebook-ios-sdk) for including things like the user's profile photo, friends, and so on so we were pretty sure that this button would be easy to implement.
Upppssss, what an error! Facebook iOS API doesn't include a FB Like button, and the Rest API either. The only way that Facebook seems to give to developers is a HTML button or iframe, both of them thinked for being in a web enviroment. Of course we have the chance to include a webview in the iPad app to include this button, but we should take care of the login process and some other issues, so I did some research and I found this:

Tags: facebook, ios, ipad, iphone, like button


Las ventajas de nil en Objective-C

Angel G. Olloqui 16 July, 2010

Para los que venimos de lenguajes como Java o C++ donde un objeto null es un peligro, cuando llegamos a Objective-C descubrimos la gran ventaja que tenemos en este lenguaje.

En objective-C, un puntero apuntando a nil es un objeto sobre el que se pueden invocar métodos.

Es decir, cualquiera de las siguientes líneas son perfectamente válidas:

Tags: nil, objective-c