po frame
Black Elephants
touch ~/.lldbinit echo display @import UIKit >> ~/.lldbinit echo target stop-hook add -o \"target stop-hook disable\" >> ~/.lldbinit
Use the form on the right to contact us.
You can edit the text in this area, and change where the contact form on the right submits to, by entering edit mode using the modes on the bottom right.
123 Street Avenue, City Town, 99999
(123) 555-6789
email@address.com
You can set your address, phone number, email and site description in the settings tab.
Link to read me page with more information.
touch ~/.lldbinit echo display @import UIKit >> ~/.lldbinit echo target stop-hook add -o \"target stop-hook disable\" >> ~/.lldbinit
https://devcenter.heroku.com/articles/getting-started-with-django
http://www.django-rest-framework.org/tutorial/quickstart/
http://marcantoinelemieux.com/blog/posts/2013/01/13/how-to-build-a-basic-timeserver-using-django-and-heroku
https://github.com/tomchristie/rest-framework-tutorial/blob/master/requirements.txt
settings.py
// add after DATABASES = {} import dj_database_url DATABASES['default'] = dj_database_url.config() SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') ALLOWED_HOSTS = ['*'] // modified // add after BASE_DIR STATIC_ROOT = 'staticfiles' STATICFILES_DIR = ( os.path.join(BASE_DIR, 'static'), ) // add to INSTALLED_APPS 'rest_framework' REST_FRAMEWORK = { 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAdminUser',), 'PAGE_SIZE': 10 }
wsgi.py
// add after from django.core.wsgi from dj_static import Cling application = Cling(get_wsgi_application()) // modified
.gitignore
venv *.pyc staticfiles .idea // pycharm ide
http://coolestguidesontheplanet.com/install-update-latest-version-git-mac-osx-10-9-mavericks/
cd ~
open .bash_profile (or touch .bash_profile first)
export PATH="/usr/local/git/bin:$PATH"
<restart terminal>
echo $PATH
git --version
xcrun simctl list
xcrun simctl erase <device-id>
xcrun simctl delete <device-id>
xcrun simctl list devices | grep -v '^[-=]' | cut -d "(" -f2 | cut -d ")" -f1 | xargs -I {} xcrun simctl delete "{}"
Given [initial context], when [event occurs], then [ensure some outcomes]
Given [that the user is logged in], when [the user clicks on x], then [we should see Y]
http://en.wikipedia.org/wiki/Behavior-driven_development
Using kiwi
describe = given >> "given..."
context = when >> "when..."
it = then >> "then ... should..."
http://www.raywenderlich.com/64401/internationalization-tutorial-for-ios-2014
http://www.ibabbleon.com/iphone_app_localization.html
http://www.objc.io/issue-9/string-localization.html
http://stackoverflow.com/questions/2744401/how-to-use-genstrings-across-multiple-directories
find ./ -name "*.m" -print0 | xargs -0 genstrings -o en.lproj
http://stackoverflow.com/questions/6851660/version-vs-build-in-xcode-4
http://stackoverflow.com/questions/3015796/how-to-programmatically-display-version-number-of-target-in-ios-app
add run script
shell /bin/bash
buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "$INFOPLIST_FILE") buildNumber=$(($buildNumber + 1)) /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber" "$INFOPLIST_FILE"
Add the UIFileSharingEnabled key to your app’s Info.plist file, and set the value of the key to YES.
For PriceCatcher.app
CoreData setting: attribute type is undefined, transient property is checked.
CoreData setting: attribute type is transformable
http://www.raywenderlich.com/13771/how-to-use-git-source-control-with-xcode-in-ios-6