git clean -df & git checkout .
git remote set-url origin git://new.url.here
// Animate a text view | |
TextView myText = (TextView) findViewById(R.id.textView1); | |
myText = (TextView)Utils.makeMeBlink(myText,250,20); | |
// Animate an image view | |
ImageView imageView = (ImageView) findViewById(R.id.imageView); | |
imageView = (ImageView)Utils.makeMeBlink(imageView,250,20); | |
- (void)viewDidLoad | |
{ | |
[super viewDidLoad]; | |
CABasicAnimation *animation = [CABasicAnimation animationWithKeyPath:@"opacity"]; | |
[animation setFromValue:[NSNumber numberWithFloat:1.0]]; | |
[animation setToValue:[NSNumber numberWithFloat:0.0]]; | |
[animation setDuration:0.5f]; | |
[animation setTimingFunction:[CAMediaTimingFunction | |
functionWithName:kCAMediaTimingFunctionLinear]]; |
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<LinearLayout | |
android:background="@color/DarkGoldenrod" | |
android:layout_height="0dp" | |
android:layout_width="match_parent" | |
android:layout_weight="2" /> |
git submodule add https://github.com/facebook/facebook-android-sdk.git
Add sdk as gradle project:
include ':facebook-android-sdk:facebook'
Add sdk as dependency to module:
////////////////////////////////////////////// | |
// Convert NSData* to NSString* | |
////////////////////////////////////////////// | |
[[NSString alloc] initWithData:JSON encoding:NSASCIIStringEncoding]; | |
////////////////////////////////////////////// | |
// Passing variables threw segue's | |
////////////////////////////////////////////// |
package com.gml.redcarpet.adapters; | |
import android.content.Context; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.ArrayAdapter; | |
import java.util.List; | |
/** |
*.aux | |
*.glo | |
*.idx | |
*.log | |
*.toc | |
*.ist | |
*.acn | |
*.acr | |
*.alg | |
*.bbl |
FOR IMMEDIATE RELEASE
## AppName vX.X does something interesting
AppName vX.X is on the App Store now, and features the following very interesting feature. This is a summary, so I'm focusing on the lead. Just something to make me want to read the rest. Done.
City, State/Country - [Company/Developer] has released AppName vX.X, available in the Mac App Store. AppName is/does [broad, general strokes]. [A few more specific points about who it's for and why it's of benefit to them].
New features!
@interface myViewController: UIViewController <CLLocationManagerDelegate> | |
CLLocationManager *locationManager; | |
CLLocation *currentLocation; | |
@end |