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
[RKTApplication doCrucialAction:^{ | |
NSString *searchFieldIdentifier; | |
if ([[UIDevice currentDevice] SQ_isPhone]) { | |
searchFieldIdentifier = @"Search"; | |
} else { | |
searchFieldIdentifier = @"Search All Items"; | |
} | |
[tester turnOffAutocompleteForSearchField:searchFieldIdentifier]; | |
[RKTApplication doCrucialAction:^{ |
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
<html> | |
<head> | |
<style type="text/css"> | |
h2 {text-align:center;} | |
h3 {text-align:center;} | |
div {float: right; background-image:url('http://www.paperpresentation.com/mm5/images/pochettesb/D_PCB4141.jpg'); width: 85;} | |
</style> | |
</head> | |
<body> |
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 <QuartzCore/QuartzCore.h> | |
@property (weak, nonatomic) IBOutlet UIImageView *profilePictureView; | |
- (void) configureProfilePic { | |
[self roundProfilePic]; | |
[self addBorderToProfilePic]; | |
} | |
- (void) roundProfilePic { |
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
(lldb) po [[UIWindow keyWindow] _autolayoutTrace] | |
$0 = 0x0b536fa0 | |
*<UIWindow:0xa25d4e0> | |
| *<UIView:0xa2635c0> | |
| | *<UILabel:0xa262e80> | |
| | *<UILabel:0xa2611a0> | |
| | *<UIImageView:0xa2636c0> | |
| | *<UIScrollView:0xa260c50> | |
| | | *<UIImageView:0xa269fc0> | |
| | | *<UIImageView:0xa26c480> |
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
private void GetAccountPicture() | |
{ | |
var image = UserInformation.GetAccountPicture(AccountPictureKind.SmallImage) as StorageFile; | |
if (image != null) | |
{ | |
try | |
{ | |
IAsyncOperation<IRandomAccessStreamWithContentType> imageStream = image.OpenReadAsync(); | |
var bitmapImage = new BitmapImage(); |