Skip to content

Instantly share code, notes, and snippets.

NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *saveFile = [[paths objectAtIndex:0] stringByAppendingPathComponent:[survey name]];
UIViewAutoresizing
Options for automatic view resizing.
enum {
UIViewAutoresizingNone = 0,
UIViewAutoresizingFlexibleLeftMargin = 1 << 0,
UIViewAutoresizingFlexibleWidth = 1 << 1,
UIViewAutoresizingFlexibleRightMargin = 1 << 2,
UIViewAutoresizingFlexibleTopMargin = 1 << 3,
UIViewAutoresizingFlexibleHeight = 1 << 4,
This is a follow-up regarding Bug ID# 14889223.
Please update your report directly at http://bugreport.apple.com for the fastest response. Please do not email your updates.
Engineering has requested the following:
We have reopened your report.
Can you please attach a sample project and some files to add which demonstrates the problem? This works in most scenarios, and our logic tries to figure out what the correct target to select by default for files is. It sounds like you may have found a scenario where that logic doesn't work correctly, so a sample showing that scenario would be very helpful.
[UIView beginAnimations:@"buttons" context:nil];
[UIView setAnimationDuration:0.5];
[UIView setAnimationDelegate:self];
for (UIImageView *imageView in glowImages)
{
if (isOK)
{
[UIView setAnimationDidStopSelector:@selector(onContinueCorrectAnimation)];
[imageView setAlpha:0.5];
//
// SlidingMessageView.h
// SlideView
//
// Created by Nick Fox on 12/30/11.
// Copyright (c) 2011 websmithing.com. All rights reserved.
//
@interface SlidingMessageView : UIView
1) from running the AS analyzer, what needs to be fixed
2) what need to be done to bring the app to localize it to current android standards
3) what needs to be done to the app for branding, ie. xml files and images
4) looking at the code itself, what needs to be done to bring it up to current android coding standards
5) is there any critical error handling missing
6) how long would it take you to comment the code (to the *method* level only) with a tool like dOxygen?
7) does it meet core android quidelines? http://developer.android.com/distribute/googleplay/quality/core.html
@implementation AreaViewControllerElement
-(id)init
{
if (self = [super init])
{
_objectID = -1;
_name = @"";
_address1 = @"";
_address2 = @"";
@interface AreaViewControllerElement : NSObject
@property (nonatomic) NSInteger objectID;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *address1;
@property (nonatomic, copy) NSString *address2;
@property (nonatomic) NSUInteger diversionRate;
@property (nonatomic, strong) CLLocation *location;
@property (nonatomic) CLLocationDistance distance;
@end
@interface AreaViewControllerElement : NSObject
@property (nonatomic) NSInteger objectID;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *address1;
@property (nonatomic, copy) NSString *address2;
@property (nonatomic) NSUInteger diversionRate;
@property (nonatomic, retain) CLLocation *location;
@property (nonatomic) CLLocationDistance distance;
@end
@interface AreaViewControllerElement : NSObject
@property (nonatomic) NSInteger objectID;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *address1;
@property (nonatomic, copy) NSString *address2;
@property (nonatomic) NSUInteger diversionRate;
@property (nonatomic, strong) CLLocation *location;
@property (nonatomic) CLLocationDistance distance;