With macOS Cataline some nice new safe feature appeared. Apple always try to defend users from malicious softwares. Unfortunately this can cause several “safe” apps and tools won’t work any more. If the message appears “cannot be opened because the developer cannot be verified” you have allow somehow to run that app. In general you […]
Author: andras.palfi
Quickly check BitCode support of a library
I wrote already about nm which is a great tool to analyze the binaries. This can be used to quickly check whether a binary supports BitCode or not. Just open a terminal where your binary stored and use this command: nm -a -U -A -m <filename> | grep -i bitcode
iOS Objc Presentation
You can find my presentation about iOS ObjC development – basic/advanced mix, tips and tricks iOS ObjC Presentation
Strange UIAlertView crash
On iOS8+ presenting an AlertView can lead to a crash: NSInternalInconsistencyException what you cannot really catch. Spending quite some time around this I realized the issue comes when the keyboard is open. Closing the keyboard (endEditing) solves the issue. I also found a good thread about this at stackoverflow
Strange issues with certificates on iOS
Good to know: in case of HTTPS/SSL/TLS connection iOS devices cache the used certificate. The side effect come along when you create (get) certificate at runtime and try to use them to connect to a server. The first time you get the certificate challenge, but not the second time – at least if you try […]
To know how symmetric/asymmetric encryption is used in every day
Just found this good reading about how the symmetric and asymmetric encryption is used in email clients, ssl etc. In an understandable way. http://www.infosecisland.com/blogview/4497-Public-Key-Private-Key-Secret-Key-Everyday-Encryption-.html
UI Design: avoid “hamburger” icon and hidden menu
Just read a nice article about the icon frequently used to present a menu () – and whether a “hidden” menu is appropriate – it isn’t. https://lmjabreu.com/post/why-and-how-to-avoid-hamburger-menus/ By the way, I just went after who and why and when find it out: it was a guy at xerox – you know the company found out […]
const pointer to const memory… what?
After several years I found lots of people – and me 🙂 – still confused about the pointer declarations – if it contains some const keyword somewhere. So const char * or char const * or char * const still confusing. To keep it simple: read it backward as this excellent post describes: Clockwise/Spiral rule So: const char * is equivalent […]
Viewing a Viewcontroller of a Storyboard in several device aspects at the same time
The preferred way to design a viewcontroller is using storyboard and use autolayout. To help to set up the layouts properly and at the same time visible check the result open more device layouts in preview mode – it is the best moving it to a separate window. Here are the steps: Open the storyboard […]
ARC-Block-Avoid retain cycles and crashes
Using blocks which captures self (explicitly or automatically by referencing an iVar!) you have the chance to a retain cycle where the block keeps self and self keeps the block or a crash when self is released. This is true for Obj-C as well as for Swift. The proper usage declared by Apple itself: store […]