Category Archives: Uncategorized
Sometimes you need to distribute your application installers outside Mac App Store. You can code sign it so that it will be recognized by Gatekeeper as identified developer product. Once you code sign the installer with your Apple Developer Id certificate, gatekeeper will allow to open the installer, otherwise it will show a dialog saying “The app cannot be opened because it is from an unidentified developer” (if gatekeeper settings are set to ‘Mac App store and identified developers’).
To know more about Gatekeeper options click here.
Here we will see how to sign the installer package so that gatekeeper won’t block it.
The installers created by PackageMaker with minimum target set to 10.5 and above are flat package while the installers created with minimum target set to 10.4 will create a bundle package.
Bundle type installers cannot be signed using Developer Id Installer certificate. These can be signed using Developer Id Application
View original post 155 more words
How memory management is done in objective C?
The latest OS X and IOS versions (IOS 5, OSX 10.7 and above) supports Automatic Reference Counting (ARC), a memory management enhancement in Objective C. Before that programmers have to follow the Manual Retain Release procedure. Go through the slides below to understand Memory Management in Objective C with reference to IOS and Cocoa. Also learn about the introduction of ARC and how it works.
– About Memory Management and IOS, OSX versions
– Reference Counting
– Taking ownership of an Object
– Relinquishing ownership of an Object
– Memory Leak and Dangling pointer
– Strong, Retain and Copy
– Autorelease method
– Autorelease pools
– Automatic Reference Counting
– Zeroing Weak References
– Garbage Collector
Written By: Neha Gupta