I suppose you just want to select image by table view.
This is selection table view.
And this is detail view.
#!/bin/sh | |
if [ $# -eq 0 ]; then | |
CMD=`basename $0` | |
echo "usage: ${CMD} projectname" | |
exit 1 | |
fi | |
PROJECT_NAME=$1 |
#!/bin/sh | |
PROJECT_TEMPLATE_PATH=${HOME}/google-cloud-sdk/platform/google_appengine/new_project_template | |
if [ $# -eq 0 ]; then | |
CMD=`basename $0` | |
echo "usage: ${CMD} projectname" | |
exit 1 | |
fi |
fs = require('fs') | |
path = require('path') | |
request = require('request') | |
class twitter_update_with_media | |
constructor: (@auth_settings) -> | |
@api_url = 'https://api.twitter.com/1.1/statuses/update_with_media.json' | |
post: (status, file_path, callback) -> | |
r = request.post(@api_url, oauth:@auth_settings, callback) |
There is View-independent value keeping tool. You can use:
[[NSUserDefaults standardUserDefaults]setObject:<#(id)#> forKey:<#(NSString *)#>]
For example, you inputs strings or datas in A view, you can store them in above variables. And then, in B view, you can use them by below code:
[[NSUserDefaults standardUserDefaults]objectOrKey:<#(NSString *)#>]
These are a example of NSUserdefaults data using:
##Convert GMT to IST in iOS
The code below convert GMT to IST.
NSString *inDateStr = @"2000/01/02 03:04:05";
NSString *s = @"yyyy/MM/dd HH:mm:ss";
// about input date(GMT)
NSDateFormatter *inDateFormatter = [[NSDateFormatter alloc] init];