Apple suggests to use an instance of NSFileManager class and avoid the static class method defaultManagerbecause it will return a singleton instance: no thread safe: In Mac OS X v.10.5 and later you should consider using [[NSFileManager alloc] init] rather than the singleton method defaultManager. Using [[NSFileManager alloc] init] instead, the resulting NSFileManager instance is […]
Recent Posts
Top Posts
- WordPress actions and filters in Javascript
- ReactJS Switch Button Component
- dangerouslySetInnerHTML stateless component
- How to fix the click on nested anchor in Nightwatch JS
- WordPress: useful shortcode for your Custom Post Type
- WP Bones: a plugin framework for Laravel lovers
- Laravel Artisan Supervisor Command
- How to create a method both as static and as instance
- Laravel-Mix: avoid jQuery
Follow me on Twitter
My Tweets© 2018 Undolog | Research & Development Blog