The best way to learn and master iOS development is to read the official documentation. It can be boring but you can trust its accuracy and the information will be presented without opinion.
Read documents in order where indicated.
The best way to learn and master iOS development is to read the official documentation. It can be boring but you can trust its accuracy and the information will be presented without opinion.
Read documents in order where indicated.
Objective-C sends messages to objects, it does not call functions. A function call has a section of code bound to the target object at compile time. A message is resolved to a pointer at runtime.
Static binding is the concept of associating data or code with an identifier at compile time. Late binding is associating data or code with an identifier at run time.
NSSets offer a performance benefit over NSArrays when checking for memebership.
date
This agreement is made between customer name
("you") of company name
located at customer address
and developer name
("us") of developer's company
located at company address
.
You desire to retain us as an independent contractor to develop the name of application
(the "application") described in the section, Technical specifications.
We are ready, willing and able to undertake the development of the application and agree to do so under the terms and conditions set forth in this agreement.
# Copy and paste this command into your terminal. | |
find . -name "*.m" | xargs genstrings -o en.lproj |
# Copy and paste these commands in your terminal | |
# Directories | |
find /path/to/dir/ -type d -exec chmod 755 {} \; | |
# Files | |
find /path/to/dir/ -type f -exec chmod 644 {} \; |
#<Type>: <subject> | |
#<body> | |
#------------------------------------------------------------------------------- | |
#<footer> | |
#-- Commit types | |
# - Add; a new file | |
# - Chore; files which are neither code nor documentation (i.e. .gitignore) |
# If you don't have libxml2 installed, download the source and compile it. It's easy. | |
sudo gem install nokogiri -- --use-system-libraries --with-xml2-include=/usr/include/libxml2 |
# `git clean` removes all untracked files and `git checkout` clears all unstaged changes. | |
# see: http://stackoverflow.com/questions/52704/how-do-you-discard-unstaged-changes-in-git#12184274 | |
git clean -df | |
git checkout -- . | |
# @see: http://stackoverflow.com/questions/953481/restore-a-deleted-file-in-a-git-repo#4332209 | |
# Restore all deleted files in Git | |
git ls-files -d | xargs git checkout -- |
@interface SynchronousReachability () | |
@property (nonatomic, readonly, getter=isNetworkReachable) BOOL networkReachable; | |
@end | |
@implementation SynchronousReachability | |
- (BOOL)isNetworkReachable { | |
SCNetworkReachabilityFlags flags; |