- Removed old info button.
- Moved 'extended' text to pullable drawer.
- Hide toolbar/navigation on scroll, instead of fullscreen mode.
- Only sets description on a new bookmark if contents of pasteboard are new.
- Can now edit from detail page.
- Better tag matching.
- New app icon.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath | |
{ | |
if ([cell.accessoryView isKindOfClass:[UITextField class]] && CGRectIsEmpty(cell.accessoryView.frame)) { | |
cell.accessoryView.frame = CGRectMake(cell.accessoryView.bounds.origin.x, cell.accessoryView.bounds.origin.y, CGRectGetWidth(cell.frame) / 2, CGRectGetHeight(cell.frame)); | |
cell.accessoryView.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleLeftMargin; | |
} else { | |
//[cell.accessoryView sizeToFit]; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ...; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.Method; | |
import java.lang.reflect.ParameterizedType; | |
import java.lang.reflect.Type; | |
import java.util.List; | |
import android.content.ContentResolver; | |
import android.content.Context; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ (void) insertOrUpdate:(NSArray*)dictArray | |
forUniqueKey:(NSString*)key | |
withBlock:(void (^) (NSDictionary* dictionary, NSManagedObject* object))block | |
inStore:(Store *) store | |
error:(NSError*)error | |
{ | |
NSManagedObjectContext* context = [store privateContext]; | |
__block NSError *localError = nil; | |
[context performBlockAndWait:^{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* TypefaceTextView.java | |
* Simple | |
* | |
* Copyright 2012 Simple Finance Corporation (https://www.simple.com) | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static int dp2px(final float dps, final Resources res) { | |
final float scale = res.getDisplayMetrics().density; | |
final int pixels = (int) ((dps * scale) + 0.5f); | |
return pixels; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static boolean isIntentAvailable(Context context, Intent intent) { | |
final PackageManager packageManager = context.getPackageManager(); | |
List<ResolveInfo> resolveInfo = packageManager.queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY); | |
if (resolveInfo.size() > 0) { | |
return true; | |
} | |
return false; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.content.Context; | |
import android.util.AttributeSet; | |
import android.widget.ImageView; | |
public class SquareImageView extends ImageView { | |
public SquareImageView(Context context) { | |
super(context); | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.threesquared.axawellbeing.web.services; | |
import android.app.Service; | |
import android.content.Intent; | |
import android.os.Handler; | |
import android.os.HandlerThread; | |
import android.os.IBinder; | |
import android.os.Looper; | |
import android.os.Message; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
git log $1...$2 --pretty=format:'• %s' --reverse | grep -v Merge |