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
SELECT (SELECT a.airportDescription FROM airports a WHERE a.airportID = al.fromAirportID) fromAirport, | |
(SELECT a.airportDescription FROM airports a WHERE a.airportID = al.toAirportID) toAirport, | |
(SELECT c.classDescription FROM class c WHERE c.classID = al.classID) class, | |
(SELECT a.airlineDescription FROM airlines a WHERE a.airlineID = al.airlineID) airline; |
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
SELECT a1.airportDescription toAirport, a2.airportDescription fromAirport, c.classDescription class, a.airlineDescription airline | |
FROM allowances al | |
JOIN airports a1 ON a1.airportID = al.toAirportID | |
JOIN airports a2 ON a2.airportID = al.fromAirportID | |
JOIN class c ON c.classID = al.classID | |
JOIN airlines a ON a.airlineID = al.airlineID; |
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
** BUILD FAILED ** | |
The following build commands failed: | |
CompileC build/PlausibleDatabase.build/Release-MacOSX/Tests-MacOSX.build/Objects-normal/x86_64/PLSqliteDatabaseTests.o Classes/PLSqliteDatabaseTests.m normal x86_64 objective-c com.apple.compilers.llvmgcc42 | |
CompileC build/PlausibleDatabase.build/Release-MacOSX/Tests-MacOSX.build/Objects-normal/x86_64/PLSqliteResultSetTests.o Classes/PLSqliteResultSetTests.m normal x86_64 objective-c com.apple.compilers.llvmgcc42 | |
(2 failures) |
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
NSString *productName = self.product.name; | |
NSString *newLine = [productName stringByAppendingString:@"\n"]; | |
NSString *description = [newLine stringByAppendingString:product.currentPackageType]; | |
descriptionLabel.text = description; | |
UIFont *font = [UIFont fontWithName:@"Helvetica" size:15]; | |
descriptionLabel.font = font; | |
CGSize descriptionStringSize = [description sizeWithFont:font | |
constrainedToSize:maximumSize | |
lineBreakMode:descriptionLabel.lineBreakMode]; |
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
I've been speaking with the coder I'm working with and he works with quite a lot of designers who specialize in ios. He asked me to relay a couple of comments back to you. One if the difference between ios and iphone. ios uses points while photoshop designs typically use pixels and he said it was always best to keep measurements in *even, whole numbers*. For instance, if we get a font that is 21px, on a retina display that would be 10.5 points but we can't specify the .5 and for image measurement, we have the same problem. One of the things he noticed was that one of the font sizes was 34.32px. He assumes that the image was made and then the size was reduced, hence the non-whole number. Also, he said to favor fonts that are used on the iPhone and currently the ios system font is Helvetica Neue. If that's not possible, then he said that font files must be provided with the artwork. I hope this helps. |
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
@class FLDatabaseController; | |
@protocol FLAutocompleteControllerDelegate <NSObject> | |
@required | |
- (void)returnAutoCompleteValue:(NSString*)value; | |
@end | |
@interface FLAutocompleteController : UITableViewController | |
@property (assign) id <FLAutocompleteControllerDelegate> delegate; |
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
UIImageView *magnifyingGlass = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"magnifying-glass"]]; | |
[inputTextField setLeftView:magnifyingGlass]; | |
[inputTextField setLeftViewMode: UITextFieldViewModeAlways]; | |
[magnifyingGlass release]; |
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
// class where delegate is defined | |
@protocol FLAutocompleteControllerDelegate <NSObject> | |
@required | |
- (void)returnAutoCompleteValue:(NSString*)value; | |
@end | |
@interface FLAutocompleteController : UITableViewController | |
@property (assign) id <FLAutocompleteControllerDelegate> delegate; | |
@end |
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
2011-11-14 19:31:26.037 iflybags[20198:b303] -[NSConcreteMutableData flights]: unrecognized selector sent to instance 0x4c91950 | |
2011-11-14 19:31:26.039 iflybags[20198:b303] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSConcreteMutableData flights]: unrecognized selector sent to instance 0x4c91950' | |
*** Call stack at first throw: | |
( | |
0 CoreFoundation 0x011845a9 __exceptionPreprocess + 185 | |
1 libobjc.A.dylib 0x012d8313 objc_exception_throw + 44 | |
2 CoreFoundation 0x011860bb -[NSObject(NSObject) doesNotRecognizeSelector:] + 187 | |
3 CoreFoundation 0x010f5966 ___forwarding___ + 966 | |
4 CoreFoundation 0x010f5522 _CF_forwarding_prep_0 + 50 | |
5 iflybags 0x0000c13c __63-[FLFeeCalculatorController tableView:didSelectRowAtIndexPath:]_block_invoke_0 + 156 |
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
NSLog(@"flights: %@", result); | |
for (FLTimeTableFlights *flights in [result flights]) | |
NSLog(@"%@ %@", [flights airlineCode], [flights flightNumber]); | |
NSLog(@"momo2"); | |
//////////// | |
in console |