commit 025e53504dd1590fec2d2025c8b35cea16a931ec Author: Norbert Schmidt Date: Mon Sep 4 11:40:05 2017 +0200 First commit diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..d23d245 Binary files /dev/null and b/.DS_Store differ diff --git a/151-telescope.png b/151-telescope.png new file mode 100755 index 0000000..be5852d Binary files /dev/null and b/151-telescope.png differ diff --git a/151-telescope@2x.png b/151-telescope@2x.png new file mode 100644 index 0000000..719d543 Binary files /dev/null and b/151-telescope@2x.png differ diff --git a/Cadeau - iPushTo - Background - iPhone5.png b/Cadeau - iPushTo - Background - iPhone5.png new file mode 100644 index 0000000..08be056 Binary files /dev/null and b/Cadeau - iPushTo - Background - iPhone5.png differ diff --git a/Classes/06-magnify.png b/Classes/06-magnify.png new file mode 100644 index 0000000..7f7ea8d Binary files /dev/null and b/Classes/06-magnify.png differ diff --git a/Classes/06-magnify@2x.png b/Classes/06-magnify@2x.png new file mode 100644 index 0000000..def4c53 Binary files /dev/null and b/Classes/06-magnify@2x.png differ diff --git a/Classes/07-map-marker.png b/Classes/07-map-marker.png new file mode 100644 index 0000000..93ef225 Binary files /dev/null and b/Classes/07-map-marker.png differ diff --git a/Classes/07-map-marker@2x.png b/Classes/07-map-marker@2x.png new file mode 100644 index 0000000..fa284ed Binary files /dev/null and b/Classes/07-map-marker@2x.png differ diff --git a/Classes/AccelerometerFilter.h b/Classes/AccelerometerFilter.h new file mode 100755 index 0000000..a6ed7b8 --- /dev/null +++ b/Classes/AccelerometerFilter.h @@ -0,0 +1,89 @@ +/* + File: AccelerometerFilter.h + Abstract: Implements a low and high pass filter with optional adaptive filtering. + Version: 2.5 + + Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple + Inc. ("Apple") in consideration of your agreement to the following + terms, and your use, installation, modification or redistribution of + this Apple software constitutes acceptance of these terms. If you do + not agree with these terms, please do not use, install, modify or + redistribute this Apple software. + + In consideration of your agreement to abide by the following terms, and + subject to these terms, Apple grants you a personal, non-exclusive + license, under Apple's copyrights in this original Apple software (the + "Apple Software"), to use, reproduce, modify and redistribute the Apple + Software, with or without modifications, in source and/or binary forms; + provided that if you redistribute the Apple Software in its entirety and + without modifications, you must retain this notice and the following + text and disclaimers in all such redistributions of the Apple Software. + Neither the name, trademarks, service marks or logos of Apple Inc. may + be used to endorse or promote products derived from the Apple Software + without specific prior written permission from Apple. Except as + expressly stated in this notice, no other rights or licenses, express or + implied, are granted by Apple herein, including but not limited to any + patent rights that may be infringed by your derivative works or by other + works in which the Apple Software may be incorporated. + + The Apple Software is provided by Apple on an "AS IS" basis. APPLE + MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION + THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND + OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS. + + IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL + OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, + MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED + AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), + STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + Copyright (C) 2010 Apple Inc. All Rights Reserved. + +*/ + +#import + +// Basic filter object. +@interface AccelerometerFilter : NSObject +{ + BOOL adaptive; + UIAccelerationValue x, y, z; +} + +// Add a UIAcceleration to the filter. +-(void)addAcceleration:(UIAcceleration*)accel; + +@property(nonatomic, readonly) UIAccelerationValue x; +@property(nonatomic, readonly) UIAccelerationValue y; +@property(nonatomic, readonly) UIAccelerationValue z; + +@property(nonatomic, getter=isAdaptive) BOOL adaptive; +@property(nonatomic, readonly) NSString *name; + +@end + +// A filter class to represent a lowpass filter +@interface LowpassFilter : AccelerometerFilter +{ + double filterConstant; + UIAccelerationValue lastX, lastY, lastZ; +} + +-(id)initWithSampleRate:(double)rate cutoffFrequency:(double)freq; + +@end + +// A filter class to represent a highpass filter. +@interface HighpassFilter : AccelerometerFilter +{ + double filterConstant; + UIAccelerationValue lastX, lastY, lastZ; +} + +-(id)initWithSampleRate:(double)rate cutoffFrequency:(double)freq; + +@end \ No newline at end of file diff --git a/Classes/AccelerometerFilter.m b/Classes/AccelerometerFilter.m new file mode 100755 index 0000000..6353ca8 --- /dev/null +++ b/Classes/AccelerometerFilter.m @@ -0,0 +1,164 @@ +/* + File: AccelerometerFilter.m + Abstract: Implements a low and high pass filter with optional adaptive filtering. + Version: 2.5 + + Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple + Inc. ("Apple") in consideration of your agreement to the following + terms, and your use, installation, modification or redistribution of + this Apple software constitutes acceptance of these terms. If you do + not agree with these terms, please do not use, install, modify or + redistribute this Apple software. + + In consideration of your agreement to abide by the following terms, and + subject to these terms, Apple grants you a personal, non-exclusive + license, under Apple's copyrights in this original Apple software (the + "Apple Software"), to use, reproduce, modify and redistribute the Apple + Software, with or without modifications, in source and/or binary forms; + provided that if you redistribute the Apple Software in its entirety and + without modifications, you must retain this notice and the following + text and disclaimers in all such redistributions of the Apple Software. + Neither the name, trademarks, service marks or logos of Apple Inc. may + be used to endorse or promote products derived from the Apple Software + without specific prior written permission from Apple. Except as + expressly stated in this notice, no other rights or licenses, express or + implied, are granted by Apple herein, including but not limited to any + patent rights that may be infringed by your derivative works or by other + works in which the Apple Software may be incorporated. + + The Apple Software is provided by Apple on an "AS IS" basis. APPLE + MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION + THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND + OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS. + + IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL + OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, + MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED + AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), + STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + Copyright (C) 2010 Apple Inc. All Rights Reserved. + +*/ + +#import "AccelerometerFilter.h" + +// Implementation of the basic filter. All it does is mirror input to output. + +@implementation AccelerometerFilter + +@synthesize x, y, z, adaptive; + +-(void)addAcceleration:(UIAcceleration*)accel +{ + x = accel.x; + y = accel.y; + z = accel.z; +} + +-(NSString*)name +{ + return @"You should not see this"; +} + +@end + +#define kAccelerometerMinStep 0.02 +#define kAccelerometerNoiseAttenuation 3.0 + +double Norm(double x, double y, double z) +{ + return sqrt(x * x + y * y + z * z); +} + +double Clamp(double v, double min, double max) +{ + if(v > max) + return max; + else if(v < min) + return min; + else + return v; +} + +// See http://en.wikipedia.org/wiki/Low-pass_filter for details low pass filtering +@implementation LowpassFilter + +-(id)initWithSampleRate:(double)rate cutoffFrequency:(double)freq +{ + self = [super init]; + if(self != nil) + { + double dt = 1.0 / rate; + double RC = 1.0 / freq; + filterConstant = dt / (dt + RC); + } + return self; +} + +-(void)addAcceleration:(UIAcceleration*)accel +{ + double alpha = filterConstant; + + if(adaptive) + { + double d = Clamp(fabs(Norm(x, y, z) - Norm(accel.x, accel.y, accel.z)) / kAccelerometerMinStep - 1.0, 0.0, 1.0); + alpha = (1.0 - d) * filterConstant / kAccelerometerNoiseAttenuation + d * filterConstant; + } + + x = accel.x * alpha + x * (1.0 - alpha); + y = accel.y * alpha + y * (1.0 - alpha); + z = accel.z * alpha + z * (1.0 - alpha); +} + +-(NSString*)name +{ + return adaptive ? @"Adaptive Lowpass Filter" : @"Lowpass Filter"; +} + +@end + +// See http://en.wikipedia.org/wiki/High-pass_filter for details on high pass filtering +@implementation HighpassFilter + +-(id)initWithSampleRate:(double)rate cutoffFrequency:(double)freq +{ + self = [super init]; + if(self != nil) + { + double dt = 1.0 / rate; + double RC = 1.0 / freq; + filterConstant = RC / (dt + RC); + } + return self; +} + +-(void)addAcceleration:(UIAcceleration*)accel +{ + double alpha = filterConstant; + + if(adaptive) + { + double d = Clamp(fabs(Norm(x, y, z) - Norm(accel.x, accel.y, accel.z)) / kAccelerometerMinStep - 1.0, 0.0, 1.0); + alpha = d * filterConstant / kAccelerometerNoiseAttenuation + (1.0 - d) * filterConstant; + } + + x = alpha * (x + accel.x - lastX); + y = alpha * (y + accel.y - lastY); + z = alpha * (z + accel.z - lastZ); + + lastX = accel.x; + lastY = accel.y; + lastZ = accel.z; +} + +-(NSString*)name +{ + return adaptive ? @"Adaptive Highpass Filter" : @"Highpass Filter"; +} + +@end \ No newline at end of file diff --git a/Classes/Classes-1.moved-aside/CoreLocationController.h b/Classes/Classes-1.moved-aside/CoreLocationController.h new file mode 100755 index 0000000..de29243 --- /dev/null +++ b/Classes/Classes-1.moved-aside/CoreLocationController.h @@ -0,0 +1,29 @@ +// +// CoreLocationController.h +// CoreLocationDemo +// +// Created by Nicholas Vellios on 8/15/10. +// Copyright 2010 __MyCompanyName__. All rights reserved. +// + +#import +#import + +@protocol CoreLocationControllerDelegate +@required + +- (void)locationUpdate:(CLLocation *)location; +- (void)locationError:(NSError *)error; + +@end + + +@interface CoreLocationController : NSObject { + CLLocationManager *locMgr; + id delegate; +} + +@property (nonatomic, retain) CLLocationManager *locMgr; +@property (nonatomic, assign) id delegate; + +@end diff --git a/Classes/Classes-1.moved-aside/CoreLocationController.m b/Classes/Classes-1.moved-aside/CoreLocationController.m new file mode 100755 index 0000000..9d59d79 --- /dev/null +++ b/Classes/Classes-1.moved-aside/CoreLocationController.m @@ -0,0 +1,44 @@ +// +// CoreLocationController.m +// CoreLocationDemo +// +// Created by Nicholas Vellios on 8/15/10. +// Copyright 2010 __MyCompanyName__. All rights reserved. +// + +#import "CoreLocationController.h" + + +@implementation CoreLocationController + +@synthesize locMgr, delegate; + +- (id)init { + self = [super init]; + + if(self != nil) { + self.locMgr = [[[CLLocationManager alloc] init] autorelease]; + self.locMgr.delegate = self; + } + + return self; +} + +- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation { + if([self.delegate conformsToProtocol:@protocol(CoreLocationControllerDelegate)]) { + [self.delegate locationUpdate:newLocation]; + } +} + +- (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error { + if([self.delegate conformsToProtocol:@protocol(CoreLocationControllerDelegate)]) { + [self.delegate locationError:error]; + } +} + +- (void)dealloc { + [self.locMgr release]; + [super dealloc]; +} + +@end diff --git a/Classes/Classes/AccelerometerFilter.h b/Classes/Classes/AccelerometerFilter.h new file mode 100755 index 0000000..a6ed7b8 --- /dev/null +++ b/Classes/Classes/AccelerometerFilter.h @@ -0,0 +1,89 @@ +/* + File: AccelerometerFilter.h + Abstract: Implements a low and high pass filter with optional adaptive filtering. + Version: 2.5 + + Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple + Inc. ("Apple") in consideration of your agreement to the following + terms, and your use, installation, modification or redistribution of + this Apple software constitutes acceptance of these terms. If you do + not agree with these terms, please do not use, install, modify or + redistribute this Apple software. + + In consideration of your agreement to abide by the following terms, and + subject to these terms, Apple grants you a personal, non-exclusive + license, under Apple's copyrights in this original Apple software (the + "Apple Software"), to use, reproduce, modify and redistribute the Apple + Software, with or without modifications, in source and/or binary forms; + provided that if you redistribute the Apple Software in its entirety and + without modifications, you must retain this notice and the following + text and disclaimers in all such redistributions of the Apple Software. + Neither the name, trademarks, service marks or logos of Apple Inc. may + be used to endorse or promote products derived from the Apple Software + without specific prior written permission from Apple. Except as + expressly stated in this notice, no other rights or licenses, express or + implied, are granted by Apple herein, including but not limited to any + patent rights that may be infringed by your derivative works or by other + works in which the Apple Software may be incorporated. + + The Apple Software is provided by Apple on an "AS IS" basis. APPLE + MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION + THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND + OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS. + + IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL + OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, + MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED + AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), + STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + Copyright (C) 2010 Apple Inc. All Rights Reserved. + +*/ + +#import + +// Basic filter object. +@interface AccelerometerFilter : NSObject +{ + BOOL adaptive; + UIAccelerationValue x, y, z; +} + +// Add a UIAcceleration to the filter. +-(void)addAcceleration:(UIAcceleration*)accel; + +@property(nonatomic, readonly) UIAccelerationValue x; +@property(nonatomic, readonly) UIAccelerationValue y; +@property(nonatomic, readonly) UIAccelerationValue z; + +@property(nonatomic, getter=isAdaptive) BOOL adaptive; +@property(nonatomic, readonly) NSString *name; + +@end + +// A filter class to represent a lowpass filter +@interface LowpassFilter : AccelerometerFilter +{ + double filterConstant; + UIAccelerationValue lastX, lastY, lastZ; +} + +-(id)initWithSampleRate:(double)rate cutoffFrequency:(double)freq; + +@end + +// A filter class to represent a highpass filter. +@interface HighpassFilter : AccelerometerFilter +{ + double filterConstant; + UIAccelerationValue lastX, lastY, lastZ; +} + +-(id)initWithSampleRate:(double)rate cutoffFrequency:(double)freq; + +@end \ No newline at end of file diff --git a/Classes/Classes/AccelerometerFilter.m b/Classes/Classes/AccelerometerFilter.m new file mode 100755 index 0000000..6353ca8 --- /dev/null +++ b/Classes/Classes/AccelerometerFilter.m @@ -0,0 +1,164 @@ +/* + File: AccelerometerFilter.m + Abstract: Implements a low and high pass filter with optional adaptive filtering. + Version: 2.5 + + Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple + Inc. ("Apple") in consideration of your agreement to the following + terms, and your use, installation, modification or redistribution of + this Apple software constitutes acceptance of these terms. If you do + not agree with these terms, please do not use, install, modify or + redistribute this Apple software. + + In consideration of your agreement to abide by the following terms, and + subject to these terms, Apple grants you a personal, non-exclusive + license, under Apple's copyrights in this original Apple software (the + "Apple Software"), to use, reproduce, modify and redistribute the Apple + Software, with or without modifications, in source and/or binary forms; + provided that if you redistribute the Apple Software in its entirety and + without modifications, you must retain this notice and the following + text and disclaimers in all such redistributions of the Apple Software. + Neither the name, trademarks, service marks or logos of Apple Inc. may + be used to endorse or promote products derived from the Apple Software + without specific prior written permission from Apple. Except as + expressly stated in this notice, no other rights or licenses, express or + implied, are granted by Apple herein, including but not limited to any + patent rights that may be infringed by your derivative works or by other + works in which the Apple Software may be incorporated. + + The Apple Software is provided by Apple on an "AS IS" basis. APPLE + MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION + THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND + OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS. + + IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL + OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, + MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED + AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), + STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + Copyright (C) 2010 Apple Inc. All Rights Reserved. + +*/ + +#import "AccelerometerFilter.h" + +// Implementation of the basic filter. All it does is mirror input to output. + +@implementation AccelerometerFilter + +@synthesize x, y, z, adaptive; + +-(void)addAcceleration:(UIAcceleration*)accel +{ + x = accel.x; + y = accel.y; + z = accel.z; +} + +-(NSString*)name +{ + return @"You should not see this"; +} + +@end + +#define kAccelerometerMinStep 0.02 +#define kAccelerometerNoiseAttenuation 3.0 + +double Norm(double x, double y, double z) +{ + return sqrt(x * x + y * y + z * z); +} + +double Clamp(double v, double min, double max) +{ + if(v > max) + return max; + else if(v < min) + return min; + else + return v; +} + +// See http://en.wikipedia.org/wiki/Low-pass_filter for details low pass filtering +@implementation LowpassFilter + +-(id)initWithSampleRate:(double)rate cutoffFrequency:(double)freq +{ + self = [super init]; + if(self != nil) + { + double dt = 1.0 / rate; + double RC = 1.0 / freq; + filterConstant = dt / (dt + RC); + } + return self; +} + +-(void)addAcceleration:(UIAcceleration*)accel +{ + double alpha = filterConstant; + + if(adaptive) + { + double d = Clamp(fabs(Norm(x, y, z) - Norm(accel.x, accel.y, accel.z)) / kAccelerometerMinStep - 1.0, 0.0, 1.0); + alpha = (1.0 - d) * filterConstant / kAccelerometerNoiseAttenuation + d * filterConstant; + } + + x = accel.x * alpha + x * (1.0 - alpha); + y = accel.y * alpha + y * (1.0 - alpha); + z = accel.z * alpha + z * (1.0 - alpha); +} + +-(NSString*)name +{ + return adaptive ? @"Adaptive Lowpass Filter" : @"Lowpass Filter"; +} + +@end + +// See http://en.wikipedia.org/wiki/High-pass_filter for details on high pass filtering +@implementation HighpassFilter + +-(id)initWithSampleRate:(double)rate cutoffFrequency:(double)freq +{ + self = [super init]; + if(self != nil) + { + double dt = 1.0 / rate; + double RC = 1.0 / freq; + filterConstant = RC / (dt + RC); + } + return self; +} + +-(void)addAcceleration:(UIAcceleration*)accel +{ + double alpha = filterConstant; + + if(adaptive) + { + double d = Clamp(fabs(Norm(x, y, z) - Norm(accel.x, accel.y, accel.z)) / kAccelerometerMinStep - 1.0, 0.0, 1.0); + alpha = d * filterConstant / kAccelerometerNoiseAttenuation + (1.0 - d) * filterConstant; + } + + x = alpha * (x + accel.x - lastX); + y = alpha * (y + accel.y - lastY); + z = alpha * (z + accel.z - lastZ); + + lastX = accel.x; + lastY = accel.y; + lastZ = accel.z; +} + +-(NSString*)name +{ + return adaptive ? @"Adaptive Highpass Filter" : @"Highpass Filter"; +} + +@end \ No newline at end of file diff --git a/Classes/Classes/Classes-1.moved-aside/CoreLocationController.h b/Classes/Classes/Classes-1.moved-aside/CoreLocationController.h new file mode 100755 index 0000000..de29243 --- /dev/null +++ b/Classes/Classes/Classes-1.moved-aside/CoreLocationController.h @@ -0,0 +1,29 @@ +// +// CoreLocationController.h +// CoreLocationDemo +// +// Created by Nicholas Vellios on 8/15/10. +// Copyright 2010 __MyCompanyName__. All rights reserved. +// + +#import +#import + +@protocol CoreLocationControllerDelegate +@required + +- (void)locationUpdate:(CLLocation *)location; +- (void)locationError:(NSError *)error; + +@end + + +@interface CoreLocationController : NSObject { + CLLocationManager *locMgr; + id delegate; +} + +@property (nonatomic, retain) CLLocationManager *locMgr; +@property (nonatomic, assign) id delegate; + +@end diff --git a/Classes/Classes/Classes-1.moved-aside/CoreLocationController.m b/Classes/Classes/Classes-1.moved-aside/CoreLocationController.m new file mode 100755 index 0000000..9d59d79 --- /dev/null +++ b/Classes/Classes/Classes-1.moved-aside/CoreLocationController.m @@ -0,0 +1,44 @@ +// +// CoreLocationController.m +// CoreLocationDemo +// +// Created by Nicholas Vellios on 8/15/10. +// Copyright 2010 __MyCompanyName__. All rights reserved. +// + +#import "CoreLocationController.h" + + +@implementation CoreLocationController + +@synthesize locMgr, delegate; + +- (id)init { + self = [super init]; + + if(self != nil) { + self.locMgr = [[[CLLocationManager alloc] init] autorelease]; + self.locMgr.delegate = self; + } + + return self; +} + +- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation { + if([self.delegate conformsToProtocol:@protocol(CoreLocationControllerDelegate)]) { + [self.delegate locationUpdate:newLocation]; + } +} + +- (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error { + if([self.delegate conformsToProtocol:@protocol(CoreLocationControllerDelegate)]) { + [self.delegate locationError:error]; + } +} + +- (void)dealloc { + [self.locMgr release]; + [super dealloc]; +} + +@end diff --git a/Classes/Classes/CoreLocationController.h b/Classes/Classes/CoreLocationController.h new file mode 100755 index 0000000..77d93a4 --- /dev/null +++ b/Classes/Classes/CoreLocationController.h @@ -0,0 +1,27 @@ +// +// CoreLocationController.h +// IDSC +// +// Created by Norbert Schmidt on 15-01-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import +#import + +@protocol CoreLocationControllerDelegate +@required +- (void)locationUpdate:(CLLocation *)location; // Our location updates are sent here +- (void)locationError:(NSError *)error; // Any errors are sent here +@end + + +@interface CoreLocationController : NSObject { + CLLocationManager *locMgr; + id delegate; +} + +@property (nonatomic, retain) CLLocationManager *locMgr; +@property (nonatomic, assign) id delegate; + +@end \ No newline at end of file diff --git a/Classes/Classes/CoreLocationController.m b/Classes/Classes/CoreLocationController.m new file mode 100755 index 0000000..f887478 --- /dev/null +++ b/Classes/Classes/CoreLocationController.m @@ -0,0 +1,44 @@ +// +// CoreLocationController.m +// IDSC +// +// Created by Norbert Schmidt on 15-01-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import "CoreLocationController.h" + + +@implementation CoreLocationController +@synthesize locMgr, delegate; + +- (id)init { + self = [super init]; + + if(self != nil) { + self.locMgr = [[[CLLocationManager alloc] init] autorelease]; // Create new instance of locMgr + self.locMgr.delegate = self; // Set the delegate as self. + } + + return self; +} + + +- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation { + if([self.delegate conformsToProtocol:@protocol(CoreLocationControllerDelegate)]) { // Check if the class assigning itself as the delegate conforms to our protocol. If not, the message will go nowhere. Not good. + [self.delegate locationUpdate:newLocation]; + } +} + +- (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error { + if([self.delegate conformsToProtocol:@protocol(CoreLocationControllerDelegate)]) { // Check if the class assigning itself as the delegate conforms to our protocol. If not, the message will go nowhere. Not good. + [self.delegate locationError:error]; + } +} + +- (void)dealloc { + [self.locMgr release]; + [super dealloc]; +} + +@end diff --git a/Classes/Classes/MyCLController.h b/Classes/Classes/MyCLController.h new file mode 100755 index 0000000..bb2a3d3 --- /dev/null +++ b/Classes/Classes/MyCLController.h @@ -0,0 +1,39 @@ +// +// MyCLController.h +// IDSC +// +// Created by Norbert Schmidt on 21-01-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import + +@protocol MyCLControllerDelegate +@required +- (void)locationUpdate:(CLLocation *)location; +- (void)headingUpdate:(CLHeading *)heading; + +- (void)locationError:(NSError *)error; +@end + + +@interface MyCLController : NSObject { + CLLocationManager *locationManager; + id delegate; + + +} + +@property (nonatomic, retain) CLLocationManager *locationManager; +@property (nonatomic, assign) id delegate; + + +- (void)locationManager:(CLLocationManager *)manager + didUpdateToLocation:(CLLocation *)newLocation + fromLocation:(CLLocation *)oldLocation; + +- (void)locationManager:(CLLocationManager *)manager + didFailWithError:(NSError *)error; + +@end + diff --git a/Classes/Classes/MyCLController.m b/Classes/Classes/MyCLController.m new file mode 100755 index 0000000..b455668 --- /dev/null +++ b/Classes/Classes/MyCLController.m @@ -0,0 +1,70 @@ +// +// MyCLController.m +// IDSC +// +// Created by Norbert Schmidt on 21-01-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import "MyCLController.h" + +@implementation MyCLController + +@synthesize locationManager; +@synthesize delegate; + +- (id) init { + self = [super init]; + if (self != nil) { + self.locationManager = [[[CLLocationManager alloc] init] autorelease]; + self.locationManager.desiredAccuracy = kCLLocationAccuracyBest; + self.locationManager.delegate = self; // send loc updates to myself + } + return self; +} + +- (void)locationManager:(CLLocationManager *)manager + didUpdateToLocation:(CLLocation *)newLocation + fromLocation:(CLLocation *)oldLocation +{ + + [self.delegate locationUpdate:newLocation]; +} + + +- (void)locationManager:(CLLocationManager *)manager didUpdateHeading:(CLHeading *)newHeading +{ + + [self.delegate headingUpdate:newHeading]; + +} + + + +- (BOOL)locationManagerShouldDisplayHeadingCalibration:(CLLocationManager *)manager { + + if (self.delegate && [self.delegate respondsToSelector:@selector(locationManagerShouldDisplayHeadingCalibration:)]) { + + return [self.delegate locationManagerShouldDisplayHeadingCalibration:manager]; + } + + return YES; +} + + + +- (void)locationManager:(CLLocationManager *)manager + didFailWithError:(NSError *)error +{ + [self.delegate locationError:error]; +} + + + + +- (void)dealloc { + [self.locationManager release]; + [super dealloc]; +} + +@end diff --git a/Classes/Classes/MySingleton.h b/Classes/Classes/MySingleton.h new file mode 100755 index 0000000..6a2183a --- /dev/null +++ b/Classes/Classes/MySingleton.h @@ -0,0 +1,37 @@ +// +// MySingleton.h +// IDSC +// +// Created by Norbert Schmidt on 02-02-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import + + +@interface MySingleton : NSObject { +NSString *objectkeuze; +float rechteklimminguur; +float rechteklimmingminuut; +float declinatieuur; +float declinatieminuut; + + +} + + +@property (nonatomic, retain) NSString* objectkeuze; + +@property(nonatomic, assign) float rechteklimminguur; +@property(nonatomic, assign) float rechteklimmingminuut; +@property(nonatomic, assign) float declinatieuur; +@property(nonatomic, assign) float declinatieminuut; + + + + ++(MySingleton*)sharedMySingleton; +-(void)haalObjectGegevensOp ; + + +@end diff --git a/Classes/Classes/MySingleton.m b/Classes/Classes/MySingleton.m new file mode 100755 index 0000000..6bf26d5 --- /dev/null +++ b/Classes/Classes/MySingleton.m @@ -0,0 +1,1053 @@ +// +// MySingleton.m +// IDSC +// +// Created by Norbert Schmidt on 02-02-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import "MySingleton.h" + + +@implementation MySingleton + + +@synthesize objectkeuze; +@synthesize rechteklimminguur; +@synthesize rechteklimmingminuut; +@synthesize declinatieuur; +@synthesize declinatieminuut; + + + + + +static MySingleton* _sharedMySingleton = nil; + ++(MySingleton*)sharedMySingleton +{ + @synchronized([MySingleton class]) + { + if (!_sharedMySingleton) + [[self alloc] init]; + + return _sharedMySingleton; + } + + return nil; +} + ++(id)alloc +{ + @synchronized([MySingleton class]) + { + NSAssert(_sharedMySingleton == nil, @"Attempted to allocate a second instance of a singleton."); + _sharedMySingleton = [super alloc]; + return _sharedMySingleton; + } + + return nil; +} + +-(id)init { + self = [super init]; + if (self != nil) { + // initialize stuff here + } + + return self; +} + +-(void)haalObjectGegevensOp { + NSString *objectnaam; + + objectnaam=self.objectkeuze; + + + + + if ( objectnaam == @"M1") { + + rechteklimminguur=5; + rechteklimmingminuut=34.5; + declinatieuur=22; + declinatieminuut=1; + } + + + if ( objectnaam == @"M2") { + + rechteklimminguur=21; + rechteklimmingminuut=33.5; + declinatieuur=-0.0000001; + declinatieminuut=49; + } + + + if ( objectnaam == @"M3") { + + rechteklimminguur=13; + rechteklimmingminuut=42.2; + declinatieuur=28; + declinatieminuut=23; + } + + + if ( objectnaam == @"M4") { + + rechteklimminguur=16; + rechteklimmingminuut=23.6; + declinatieuur=-26; + declinatieminuut=32; + } + + if ( objectnaam == @"M5") { + + rechteklimminguur=15; + rechteklimmingminuut=18.6; + declinatieuur=2; + declinatieminuut=5; + } + + if ( objectnaam == @"M6") { + + rechteklimminguur=17; + rechteklimmingminuut=40.1; + declinatieuur=-32; + declinatieminuut=13; + } + + if ( objectnaam == @"M7") { + + rechteklimminguur=17; + rechteklimmingminuut=53.9; + declinatieuur=-34; + declinatieminuut=49; + } + + if ( objectnaam == @"M8") { + + rechteklimminguur=18; + rechteklimmingminuut=3.8; + declinatieuur=-24; + declinatieminuut=23; + } + + if ( objectnaam == @"M9") { + + rechteklimminguur=17; + rechteklimmingminuut=19.2; + declinatieuur=-18; + declinatieminuut=31; + } + + if ( objectnaam == @"M10") { + + rechteklimminguur=16; + rechteklimmingminuut=57.1; + declinatieuur=-4; + declinatieminuut=6; + } + + + + // 11-20 + + + if ( objectnaam == @"M11") { + + rechteklimminguur=18; + rechteklimmingminuut=51.1; + declinatieuur=-6; + declinatieminuut=16; + } + + + if ( objectnaam == @"M12") { + + rechteklimminguur=16; + rechteklimmingminuut=47.2; + declinatieuur=-1; + declinatieminuut=57; + } + + + if ( objectnaam == @"M13") { + + rechteklimminguur=16; + rechteklimmingminuut=41.7; + declinatieuur=36; + declinatieminuut=28; + } + + + if ( objectnaam == @"M14") { + + rechteklimminguur=17; + rechteklimmingminuut=37.6; + declinatieuur=-3; + declinatieminuut=15; + } + + if ( objectnaam == @"M15") { + + rechteklimminguur=21; + rechteklimmingminuut=30; + declinatieuur=12; + declinatieminuut=10; + } + + if ( objectnaam == @"M16") { + + rechteklimminguur=18; + rechteklimmingminuut=18.8; + declinatieuur=-13; + declinatieminuut=47; + } + + if ( objectnaam == @"M17") { + + rechteklimminguur=18; + rechteklimmingminuut=20.8; + declinatieuur=-16; + declinatieminuut=11; + } + + if ( objectnaam == @"M18") { + + rechteklimminguur=18; + rechteklimmingminuut=19.9; + declinatieuur=-17; + declinatieminuut=8; + } + + if ( objectnaam == @"M19") { + + rechteklimminguur=17; + rechteklimmingminuut=2.6; + declinatieuur=-26; + declinatieminuut=16; + } + + if ( objectnaam == @"M20") { + + rechteklimminguur=18; + rechteklimmingminuut=2.6; + declinatieuur=-23; + declinatieminuut=2; + } + + + // 21-30 + + + + if ( objectnaam == @"M21") { + + rechteklimminguur=18; + rechteklimmingminuut=4.6; + declinatieuur=-22; + declinatieminuut=30; + } + + + if ( objectnaam == @"M22") { + + rechteklimminguur=18; + rechteklimmingminuut=36.4; + declinatieuur=-23; + declinatieminuut=54; + } + + + if ( objectnaam == @"M23") { + + rechteklimminguur=17; + rechteklimmingminuut=56.8; + declinatieuur=-19; + declinatieminuut=1; + } + + + if ( objectnaam == @"M24") { + + rechteklimminguur=18; + rechteklimmingminuut=16.9; + declinatieuur=-18; + declinatieminuut=29; + } + + if ( objectnaam == @"M25") { + + rechteklimminguur=18; + rechteklimmingminuut=31.6; + declinatieuur=-19; + declinatieminuut=15; + } + + if ( objectnaam == @"M26") { + + rechteklimminguur=18; + rechteklimmingminuut=45.2; + declinatieuur=-9; + declinatieminuut=24; + } + + if ( objectnaam == @"M27") { + + rechteklimminguur=19; + rechteklimmingminuut=59.6; + declinatieuur=22; + declinatieminuut=43; + } + + if ( objectnaam == @"M28") { + + rechteklimminguur=18; + rechteklimmingminuut=24.5; + declinatieuur=-24; + declinatieminuut=52; + } + + if ( objectnaam == @"M29") { + + rechteklimminguur=20; + rechteklimmingminuut=23.9; + declinatieuur=38; + declinatieminuut=32; + } + + if ( objectnaam == @"M30") { + + rechteklimminguur=21; + rechteklimmingminuut=40.4; + declinatieuur=-23; + declinatieminuut=11; + } + + +// 30- 40 + + + + + if ( objectnaam == @"M31") { + + rechteklimminguur=0; + rechteklimmingminuut=42.7; + declinatieuur=41; + declinatieminuut=16; + } + + + if ( objectnaam == @"M32") { + + rechteklimminguur=00; + rechteklimmingminuut=42.7; + declinatieuur=40; + declinatieminuut=52; + } + + + if ( objectnaam == @"M33") { + + rechteklimminguur=01; + rechteklimmingminuut=33.9; + declinatieuur=30; + declinatieminuut=39; + } + + + if ( objectnaam == @"M34") { + + rechteklimminguur=2; + rechteklimmingminuut=42.0; + declinatieuur=42; + declinatieminuut=47; + } + + if ( objectnaam == @"M35") { + + rechteklimminguur=6; + rechteklimmingminuut=8.9; + declinatieuur=24; + declinatieminuut=20; + } + + if ( objectnaam == @"M36") { + + rechteklimminguur=05; + rechteklimmingminuut=36.1; + declinatieuur=34; + declinatieminuut=8; + } + + if ( objectnaam == @"M37") { + + rechteklimminguur=05; + rechteklimmingminuut=52.4; + declinatieuur=32; + declinatieminuut=33; + } + + if ( objectnaam == @"M38") { + + rechteklimminguur=05; + rechteklimmingminuut=28.4; + declinatieuur=35; + declinatieminuut=50; + } + + if ( objectnaam == @"M39") { + + rechteklimminguur=21; + rechteklimmingminuut=32.2; + declinatieuur=48; + declinatieminuut=26; + } + + if ( objectnaam == @"M40") { + + rechteklimminguur=12; + rechteklimmingminuut=22.4; + declinatieuur=58; + declinatieminuut=5; + } + + // 40-50 + + + + + if ( objectnaam == @"M41") { + + rechteklimminguur=6; + rechteklimmingminuut=46; + declinatieuur=-20; + declinatieminuut=44; + } + + + if ( objectnaam == @"M42") { + + rechteklimminguur=5; + rechteklimmingminuut=35.4; + declinatieuur=-5; + declinatieminuut=27; + } + + + if ( objectnaam == @"M43") { + + rechteklimminguur=5; + rechteklimmingminuut=35.6; + declinatieuur=-5; + declinatieminuut=16; + } + + + if ( objectnaam == @"M44") { + + rechteklimminguur=8; + rechteklimmingminuut=40.1; + declinatieuur=19; + declinatieminuut=59; + } + + if ( objectnaam == @"M45") { + + rechteklimminguur=3; + rechteklimmingminuut=47; + declinatieuur=24; + declinatieminuut=7; + } + + if ( objectnaam == @"M46") { + + rechteklimminguur=7; + rechteklimmingminuut=41.8; + declinatieuur=-14; + declinatieminuut=49; + } + + if ( objectnaam == @"M47") { + + rechteklimminguur=7; + rechteklimmingminuut=36.6; + declinatieuur=-14; + declinatieminuut=30; + } + + if ( objectnaam == @"M48") { + + rechteklimminguur=8; + rechteklimmingminuut=13.8; + declinatieuur=-5; + declinatieminuut=48; + } + + if ( objectnaam == @"M49") { + + rechteklimminguur=12; + rechteklimmingminuut=29.8; + declinatieuur=8; + declinatieminuut=0; + } + + if ( objectnaam == @"M50") { + + rechteklimminguur=7; + rechteklimmingminuut=3.2; + declinatieuur=-8; + declinatieminuut=20; + } + + + + + // 50-60 + + + + + if ( objectnaam == @"M51") { + + rechteklimminguur=13; + rechteklimmingminuut=29.9; + declinatieuur=47; + declinatieminuut=12; + } + + + if ( objectnaam == @"M52") { + + rechteklimminguur=23; + rechteklimmingminuut=24.2; + declinatieuur=61; + declinatieminuut=35; + } + + + if ( objectnaam == @"M53") { + + rechteklimminguur=13; + rechteklimmingminuut=12.9; + declinatieuur=18; + declinatieminuut=10; + } + + + if ( objectnaam == @"M54") { + + rechteklimminguur=18; + rechteklimmingminuut=55.1; + declinatieuur=-30; + declinatieminuut=29; + } + + if ( objectnaam == @"M55") { + + rechteklimminguur=19; + rechteklimmingminuut=40; + declinatieuur=-30; + declinatieminuut=58; + } + + if ( objectnaam == @"M56") { + + rechteklimminguur=19; + rechteklimmingminuut=16.6; + declinatieuur=30; + declinatieminuut=11; + } + + if ( objectnaam == @"M57") { + + rechteklimminguur=18; + rechteklimmingminuut=53.6; + declinatieuur=33; + declinatieminuut=02; + } + + if ( objectnaam == @"M58") { + + rechteklimminguur=12; + rechteklimmingminuut=37.7; + declinatieuur=11; + declinatieminuut=49; + } + + if ( objectnaam == @"M59") { + + rechteklimminguur=12; + rechteklimmingminuut=42; + declinatieuur=11; + declinatieminuut=39; + } + + if ( objectnaam == @"M60") { + + rechteklimminguur=12; + rechteklimmingminuut=34.7; + declinatieuur=11; + declinatieminuut=33; + } + + + // 60-70 + + + + + if ( objectnaam == @"M61") { + + rechteklimminguur=12; + rechteklimmingminuut=21.9; + declinatieuur=4; + declinatieminuut=28; + } + + + if ( objectnaam == @"M62") { + + rechteklimminguur=17; + rechteklimmingminuut=1.2; + declinatieuur=30; + declinatieminuut=7; + } + + + if ( objectnaam == @"M63") { + + rechteklimminguur=13; + rechteklimmingminuut=15.8; + declinatieuur=42; + declinatieminuut=2; + } + + + if ( objectnaam == @"M64") { + + rechteklimminguur=12; + rechteklimmingminuut=56.7; + declinatieuur=21; + declinatieminuut=41; + } + + if ( objectnaam == @"M65") { + + rechteklimminguur=11; + rechteklimmingminuut=18.9; + declinatieuur=13; + declinatieminuut=5; + } + + if ( objectnaam == @"M66") { + + rechteklimminguur=11; + rechteklimmingminuut=20.2; + declinatieuur=12; + declinatieminuut=59; + } + + if ( objectnaam == @"M67") { + + rechteklimminguur=8; + rechteklimmingminuut=50.4; + declinatieuur=11; + declinatieminuut=49; + } + + if ( objectnaam == @"M68") { + + rechteklimminguur=12; + rechteklimmingminuut=39.5; + declinatieuur=-26; + declinatieminuut=45; + } + + if ( objectnaam == @"M69") { + + rechteklimminguur=18; + rechteklimmingminuut=31.4; + declinatieuur=-32; + declinatieminuut=21; + } + + if ( objectnaam == @"M70") { + + rechteklimminguur=18; + rechteklimmingminuut=43.2; + declinatieuur=-32; + declinatieminuut=18; + } + + + // 71-80 + + + + + if ( objectnaam == @"M71") { + + rechteklimminguur=19; + rechteklimmingminuut=53.8; + declinatieuur=18; + declinatieminuut=47; + } + + + if ( objectnaam == @"M72") { + + rechteklimminguur=20; + rechteklimmingminuut=53.5; + declinatieuur=-12; + declinatieminuut=32; + } + + + if ( objectnaam == @"M73") { + + rechteklimminguur=20; + rechteklimmingminuut=58.9; + declinatieuur=-12; + declinatieminuut=38; + } + + + if ( objectnaam == @"M74") { + + rechteklimminguur=1; + rechteklimmingminuut=36.7; + declinatieuur=15; + declinatieminuut=47; + } + + if ( objectnaam == @"M75") { + + rechteklimminguur=20; + rechteklimmingminuut=6.1; + declinatieuur=21; + declinatieminuut=55; + } + + if ( objectnaam == @"M76") { + + rechteklimminguur=1; + rechteklimmingminuut=42.4; + declinatieuur=51; + declinatieminuut=34; + } + + if ( objectnaam == @"M77") { + + rechteklimminguur=2; + rechteklimmingminuut=42.7; + declinatieuur=0; + declinatieminuut=1; + } + + if ( objectnaam == @"M78") { + + rechteklimminguur=5; + rechteklimmingminuut=46.7; + declinatieuur=0; + declinatieminuut=3; + } + + if ( objectnaam == @"M79") { + + rechteklimminguur=5; + rechteklimmingminuut=24.5; + declinatieuur=-24; + declinatieminuut=33; + } + + + if ( objectnaam == @"M80") { + + rechteklimminguur=16; + rechteklimmingminuut=17; + declinatieuur=-22; + declinatieminuut=59; + } + + + // 81-90 + + + + + if ( objectnaam == @"M81") { + + rechteklimminguur=9; + rechteklimmingminuut=55.6; + declinatieuur=69; + declinatieminuut=4; + } + + + if ( objectnaam == @"M82") { + + rechteklimminguur=9; + rechteklimmingminuut=55.8; + declinatieuur=69; + declinatieminuut=41; + } + + + if ( objectnaam == @"M83") { + + rechteklimminguur=13; + rechteklimmingminuut=37; + declinatieuur=-29; + declinatieminuut=52; + } + + + if ( objectnaam == @"M84") { + + rechteklimminguur=12; + rechteklimmingminuut=25.1; + declinatieuur=12; + declinatieminuut=53; + } + + if ( objectnaam == @"M85") { + + rechteklimminguur=12; + rechteklimmingminuut=25.4; + declinatieuur=18; + declinatieminuut=11; + } + + if ( objectnaam == @"M86") { + + rechteklimminguur=12; + rechteklimmingminuut=26.2; + declinatieuur=12; + declinatieminuut=57; + } + + if ( objectnaam == @"M87") { + + rechteklimminguur=12; + rechteklimmingminuut=30.8; + declinatieuur=12; + declinatieminuut=24; + } + + if ( objectnaam == @"M88") { + + rechteklimminguur=12; + rechteklimmingminuut=32; + declinatieuur=14; + declinatieminuut=25; + } + + if ( objectnaam == @"M89") { + + rechteklimminguur=12; + rechteklimmingminuut=35.7; + declinatieuur=12; + declinatieminuut=33; + } + + + if ( objectnaam == @"M90") { + + rechteklimminguur=12; + rechteklimmingminuut=36.8; + declinatieuur=13; + declinatieminuut=10; + } + + + // 91-100 + + + + + if ( objectnaam == @"M91") { + + rechteklimminguur=12; + rechteklimmingminuut=35.5; + declinatieuur=14; + declinatieminuut=30; + } + + + if ( objectnaam == @"M92") { + + rechteklimminguur=17; + rechteklimmingminuut=17.1; + declinatieuur=43; + declinatieminuut=8; + } + + + if ( objectnaam == @"M93") { + + rechteklimminguur=7; + rechteklimmingminuut=44.6; + declinatieuur=-23; + declinatieminuut=52; + } + + + if ( objectnaam == @"M94") { + + rechteklimminguur=12; + rechteklimmingminuut=50.9; + declinatieuur=41; + declinatieminuut=7; + } + + if ( objectnaam == @"M95") { + + rechteklimminguur=10; + rechteklimmingminuut=44; + declinatieuur=11; + declinatieminuut=42; + } + + if ( objectnaam == @"M96") { + + rechteklimminguur=10; + rechteklimmingminuut=46.8; + declinatieuur=11; + declinatieminuut=49; + } + + if ( objectnaam == @"M97") { + + rechteklimminguur=11; + rechteklimmingminuut=14.8; + declinatieuur=55; + declinatieminuut=1; + } + + if ( objectnaam == @"M98") { + + rechteklimminguur=12; + rechteklimmingminuut=13.8; + declinatieuur=14; + declinatieminuut=54; + } + + if ( objectnaam == @"M99") { + + rechteklimminguur=12; + rechteklimmingminuut=18.8; + declinatieuur=14; + declinatieminuut=25; + } + + + if ( objectnaam == @"M100") { + + rechteklimminguur=12; + rechteklimmingminuut=22.9; + declinatieuur=15; + declinatieminuut=49; + } + + // 101-110 + + + + + if ( objectnaam == @"M101") { + + rechteklimminguur=14; + rechteklimmingminuut=3.2; + declinatieuur=54; + declinatieminuut=21; + } + + + if ( objectnaam == @"M102") { + + rechteklimminguur=15; + rechteklimmingminuut=6.5; + declinatieuur=55; + declinatieminuut=46; + } + + + if ( objectnaam == @"M103") { + + rechteklimminguur=1; + rechteklimmingminuut=33.2; + declinatieuur=60; + declinatieminuut=42; + } + + + if ( objectnaam == @"M104") { + + rechteklimminguur=12; + rechteklimmingminuut=40; + declinatieuur=-11; + declinatieminuut=37; + } + + if ( objectnaam == @"M105") { + + rechteklimminguur=10; + rechteklimmingminuut=47.8; + declinatieuur=12; + declinatieminuut=35; + } + + if ( objectnaam == @"M106") { + + rechteklimminguur=12; + rechteklimmingminuut=19; + declinatieuur=47; + declinatieminuut=18; + } + + if ( objectnaam == @"M107") { + + rechteklimminguur=16; + rechteklimmingminuut=32.5; + declinatieuur=-13; + declinatieminuut=3; + } + + if ( objectnaam == @"M108") { + + rechteklimminguur=11; + rechteklimmingminuut=11.5; + declinatieuur=55; + declinatieminuut=40; + } + + if ( objectnaam == @"M109") { + + rechteklimminguur=11; + rechteklimmingminuut=57.6; + declinatieuur=53; + declinatieminuut=23; + } + + + if ( objectnaam == @"M110") { + + rechteklimminguur=0; + rechteklimmingminuut=40.4; + declinatieuur=41; + declinatieminuut=41; + } + + + + + + +} + + + +@end diff --git a/Classes/Classes/OrientationAppDelegate.h b/Classes/Classes/OrientationAppDelegate.h new file mode 100755 index 0000000..b100619 --- /dev/null +++ b/Classes/Classes/OrientationAppDelegate.h @@ -0,0 +1,23 @@ +// + + +#import + + +@class OrientationViewController; + +@interface OrientationAppDelegate : NSObject { + UIWindow *window; + IBOutlet UITabBarController *tabBarController; + + OrientationViewController *viewController; + + +} + +@property (nonatomic, retain) IBOutlet UIWindow *window; +@property (nonatomic, retain) IBOutlet UITabBarController *tabBarController; +@property (nonatomic, retain) IBOutlet OrientationViewController *viewController; + +@end + diff --git a/Classes/Classes/OrientationAppDelegate.m b/Classes/Classes/OrientationAppDelegate.m new file mode 100755 index 0000000..d79bf17 --- /dev/null +++ b/Classes/Classes/OrientationAppDelegate.m @@ -0,0 +1,45 @@ +#import "OrientationAppDelegate.h" +#import "OrientationViewController.h" +#import "ZoekformulierViewController.h" + + + +@implementation OrientationAppDelegate + +@synthesize window; +@synthesize viewController; +@synthesize tabBarController; + + +- (void)applicationDidFinishLaunching:(UIApplication *)application { + + // Override point for customization after app launch + [window addSubview:viewController.view]; + [window addSubview:tabBarController.view]; + + + + [window makeKeyAndVisible]; + + + + + + + + + + + +} + + +- (void)dealloc { + [tabBarController release]; + [viewController release]; + [window release]; + [super dealloc]; +} + + +@end diff --git a/Classes/Classes/OrientationViewController.h b/Classes/Classes/OrientationViewController.h new file mode 100755 index 0000000..168554a --- /dev/null +++ b/Classes/Classes/OrientationViewController.h @@ -0,0 +1,39 @@ +#import +#import "MyCLController.h" +#import "MySingleton.h" + + + +@interface OrientationViewController : UIViewController + { + MyCLController *locationController; + IBOutlet UITabBar *tabBar; + IBOutlet UILabel *alt; + IBOutlet UILabel *az; + IBOutlet UILabel *objalt; + IBOutlet UILabel *objaz; + IBOutlet UILabel *latLabel; + IBOutlet UILabel *longLabel; + IBOutlet UILabel *timeLabel; + IBOutlet UILabel *radecinfoLabel; + IBOutlet UILabel *objectlabel; + IBOutlet UILabel *objinfoLabel; + + + +} + + +@property (nonatomic, retain) UILabel *alt; +@property (nonatomic, retain) UILabel *az; +@property (nonatomic, retain) UILabel *objalt; +@property (nonatomic, retain) UILabel *objaz; +@property (nonatomic, retain) UILabel *latLabel; +@property (nonatomic, retain) UILabel *longLabel; +@property (nonatomic, retain) UILabel *timeLabel; +@property (nonatomic, retain) UILabel *radecinfoLabel; +@property (nonatomic, retain) UILabel *objinfoLabel; +@property (nonatomic, retain) UILabel *objectlabel; + + +@end diff --git a/Classes/Classes/OrientationViewController.m b/Classes/Classes/OrientationViewController.m new file mode 100755 index 0000000..0d75f10 --- /dev/null +++ b/Classes/Classes/OrientationViewController.m @@ -0,0 +1,442 @@ + +#import "OrientationViewController.h" +#import "ZoekFormulierViewController.h" + +@implementation OrientationViewController + + +@synthesize alt; +@synthesize az; +@synthesize objalt; +@synthesize objaz; +@synthesize latLabel; +@synthesize longLabel; +@synthesize timeLabel; +@synthesize radecinfoLabel; +@synthesize objectlabel; +@synthesize objinfoLabel; + + + + + + + + + + + +- (id) init { + self = [super init]; + if (self != nil) { + } + return self; + + + +} + + + + + + +#pragma mark - +#pragma mark UIAccelerometerDelegate + +- (void)accelerometer:(UIAccelerometer *)accelerometer + didAccelerate:(UIAcceleration *)acceleration { + + + UIAccelerationValue x, y, z; + + x = acceleration.x; + y = acceleration.y; + z = acceleration.z; + + float degrees = ((z * 90) +90); + + + // De altitude laten zien op scherm + + alt.text = [NSString stringWithFormat:@"%.2f", degrees]; + + + +} + + +#pragma mark - + +/* +// The designated initializer. Override to perform setup that is required before the view is loaded. +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { + if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) { + // Custom initialization + } + return self; +} +*/ + +/* +// Implement loadView to create a view hierarchy programmatically, without using a nib. +- (void)loadView { +} +*/ + +// Implement viewDidLoad to do additional setup after loading the view, typically from a nib. +- (void)viewDidLoad { + + + locationController = [[MyCLController alloc] init]; + locationController.delegate = self; + tabBar.delegate = self; + + + + + + + [locationController.locationManager startUpdatingLocation]; + [locationController.locationManager startUpdatingHeading]; + + // Kost wat meer batterij, maar precisie boven alles. + locationController.locationManager.desiredAccuracy = kCLLocationAccuracyBest; + locationController.locationManager.headingFilter = kCLHeadingFilterNone; + + UIAccelerometer *accelerometer = [UIAccelerometer sharedAccelerometer]; + accelerometer.delegate = self; + + // Terugzetten naar 0.5 voor productie! + + accelerometer.updateInterval = 0.5; // twice per second + + + + + + + + [super viewDidLoad]; +} + + +- (void)didReceiveMemoryWarning { + // Releases the view if it doesn't have a superview. + [super didReceiveMemoryWarning]; + + // Release any cached data, images, etc that aren't in use. +} + +- (void)viewDidUnload { + // Release any retained subviews of the main view. + // e.g. self.myOutlet = nil; +} + + +- (void)locationUpdate:(CLLocation *)location { + + NSString *strUren; + NSString *strMinuten; + NSString *strJaar; + NSString *strMaand; + NSString *strDag; + NSString *strObjectinfo; + + + double latit, longit, lst, rechteklimming, declinatie, uurhoek, dag, maand, uren, minuten,jaar, maanddagen, dagdagen ; + double rechteklimminguur, rechteklimmingminuut, declinatieuur, declinatieminuut, dagenj2000, dectijd, tijdut; + double HARad, DECRad, ALTRad,AZ,LatRad, sinALT, ALT, cosAZ,AZ11,AZ12,sinAZ,AZ21,AZ22; + + + + + + + + +// We gebruiken een singleton object (globale variabele om de objectkeuze van de andere tab door te geven) + + + strObjectinfo=[MySingleton sharedMySingleton].objectkeuze; + + + [MySingleton sharedMySingleton].haalObjectGegevensOp; + + + rechteklimminguur=[MySingleton sharedMySingleton].rechteklimminguur; + rechteklimmingminuut=[MySingleton sharedMySingleton].rechteklimmingminuut; + declinatieuur=[MySingleton sharedMySingleton].declinatieuur; + declinatieminuut=[MySingleton sharedMySingleton].declinatieminuut; + + + +// Laat zien op scherm + + NSString *radecinfo = [NSString stringWithFormat:@"RA %.0f h, %.0f min, DEC %.0f h, %.0f min",rechteklimminguur,rechteklimmingminuut, declinatieuur, declinatieminuut]; + + radecinfoLabel.text = radecinfo; + + + + + + if (strObjectinfo==NULL) strObjectinfo=@"Please Choose"; + + objectlabel.text=strObjectinfo; + + + + +// conversie naar decimalen + + rechteklimming= rechteklimminguur + (rechteklimmingminuut/60) ; + rechteklimming = rechteklimming *15; + declinatie= declinatieuur + (declinatieminuut/60); + +// NSLog(@"rechteklimming %f", rechteklimming); +// NSLog(@"declinatie object %f", declinatie); + + +// opslaan huidige locatie voor berekenening + + latit = location.coordinate.latitude; + longit= location.coordinate.longitude; + + +// We werken in UTC + + NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; + NSTimeZone *timeZone = [NSTimeZone timeZoneWithName:@"UTC"]; + [formatter setTimeZone:timeZone]; + + + // Dag grabben + [formatter setDateFormat:@"dd"]; + strDag= [formatter stringFromDate:location.timestamp]; + + // Maand grabben + [formatter setDateFormat:@"mm"]; + strMaand= [formatter stringFromDate:location.timestamp]; + + + // Uren grabben + [formatter setDateFormat:@"HH"]; + strUren= [formatter stringFromDate:location.timestamp]; + + // Minuten grabben + [formatter setDateFormat:@"mm"]; + strMinuten= [formatter stringFromDate:location.timestamp]; + + // Jaar grabben + [formatter setDateFormat:@"yyyy"]; + strJaar= [formatter stringFromDate:location.timestamp]; + + + // Converteer string naar float + + + dag = [strDag floatValue]; + maand = [strMaand floatValue]; + uren = [strUren floatValue]; + minuten = [strMinuten floatValue]; + jaar = [strJaar floatValue]; + + + + + +// Aantal dagen sinds epoch 2000 berekenen + + // Maak van uren+minuten een decimaal + dectijd =uren + (minuten/60); + dectijd = dectijd/24; + + + // vervang deze harde waarden door een array of database!!! + + + /* + Table A | Table B + Days to beginning of | Days since J2000 to + month | beginning of each year + | + Month Normal Leap | Year Days | Year Days + year year | | + | | + Jan 0 0 | 1998 -731.5 | 2010 3651.5 + Feb 31 31 | 1999 -366.5 | 2011 4016.5 + Mar 59 60 | 2000 -1.5 | 2012 4381.5 + Apr 90 91 | 2001 364.5 | 2013 4747.5 + May 120 121 | 2002 729.5 | 2014 5112.5 + Jun 151 152 | 2003 1094.5 | 2015 5477.5 + Jul 181 182 | 2004 1459.5 | 2016 5842.5 + Aug 212 213 | 2005 1825.5 | 2017 6208.5 + Sep 243 244 | 2006 2190.5 | 2018 6573.5 + Oct 273 274 | 2007 2555.5 | 2019 6938.5 + Nov 304 305 | 2008 2920.5 | 2020 7303.5 + + */ + + + + + + // in een array plaatsen! + maanddagen= 31; // Aantal dagen sinds begin van het jaar Augustus in een niet-schrikkeljaar + + +NSLog(@"log: %@ ", strJaar); + + if (strJaar==@"2011") dagdagen=4016.5; + if (strJaar==@"2012") dagdagen=4016.5; + if (strJaar==@"2013") dagdagen=4016.5; + if (strJaar==@"2014") dagdagen=4016.5; + if (strJaar==@"2015") dagdagen=4016.5; + if (strJaar==@"2016") dagdagen=4016.5; + if (strJaar==@"2017") dagdagen=4016.5; + if (strJaar==@"2018") dagdagen=4016.5; + + + + dagdagen=4016.5; // Aantal dagen sinds 01-01-2000 tot begin van het jaar + + + + + + + // optellen en aantal dagen bepalen sinds 01-01-2000 0:00 + + dagenj2000=dectijd+maanddagen+dag+dagdagen; + +// NSLog(@"dagen sinds 2000 %f", dagenj2000); + + + // Local Siderial Time + + + // UT tijd berekenen + tijdut =uren + (minuten/60); + + lst = 100.46 + 0.985647 * dagenj2000 + longit + 15*tijdut ; + + // modulusberekening. Cocoa doet alleen INT op modulus + lst = lst - (floor(lst/ 360) *360); + + + +// NSLog(@"tijdUT %f", tijdut); +// NSLog(@"long %f", longit); +// NSLog(@"lst %f", lst); + + + +// Uurhoek berekenen. Als uurhoek <0 360 erbij optellen. + + + uurhoek = lst - rechteklimming; + if (uurhoek<0){ + uurhoek=uurhoek+360; + } + + + +// NSLog(@"Uurhoek %f", uurhoek); + + +// CONVERSIE RA/DEC --> ALTAZ + + // Converteer graden naar radians; + + HARad= (uurhoek*M_PI)/180; + DECRad = (declinatie*M_PI)/180; + LatRad = (latit*M_PI)/180; + + sinALT = sin(DECRad) * sin(LatRad) + cos(DECRad)* cos(LatRad)* cos(HARad); + ALTRad = asin(sinALT) ; + ALT = ALTRad * 180/M_PI; + cosAZ = (sin(DECRad)* cos(LatRad)- cos(DECRad)*cos(HARad)* sin(LatRad))/ cos(ALTRad) ; + AZ11 = (acos(cosAZ)) * 180/M_PI ; + AZ12 = 360 - AZ11 ; + sinAZ = (-cos(DECRad)*sin(HARad))/cos(ALTRad); + AZ21 = (asin(sinAZ)) * 180/M_PI ; + if (AZ21 >=0 ) {AZ22 = 180 - AZ21 ;} else { AZ22 = 360 - AZ21 ; } ; + if ((abs(AZ11-AZ21) <= 0.0001)||(abs(AZ11-AZ22) <= 0.0001)){ + AZ = AZ11 ; + }else {AZ = AZ12 ;} + +// NSLog(@"objaz %f", AZ); +// NSLog(@"objalt %f", ALT); + + +// SCHERMOUTPUT + + + // Object Alt/az laten zien (berekend uit RADEC); + + objalt.text = [NSString stringWithFormat:@"%.2f", ALT]; + objaz.text = [NSString stringWithFormat:@"%.2f", AZ]; + + + // Laat lat en Lon zien op scherm + latLabel.text = [NSString stringWithFormat:@"Lat: %l.2f", location.coordinate.latitude]; + longLabel.text = [NSString stringWithFormat:@"Lon: %l.2f", location.coordinate.longitude]; + + // TijdLabel op scherm (terugconverteren naar GMT+1) + + timeZone = [NSTimeZone timeZoneWithName:@"GMT+1"]; + [formatter setTimeZone:timeZone]; + + [formatter setDateFormat:@"HH:mm"]; + strUren= [formatter stringFromDate:location.timestamp]; + timeLabel.text= strUren; + + // releases + formatter.release; +} + +- (void)headingUpdate:(CLHeading *)heading { + + + + + // If the accuracy is valid, process the event. + + if (heading.headingAccuracy > 0) + + { + + az.text = [NSString stringWithFormat:@"%.2f", heading.trueHeading]; + + + // Do something with the event data. + + } + + + + +} + + + +- (void)locationError:(NSError *)error { + latLabel.text = [error description]; +} + + + + + + + + + +- (void)dealloc { + [locationController release]; + [tabBar release]; + [super dealloc]; +} + +@end diff --git a/Classes/Classes/ZoekFormulierViewController.h b/Classes/Classes/ZoekFormulierViewController.h new file mode 100755 index 0000000..9aa0984 --- /dev/null +++ b/Classes/Classes/ZoekFormulierViewController.h @@ -0,0 +1,30 @@ +// +// ZoekFormulierViewController.h +// IDSC +// +// Created by Norbert Schmidt on 02-02-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import + + +@interface ZoekFormulierViewController : UIViewController < UITableViewDataSource, UITableViewDelegate> { + UITableView *mainTableView; + NSMutableArray *contentsList; + NSMutableArray *searchResults; + NSString *savedSearchTerm; + + + +} + + +@property (nonatomic, retain) IBOutlet UITableView *mainTableView; +@property (nonatomic, retain) NSMutableArray *contentsList; +@property (nonatomic, retain) NSMutableArray *searchResults; +@property (nonatomic, copy) NSString *savedSearchTerm; + +- (void)handleSearchForTerm:(NSString *)searchTerm; + +@end diff --git a/Classes/Classes/ZoekFormulierViewController.m b/Classes/Classes/ZoekFormulierViewController.m new file mode 100755 index 0000000..cd638e9 --- /dev/null +++ b/Classes/Classes/ZoekFormulierViewController.m @@ -0,0 +1,280 @@ +// +// ZoekFormulierViewController.m +// IDSC +// +// Created by Norbert Schmidt on 02-02-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import "ZoekFormulierViewController.h" +#import "MySingleton.h" + + +@implementation ZoekFormulierViewController + + +@synthesize mainTableView; +@synthesize contentsList; +@synthesize searchResults; +@synthesize savedSearchTerm; + + + +// The designated initializer. Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad. +/* +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { + self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; + if (self) { + // Custom initialization. + } + return self; +} +*/ + +/* +// Implement viewDidLoad to do additional setup after loading the view, typically from a nib. +- (void)viewDidLoad { + [super viewDidLoad]; +} +*/ + +/* +// Override to allow orientations other than the default portrait orientation. +- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { + // Return YES for supported orientations. + return (interfaceOrientation == UIInterfaceOrientationPortrait); +} +*/ + +- (void)didReceiveMemoryWarning { + // Releases the view if it doesn't have a superview. + [super didReceiveMemoryWarning]; + + // Release any cached data, images, etc. that aren't in use. +} + +- (void)viewDidLoad +{ + + [super viewDidLoad]; + + NSMutableArray *array = [[NSMutableArray alloc] initWithObjects: + @"M1", @"M2", @"M3", @"M4", @"M5", @"M6", @"M7", @"M8", @"M9", @"M10", + @"M11", @"M12", @"M13", @"M14", @"M15", @"M16", @"M17", @"M18", @"M19", + @"M20", @"M21", @"M22", @"M23", @"M24", @"M25", @"M26", @"M27", @"M28", @"M29", + @"M30", @"M31", @"M32", @"M33", @"M34", @"M35", @"M36", @"M37", @"M38", @"M39", + @"M40", @"M41", @"M42", @"M43", @"M44", @"M45", @"M46", @"M47", @"M48", @"M49", + @"M50", @"M51", @"M52", @"M53", @"M54", @"M55", @"M56", @"M57", @"M58", @"M59", + @"M60", @"M61", @"M62", @"M63", @"M64", @"M65", @"M66", @"M67", @"M68", @"M69", + @"M70", @"M71", @"M72", @"M73", @"M74", @"M75", @"M76", @"M77", @"M78", @"M79", + @"M80", @"M81", @"M82", @"M83", @"M84", @"M85", @"M86", @"M87", @"M88", @"M89", + @"M90", @"M91", @"M92", @"M93", @"M94", @"M95", @"M96", @"M97", @"M98", @"M99", + @"M100", @"M101", @"M102", @"M103", @"M104", @"M105", @"M106", @"M107", @"M108", @"M109", @"M110", nil]; + + + + + + [self setContentsList:array]; + [array release], array = nil; + // Restore search term + if ([self savedSearchTerm]) + { + [[[self searchDisplayController] searchBar] setText:[self savedSearchTerm]]; + + + + + + + + + } + +} + + +- (void)viewWillAppear:(BOOL)animated +{ + + + [super viewWillAppear:animated]; + + [[self mainTableView] reloadData]; + + +} + + + + + +- (void)handleSearchForTerm:(NSString *)searchTerm +{ + [self setSavedSearchTerm:searchTerm]; + + if ([self searchResults] == nil) + { + NSMutableArray *array = [[NSMutableArray alloc] init]; + [self setSearchResults:array]; + [array release], array = nil; + } + + [[self searchResults] removeAllObjects]; + + if ([[self savedSearchTerm] length] != 0) + { + for (NSString *currentString in [self contentsList]) + { + if ([currentString rangeOfString:searchTerm options:NSCaseInsensitiveSearch].location != NSNotFound) + { + [[self searchResults] addObject:currentString]; + + + } + } + } +} + + +- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section +{ + NSInteger rows; + + if (tableView == [[self searchDisplayController] searchResultsTableView]) + rows = [[self searchResults] count]; + else + rows = [[self contentsList] count]; + + return rows; +} + + + +- (void) tableView:(UITableView *) tableView +didSelectRowAtIndexPath: (NSIndexPath *) indexPath { + + + + UITableViewCell *cell; + cell = [tableView cellForRowAtIndexPath:indexPath]; + + + + [MySingleton sharedMySingleton].objectkeuze = cell.textLabel.text; + // RADEC vullen. + + [MySingleton sharedMySingleton].haalObjectGegevensOp; + + + + + + + + + // [[MySingleton sharedMySingleton] laatObjectzien]; + + + +} + + + + + + + +- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath +{ + NSInteger row = [indexPath row]; + NSString *contentForThisRow = nil; + + if (tableView == [[self searchDisplayController] searchResultsTableView]) + contentForThisRow = [[self searchResults] objectAtIndex:row]; + + else + contentForThisRow = [[self contentsList] objectAtIndex:row]; + + static NSString *CellIdentifier = @"CellIdentifier"; + + UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; + if (cell == nil) + { + cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease]; + } + + [[cell textLabel] setText:contentForThisRow]; + + + + + + + + + return cell; +} + +- (void)searchDisplayControllerWillEndSearch:(UISearchDisplayController *)controller +{ + [self setSavedSearchTerm:nil]; + + [[self mainTableView] reloadData]; +} + + + + +- (BOOL)searchDisplayController:(UISearchDisplayController *)controller +shouldReloadTableForSearchString:(NSString *)searchString +{ + [self handleSearchForTerm:searchString]; + + return YES; +} + + + + + +- (void)viewDidUnload +{ + [super viewDidUnload]; + + // Save the state of the search UI so that it can be restored if the view is re-created. + [self setSavedSearchTerm:[[[self searchDisplayController] searchBar] text]]; + + + + + + + [self setSearchResults:nil]; +} + + + + +- (void)dealloc { + + + + + [mainTableView release], mainTableView = nil; + [contentsList release], contentsList = nil; + + [searchResults release], searchResults = nil; + [savedSearchTerm release], savedSearchTerm = nil; + + [super dealloc]; + + + +} + + + + + +@end diff --git a/Classes/Classes/ZoekFormulierViewController.xib b/Classes/Classes/ZoekFormulierViewController.xib new file mode 100755 index 0000000..7c12109 --- /dev/null +++ b/Classes/Classes/ZoekFormulierViewController.xib @@ -0,0 +1,601 @@ + + + + 1056 + 10J567 + 823 + 1038.35 + 462.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 132 + + + YES + + + + YES + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + YES + + YES + + + YES + + + + YES + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 274 + + YES + + + 274 + + YES + + + 290 + {320, 44} + + 3 + IBCocoaTouchFramework + + IBCocoaTouchFramework + + + + + 274 + + YES + + + 290 + {320, 44} + + + 1 + MC41MjcxNzM5MTMgMCAwAA + + 3 + IBCocoaTouchFramework + + 1 + MC41MjcxNzM5MTMgMCAwAA + + + IBCocoaTouchFramework + + + + {320, 542} + + + 1 + MC41MjcxNzM5MTMgMCAwAA + + YES + 0.76760566234588623 + {{0, 0}, {0, 0}} + IBCocoaTouchFramework + YES + 0.0 + 0.0 + 1 + 0 + YES + 44 + 22 + 22 + + + + {320, 542} + + + 3 + MQA + + YES + IBCocoaTouchFramework + YES + 1 + 0 + YES + 44 + 22 + 22 + + + + + {320, 460} + + + 3 + MQA + + 2 + + + + IBCocoaTouchFramework + + + IBCocoaTouchFramework + + + + + YES + + + view + + + + 3 + + + + mainTableView + + + + 5 + + + + dataSource + + + + 9 + + + + delegate + + + + 10 + + + + searchBar + + + + 14 + + + + searchDisplayController + + + + 15 + + + + searchContentsController + + + + 16 + + + + searchResultsDataSource + + + + 17 + + + + searchResultsDelegate + + + + 18 + + + + delegate + + + + 19 + + + + delegate + + + + 20 + + + + dataSource + + + + 25 + + + + delegate + + + + 26 + + + + delegate + + + + 27 + + + + + YES + + 0 + + + + + + 1 + + + YES + + + + + + -1 + + + File's Owner + + + -2 + + + + + 4 + + + YES + + + + + + + 12 + + + + + 13 + + + + + 23 + + + YES + + + + + + 24 + + + + + + + YES + + YES + -1.CustomClassName + -2.CustomClassName + 1.IBEditorWindowLastContentRect + 1.IBPluginDependency + 12.IBPluginDependency + 23.IBPluginDependency + 23.IBViewBoundsToFrameTransform + 24.IBPluginDependency + 4.IBPluginDependency + 4.IBViewBoundsToFrameTransform + + + YES + ZoekFormulierViewController + UIResponder + {{484, 488}, {320, 480}} + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + P4AAAL+AAAAAAAAAxAcAAA + + + + + YES + + + YES + + + + + YES + + + YES + + + + 27 + + + + YES + + ZoekFormulierViewController + UIViewController + + mainTableView + UITableView + + + mainTableView + + mainTableView + UITableView + + + + IBProjectSource + Classes/ZoekFormulierViewController.h + + + + + YES + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSError.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSFileManager.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueCoding.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueObserving.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyedArchiver.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSObject.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSRunLoop.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSThread.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURL.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURLConnection.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UIAccessibility.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UINibLoading.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UIResponder.h + + + + UIResponder + NSObject + + + + UIScrollView + UIView + + IBFrameworkSource + UIKit.framework/Headers/UIScrollView.h + + + + UISearchBar + UIView + + IBFrameworkSource + UIKit.framework/Headers/UISearchBar.h + + + + UISearchDisplayController + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UISearchDisplayController.h + + + + UITableView + UIScrollView + + IBFrameworkSource + UIKit.framework/Headers/UITableView.h + + + + UIView + + IBFrameworkSource + UIKit.framework/Headers/UIPrintFormatter.h + + + + UIView + + IBFrameworkSource + UIKit.framework/Headers/UITextField.h + + + + UIView + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIView.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UINavigationController.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UIPopoverController.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UISplitViewController.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UITabBarController.h + + + + UIViewController + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIViewController.h + + + + + 0 + IBCocoaTouchFramework + + com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS + + + + com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 + + + YES + ../IDSC.xcodeproj + 3 + 132 + + diff --git a/Classes/Classes/coordinatetranslator.h b/Classes/Classes/coordinatetranslator.h new file mode 100755 index 0000000..35b0a78 --- /dev/null +++ b/Classes/Classes/coordinatetranslator.h @@ -0,0 +1,33 @@ +// +// coordinatetranslator.h +// IDSC +// +// Created by Norbert Schmidt on 25-01-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import + + +@interface coordinatetranslator : NSObject { + + + + // NSdate *datum; + double Long; + double Lat; + double Alti; + double ALT ; + double AZ ; + double RA ; + double DEC ; + char ObjName ; + char ObjRef ; + char ObjAltName ; + char ObjType ; + + + +} + +@end diff --git a/Classes/Classes/coordinatetranslator.m b/Classes/Classes/coordinatetranslator.m new file mode 100755 index 0000000..383d779 --- /dev/null +++ b/Classes/Classes/coordinatetranslator.m @@ -0,0 +1,15 @@ +// +// coordinatetranslator.m +// IDSC +// +// Created by Norbert Schmidt on 25-01-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import "coordinatetranslator.h" + + +@implementation coordinatetranslator + +@end + diff --git a/Classes/Classes/untitled.h b/Classes/Classes/untitled.h new file mode 100755 index 0000000..70c24b2 --- /dev/null +++ b/Classes/Classes/untitled.h @@ -0,0 +1,16 @@ +// +// untitled.h +// IDSC +// +// Created by Norbert Schmidt on 10-01-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import + + +@interface untitled : UIViewController { + +} + +@end diff --git a/Classes/Classes/untitled.m b/Classes/Classes/untitled.m new file mode 100755 index 0000000..a4766bc --- /dev/null +++ b/Classes/Classes/untitled.m @@ -0,0 +1,65 @@ + // +// untitled.m +// IDSC +// +// Created by Norbert Schmidt on 10-01-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import "untitled.h" + + +@implementation untitled + +// The designated initializer. Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad. +/* +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { + self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; + if (self) { + // Custom initialization. + } + return self; +} +*/ + +/* +// Implement loadView to create a view hierarchy programmatically, without using a nib. +- (void)loadView { +} +*/ + +/* +// Implement viewDidLoad to do additional setup after loading the view, typically from a nib. +- (void)viewDidLoad { + [super viewDidLoad]; +} +*/ + +/* +// Override to allow orientations other than the default portrait orientation. +- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { + // Return YES for supported orientations. + return (interfaceOrientation == UIInterfaceOrientationPortrait); +} +*/ + +- (void)didReceiveMemoryWarning { + // Releases the view if it doesn't have a superview. + [super didReceiveMemoryWarning]; + + // Release any cached data, images, etc. that aren't in use. +} + +- (void)viewDidUnload { + [super viewDidUnload]; + // Release any retained subviews of the main view. + // e.g. self.myOutlet = nil; +} + + +- (void)dealloc { + [super dealloc]; +} + + +@end diff --git a/Classes/CoreLocationController.h b/Classes/CoreLocationController.h new file mode 100755 index 0000000..77d93a4 --- /dev/null +++ b/Classes/CoreLocationController.h @@ -0,0 +1,27 @@ +// +// CoreLocationController.h +// IDSC +// +// Created by Norbert Schmidt on 15-01-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import +#import + +@protocol CoreLocationControllerDelegate +@required +- (void)locationUpdate:(CLLocation *)location; // Our location updates are sent here +- (void)locationError:(NSError *)error; // Any errors are sent here +@end + + +@interface CoreLocationController : NSObject { + CLLocationManager *locMgr; + id delegate; +} + +@property (nonatomic, retain) CLLocationManager *locMgr; +@property (nonatomic, assign) id delegate; + +@end \ No newline at end of file diff --git a/Classes/CoreLocationController.m b/Classes/CoreLocationController.m new file mode 100755 index 0000000..f887478 --- /dev/null +++ b/Classes/CoreLocationController.m @@ -0,0 +1,44 @@ +// +// CoreLocationController.m +// IDSC +// +// Created by Norbert Schmidt on 15-01-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import "CoreLocationController.h" + + +@implementation CoreLocationController +@synthesize locMgr, delegate; + +- (id)init { + self = [super init]; + + if(self != nil) { + self.locMgr = [[[CLLocationManager alloc] init] autorelease]; // Create new instance of locMgr + self.locMgr.delegate = self; // Set the delegate as self. + } + + return self; +} + + +- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation { + if([self.delegate conformsToProtocol:@protocol(CoreLocationControllerDelegate)]) { // Check if the class assigning itself as the delegate conforms to our protocol. If not, the message will go nowhere. Not good. + [self.delegate locationUpdate:newLocation]; + } +} + +- (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error { + if([self.delegate conformsToProtocol:@protocol(CoreLocationControllerDelegate)]) { // Check if the class assigning itself as the delegate conforms to our protocol. If not, the message will go nowhere. Not good. + [self.delegate locationError:error]; + } +} + +- (void)dealloc { + [self.locMgr release]; + [super dealloc]; +} + +@end diff --git a/Classes/GradientButton.h b/Classes/GradientButton.h new file mode 100644 index 0000000..3141c08 --- /dev/null +++ b/Classes/GradientButton.h @@ -0,0 +1,52 @@ +// +// ButtonGradientView.h +// Custom Alert View +// +// Created by jeff on 5/17/10. +// Copyright 2010 __MyCompanyName__. All rights reserved. +// + +#import +#import +#import + +@interface GradientButton : UIButton +{ + // These two arrays define the gradient that will be used + // when the button is in UIControlStateNormal + NSArray *normalGradientColors; // Colors + NSArray *normalGradientLocations; // Relative locations + + // These two arrays define the gradient that will be used + // when the button is in UIControlStateHighlighted + NSArray *highlightGradientColors; // Colors + NSArray *highlightGradientLocations; // Relative locations + + // This defines the corner radius of the button + CGFloat cornerRadius; + + // This defines the size and color of the stroke + CGFloat strokeWeight; + UIColor *strokeColor; + +@private + CGGradientRef normalGradient; + CGGradientRef highlightGradient; +} +@property (nonatomic, retain) NSArray *normalGradientColors; +@property (nonatomic, retain) NSArray *normalGradientLocations; +@property (nonatomic, retain) NSArray *highlightGradientColors; +@property (nonatomic, retain) NSArray *highlightGradientLocations; +@property (nonatomic) CGFloat cornerRadius; +@property (nonatomic) CGFloat strokeWeight; +@property (nonatomic, retain) UIColor *strokeColor; +- (void)useAlertStyle; +- (void)useRedDeleteStyle; +- (void)useWhiteStyle; +- (void)useBlackStyle; +- (void)useWhiteActionSheetStyle; +- (void)useBlackActionSheetStyle; +- (void)useSimpleOrangeStyle; +- (void)useGreenConfirmStyle; + +@end diff --git a/Classes/GradientButton.m b/Classes/GradientButton.m new file mode 100644 index 0000000..29a602f --- /dev/null +++ b/Classes/GradientButton.m @@ -0,0 +1,568 @@ +// +// ButtonGradientView.m +// Custom Alert View +// +// Created by jeff on 5/17/10. +// Copyright 2010 __MyCompanyName__. All rights reserved. +// + +#import "GradientButton.h" + +@interface GradientButton() +@property (nonatomic, readonly) CGGradientRef normalGradient; +@property (nonatomic, readonly) CGGradientRef highlightGradient; +- (void)hesitateUpdate; // Used to catch and fix problem where quick taps don't get updated back to normal state +@end +#pragma mark - + +@implementation GradientButton +@synthesize normalGradientColors; +@synthesize normalGradientLocations; +@synthesize highlightGradientColors; +@synthesize highlightGradientLocations; +@synthesize cornerRadius; +@synthesize strokeWeight, strokeColor; +@synthesize normalGradient, highlightGradient; +#pragma mark - +- (CGGradientRef)normalGradient +{ + if (normalGradient == NULL) + { + int locCount = [normalGradientLocations count]; + CGFloat locations[locCount]; + for (int i = 0; i < [normalGradientLocations count]; i++) + { + NSNumber *location = [normalGradientLocations objectAtIndex:i]; + locations[i] = [location floatValue]; + } + CGColorSpaceRef space = CGColorSpaceCreateDeviceRGB(); + + normalGradient = CGGradientCreateWithColors(space, (__bridge_retained CFArrayRef)normalGradientColors, locations); + CGColorSpaceRelease(space); + } + return normalGradient; +} +- (CGGradientRef)highlightGradient +{ + + if (highlightGradient == NULL) + { + CGFloat locations[[highlightGradientLocations count]]; + for (int i = 0; i < [highlightGradientLocations count]; i++) + { + NSNumber *location = [highlightGradientLocations objectAtIndex:i]; + locations[i] = [location floatValue]; + } + CGColorSpaceRef space = CGColorSpaceCreateDeviceRGB(); + + highlightGradient = CGGradientCreateWithColors(space, (__bridge_retained CFArrayRef)highlightGradientColors, locations); + CGColorSpaceRelease(space); + } + return highlightGradient; +} +#pragma mark - +- (id)initWithFrame:(CGRect)frame +{ + self = [super initWithFrame:frame]; + if (self) + { + [self setOpaque:NO]; + self.backgroundColor = [UIColor clearColor]; + } + return self; +} +#pragma mark - +#pragma mark Appearances +- (void)useAlertStyle +{ + // Oddly enough, if I create the color array using arrayWithObjects:, it + // doesn't work - the gradient comes back NULL + NSMutableArray *colors = [NSMutableArray arrayWithCapacity:3]; + UIColor *color = [UIColor colorWithRed:0.283 green:0.32 blue:0.414 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.82 green:0.834 blue:0.87 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.186 green:0.223 blue:0.326 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + self.normalGradientColors = colors; + self.normalGradientLocations = [NSArray arrayWithObjects: + [NSNumber numberWithFloat:0.0f], + [NSNumber numberWithFloat:1.0f], + [NSNumber numberWithFloat:0.483f], + nil]; + + NSMutableArray *colors2 = [NSMutableArray arrayWithCapacity:4]; + color = [UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.656 green:0.683 blue:0.713 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.137 green:0.155 blue:0.208 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.237 green:0.257 blue:0.305 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + self.highlightGradientColors = colors2; + self.highlightGradientLocations = [NSArray arrayWithObjects: + [NSNumber numberWithFloat:0.0f], + [NSNumber numberWithFloat:1.0f], + [NSNumber numberWithFloat:0.51f], + [NSNumber numberWithFloat:0.654f], + nil]; + self.cornerRadius = 7.0f; + [self setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; + [self setTitleColor:[UIColor whiteColor] forState:UIControlStateHighlighted]; + +} +- (void)useRedDeleteStyle +{ + NSMutableArray *colors = [NSMutableArray arrayWithCapacity:5]; + UIColor *color = [UIColor colorWithRed:0.667 green:0.15 blue:0.152 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.841 green:0.566 blue:0.566 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.75 green:0.341 blue:0.345 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.592 green:0.0 blue:0.0 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.592 green:0.0 blue:0.0 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + self.normalGradientColors = colors; + self.normalGradientLocations = [NSArray arrayWithObjects: + [NSNumber numberWithFloat:0.0f], + [NSNumber numberWithFloat:1.0f], + [NSNumber numberWithFloat:0.582f], + [NSNumber numberWithFloat:0.418f], + [NSNumber numberWithFloat:0.346], + nil]; + + NSMutableArray *colors2 = [NSMutableArray arrayWithCapacity:5]; + color = [UIColor colorWithRed:0.467 green:0.009 blue:0.005 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.754 green:0.562 blue:0.562 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.543 green:0.212 blue:0.212 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.5 green:0.153 blue:0.152 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.388 green:0.004 blue:0.0 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + + self.highlightGradientColors = colors; + self.highlightGradientLocations = [NSArray arrayWithObjects: + [NSNumber numberWithFloat:0.0f], + [NSNumber numberWithFloat:1.0f], + [NSNumber numberWithFloat:0.715f], + [NSNumber numberWithFloat:0.513f], + [NSNumber numberWithFloat:0.445f], + nil]; + self.cornerRadius = 9.f; + [self setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; + +} +- (void)useWhiteStyle +{ + NSMutableArray *colors = [NSMutableArray arrayWithCapacity:3]; + UIColor *color = [UIColor colorWithRed:0.864 green:0.864 blue:0.864 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.995 green:0.995 blue:0.995 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.956 green:0.956 blue:0.955 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + self.normalGradientColors = colors; + self.normalGradientLocations = [NSMutableArray arrayWithObjects: + [NSNumber numberWithFloat:0.0f], + [NSNumber numberWithFloat:1.0f], + [NSNumber numberWithFloat:0.601f], + nil]; + + NSMutableArray *colors2 = [NSMutableArray arrayWithCapacity:3]; + color = [UIColor colorWithRed:0.692 green:0.692 blue:0.691 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.995 green:0.995 blue:0.995 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.83 green:0.83 blue:0.83 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + self.highlightGradientColors = colors2; + self.highlightGradientLocations = [NSMutableArray arrayWithObjects: + [NSNumber numberWithFloat:0.0f], + [NSNumber numberWithFloat:1.0f], + [NSNumber numberWithFloat:0.601f], + nil]; + + self.cornerRadius = 9.f; + [self setTitleColor:[UIColor blackColor] forState:UIControlStateNormal]; + [self setTitleColor:[UIColor darkGrayColor] forState:UIControlStateHighlighted]; +} +- (void)useBlackStyle +{ + NSMutableArray *colors = [NSMutableArray arrayWithCapacity:4]; + UIColor *color = [UIColor colorWithRed:0.154 green:0.154 blue:0.154 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.307 green:0.307 blue:0.307 alpha:1.0]; + [colors addObject:(id)[color CGColor]];; + color = [UIColor colorWithRed:0.166 green:0.166 blue:0.166 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.118 green:0.118 blue:0.118 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + self.normalGradientColors = colors; + self.normalGradientLocations = [NSMutableArray arrayWithObjects: + [NSNumber numberWithFloat:0.0f], + [NSNumber numberWithFloat:1.0f], + [NSNumber numberWithFloat:0.548f], + [NSNumber numberWithFloat:0.462f], + nil]; + self.cornerRadius = 9.0f; + + NSMutableArray *colors2 = [NSMutableArray arrayWithCapacity:4]; + color = [UIColor colorWithRed:0.199 green:0.199 blue:0.199 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.04 green:0.04 blue:0.04 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.074 green:0.074 blue:0.074 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.112 green:0.112 blue:0.112 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + + self.highlightGradientColors = colors2; + self.highlightGradientLocations = [NSMutableArray arrayWithObjects: + [NSNumber numberWithFloat:0.0f], + [NSNumber numberWithFloat:1.0f], + [NSNumber numberWithFloat:0.548f], + [NSNumber numberWithFloat:0.462f], + nil]; + [self setTitleColor:[UIColor redColor] forState:UIControlStateNormal]; +} +- (void)useWhiteActionSheetStyle +{ + NSMutableArray *colors = [NSMutableArray arrayWithCapacity:3]; + UIColor *color = [UIColor colorWithRed:0.864 green:0.864 blue:0.864 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.995 green:0.995 blue:0.995 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.956 green:0.956 blue:0.955 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + self.normalGradientColors = colors; + self.normalGradientLocations = [NSMutableArray arrayWithObjects: + [NSNumber numberWithFloat:0.0f], + [NSNumber numberWithFloat:1.0f], + [NSNumber numberWithFloat:0.601f], + nil]; + + NSMutableArray *colors2 = [NSMutableArray arrayWithCapacity:7]; + color = [UIColor colorWithRed:0.033 green:0.251 blue:0.673 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.66 green:0.701 blue:0.88 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.222 green:0.308 blue:0.709 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.145 green:0.231 blue:0.683 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.0 green:0.124 blue:0.621 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.011 green:0.181 blue:0.647 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.311 green:0.383 blue:0.748 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + self.highlightGradientColors = colors2; + self.highlightGradientLocations = [NSMutableArray arrayWithObjects: + [NSNumber numberWithFloat:0.0f], + [NSNumber numberWithFloat:1.0f], + [NSNumber numberWithFloat:0.957f], + [NSNumber numberWithFloat:0.574f], + [NSNumber numberWithFloat:0.541], + [NSNumber numberWithFloat:0.185f], + [NSNumber numberWithFloat:0.812f], + nil]; + + self.cornerRadius = 9.f; + [self setTitleColor:[UIColor blackColor] forState:UIControlStateNormal]; + [self setTitleColor:[UIColor whiteColor] forState:UIControlStateHighlighted]; +} +- (void)useBlackActionSheetStyle +{ + NSMutableArray *colors = [NSMutableArray arrayWithCapacity:4]; + UIColor *color = [UIColor colorWithRed:0.154 green:0.154 blue:0.154 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.307 green:0.307 blue:0.307 alpha:1.0]; + [colors addObject:(id)[color CGColor]];; + color = [UIColor colorWithRed:0.166 green:0.166 blue:0.166 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.118 green:0.118 blue:0.118 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + self.normalGradientColors = colors; + self.normalGradientLocations = [NSMutableArray arrayWithObjects: + [NSNumber numberWithFloat:0.0f], + [NSNumber numberWithFloat:1.0f], + [NSNumber numberWithFloat:0.548f], + [NSNumber numberWithFloat:0.462f], + nil]; + self.cornerRadius = 9.0f; + + NSMutableArray *colors2 = [NSMutableArray arrayWithCapacity:7]; + color = [UIColor colorWithRed:0.033 green:0.251 blue:0.673 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.66 green:0.701 blue:0.88 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.222 green:0.308 blue:0.709 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.145 green:0.231 blue:0.683 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.0 green:0.124 blue:0.621 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.011 green:0.181 blue:0.647 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.311 green:0.383 blue:0.748 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + self.highlightGradientColors = colors2; + self.highlightGradientLocations = [NSMutableArray arrayWithObjects: + [NSNumber numberWithFloat:0.0f], + [NSNumber numberWithFloat:1.0f], + [NSNumber numberWithFloat:0.957f], + [NSNumber numberWithFloat:0.574f], + [NSNumber numberWithFloat:0.541], + [NSNumber numberWithFloat:0.185], + [NSNumber numberWithFloat:0.812f], + nil]; + [self setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; + [self setTitleColor:[UIColor whiteColor] forState:UIControlStateHighlighted]; +} +- (void)useSimpleOrangeStyle +{ + NSMutableArray *colors = [NSMutableArray arrayWithCapacity:2]; + UIColor *color = [UIColor colorWithRed:0.935 green:0.403 blue:0.02 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.97 green:0.582 blue:0.0 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + self.normalGradientColors = colors; + self.normalGradientLocations = [NSMutableArray arrayWithObjects: + [NSNumber numberWithFloat:0.0f], + [NSNumber numberWithFloat:1.0f], + nil]; + + NSMutableArray *colors2 = [NSMutableArray arrayWithCapacity:3]; + color = [UIColor colorWithRed:0.914 green:0.309 blue:0.0 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.935 green:0.4 blue:0.0 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.946 green:0.441 blue:0.01 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + self.highlightGradientColors = colors2; + self.highlightGradientLocations = [NSMutableArray arrayWithObjects: + [NSNumber numberWithFloat:0.0f], + [NSNumber numberWithFloat:1.0f], + [NSNumber numberWithFloat:0.498f], + nil]; + + self.cornerRadius = 9.f; + [self setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; +} +- (void)useGreenConfirmStyle +{ + NSMutableArray *colors = [NSMutableArray arrayWithCapacity:5]; + UIColor *color = [UIColor colorWithRed:0.15 green:0.667 blue:0.152 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.566 green:0.841 blue:0.566 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.341 green:0.75 blue:0.345 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.0 green:0.592 blue:0.0 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.0 green:0.592 blue:0.0 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + self.normalGradientColors = colors; + self.normalGradientLocations = [NSMutableArray arrayWithObjects: + [NSNumber numberWithFloat:0.0f], + [NSNumber numberWithFloat:1.0f], + [NSNumber numberWithFloat:0.582f], + [NSNumber numberWithFloat:0.418f], + [NSNumber numberWithFloat:0.346], + nil]; + + NSMutableArray *colors2 = [NSMutableArray arrayWithCapacity:5]; + color = [UIColor colorWithRed:0.009 green:0.467 blue:0.005 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.562 green:0.754 blue:0.562 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.212 green:0.543 blue:0.212 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.153 green:0.5 blue:0.152 alpha:1.0]; + [colors2 addObject:(id)[color CGColor]]; + color = [UIColor colorWithRed:0.004 green:0.388 blue:0.0 alpha:1.0]; + [colors addObject:(id)[color CGColor]]; + + self.highlightGradientColors = colors; + self.highlightGradientLocations = [NSMutableArray arrayWithObjects: + [NSNumber numberWithFloat:0.0f], + [NSNumber numberWithFloat:1.0f], + [NSNumber numberWithFloat:0.715f], + [NSNumber numberWithFloat:0.513f], + [NSNumber numberWithFloat:0.445f], + nil]; + self.cornerRadius = 9.f; + [self setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; + +} +#pragma mark - +- (void)drawRect:(CGRect)rect +{ + self.backgroundColor = [UIColor clearColor]; + CGRect imageBounds = CGRectMake(0.0, 0.0, self.bounds.size.width - 0.5, self.bounds.size.height); + + + CGGradientRef gradient; + CGContextRef context = UIGraphicsGetCurrentContext(); + CGPoint point2; + + CGFloat resolution = 0.5 * (self.bounds.size.width / imageBounds.size.width + self.bounds.size.height / imageBounds.size.height); + + CGFloat stroke = strokeWeight * resolution; + if (stroke < 1.0) + stroke = ceil(stroke); + else + stroke = round(stroke); + stroke /= resolution; + CGFloat alignStroke = fmod(0.5 * stroke * resolution, 1.0); + CGMutablePathRef path = CGPathCreateMutable(); + CGPoint point = CGPointMake((self.bounds.size.width - [self cornerRadius]), self.bounds.size.height - 0.5f); + point.x = (round(resolution * point.x + alignStroke) - alignStroke) / resolution; + point.y = (round(resolution * point.y + alignStroke) - alignStroke) / resolution; + CGPathMoveToPoint(path, NULL, point.x, point.y); + point = CGPointMake(self.bounds.size.width - 0.5f, (self.bounds.size.height - [self cornerRadius])); + point.x = (round(resolution * point.x + alignStroke) - alignStroke) / resolution; + point.y = (round(resolution * point.y + alignStroke) - alignStroke) / resolution; + CGPoint controlPoint1 = CGPointMake((self.bounds.size.width - ([self cornerRadius] / 2.f)), self.bounds.size.height - 0.5f); + controlPoint1.x = (round(resolution * controlPoint1.x + alignStroke) - alignStroke) / resolution; + controlPoint1.y = (round(resolution * controlPoint1.y + alignStroke) - alignStroke) / resolution; + CGPoint controlPoint2 = CGPointMake(self.bounds.size.width - 0.5f, (self.bounds.size.height - ([self cornerRadius] / 2.f))); + controlPoint2.x = (round(resolution * controlPoint2.x + alignStroke) - alignStroke) / resolution; + controlPoint2.y = (round(resolution * controlPoint2.y + alignStroke) - alignStroke) / resolution; + CGPathAddCurveToPoint(path, NULL, controlPoint1.x, controlPoint1.y, controlPoint2.x, controlPoint2.y, point.x, point.y); + point = CGPointMake(self.bounds.size.width - 0.5f, [self cornerRadius]); + point.x = (round(resolution * point.x + alignStroke) - alignStroke) / resolution; + point.y = (round(resolution * point.y + alignStroke) - alignStroke) / resolution; + CGPathAddLineToPoint(path, NULL, point.x, point.y); + point = CGPointMake((self.bounds.size.width - [self cornerRadius]), 0.0); + point.x = (round(resolution * point.x + alignStroke) - alignStroke) / resolution; + point.y = (round(resolution * point.y + alignStroke) - alignStroke) / resolution; + controlPoint1 = CGPointMake(self.bounds.size.width - 0.5f, ([self cornerRadius] / 2.f)); + controlPoint1.x = (round(resolution * controlPoint1.x + alignStroke) - alignStroke) / resolution; + controlPoint1.y = (round(resolution * controlPoint1.y + alignStroke) - alignStroke) / resolution; + controlPoint2 = CGPointMake((self.bounds.size.width - ([self cornerRadius] / 2.f)), 0.0); + controlPoint2.x = (round(resolution * controlPoint2.x + alignStroke) - alignStroke) / resolution; + controlPoint2.y = (round(resolution * controlPoint2.y + alignStroke) - alignStroke) / resolution; + CGPathAddCurveToPoint(path, NULL, controlPoint1.x, controlPoint1.y, controlPoint2.x, controlPoint2.y, point.x, point.y); + point = CGPointMake([self cornerRadius], 0.0); + point.x = (round(resolution * point.x + alignStroke) - alignStroke) / resolution; + point.y = (round(resolution * point.y + alignStroke) - alignStroke) / resolution; + CGPathAddLineToPoint(path, NULL, point.x, point.y); + point = CGPointMake(0.0, [self cornerRadius]); + point.x = (round(resolution * point.x + alignStroke) - alignStroke) / resolution; + point.y = (round(resolution * point.y + alignStroke) - alignStroke) / resolution; + controlPoint1 = CGPointMake(([self cornerRadius] / 2.f), 0.0); + controlPoint1.x = (round(resolution * controlPoint1.x + alignStroke) - alignStroke) / resolution; + controlPoint1.y = (round(resolution * controlPoint1.y + alignStroke) - alignStroke) / resolution; + controlPoint2 = CGPointMake(0.0, ([self cornerRadius] / 2.f)); + controlPoint2.x = (round(resolution * controlPoint2.x + alignStroke) - alignStroke) / resolution; + controlPoint2.y = (round(resolution * controlPoint2.y + alignStroke) - alignStroke) / resolution; + CGPathAddCurveToPoint(path, NULL, controlPoint1.x, controlPoint1.y, controlPoint2.x, controlPoint2.y, point.x, point.y); + point = CGPointMake(0.0, (self.bounds.size.height - [self cornerRadius])); + point.x = (round(resolution * point.x + alignStroke) - alignStroke) / resolution; + point.y = (round(resolution * point.y + alignStroke) - alignStroke) / resolution; + CGPathAddLineToPoint(path, NULL, point.x, point.y); + point = CGPointMake([self cornerRadius], self.bounds.size.height - 0.5f); + point.x = (round(resolution * point.x + alignStroke) - alignStroke) / resolution; + point.y = (round(resolution * point.y + alignStroke) - alignStroke) / resolution; + controlPoint1 = CGPointMake(0.0, (self.bounds.size.height - ([self cornerRadius] / 2.f))); + controlPoint1.x = (round(resolution * controlPoint1.x + alignStroke) - alignStroke) / resolution; + controlPoint1.y = (round(resolution * controlPoint1.y + alignStroke) - alignStroke) / resolution; + controlPoint2 = CGPointMake(([self cornerRadius] / 2.f), self.bounds.size.height - 0.5f); + controlPoint2.x = (round(resolution * controlPoint2.x + alignStroke) - alignStroke) / resolution; + controlPoint2.y = (round(resolution * controlPoint2.y + alignStroke) - alignStroke) / resolution; + CGPathAddCurveToPoint(path, NULL, controlPoint1.x, controlPoint1.y, controlPoint2.x, controlPoint2.y, point.x, point.y); + point = CGPointMake((self.bounds.size.width - [self cornerRadius]), self.bounds.size.height - 0.5f); + point.x = (round(resolution * point.x + alignStroke) - alignStroke) / resolution; + point.y = (round(resolution * point.y + alignStroke) - alignStroke) / resolution; + CGPathAddLineToPoint(path, NULL, point.x, point.y); + CGPathCloseSubpath(path); + if (self.state == UIControlStateHighlighted) + gradient = self.highlightGradient; + else + gradient = self.normalGradient; + + CGContextAddPath(context, path); + CGContextSaveGState(context); + CGContextEOClip(context); + point = CGPointMake((self.bounds.size.width / 2.0), self.bounds.size.height - 0.5f); + point2 = CGPointMake((self.bounds.size.width / 2.0), 0.0); + CGContextDrawLinearGradient(context, gradient, point, point2, (kCGGradientDrawsBeforeStartLocation | kCGGradientDrawsAfterEndLocation)); + CGContextRestoreGState(context); + [strokeColor setStroke]; + CGContextSetLineWidth(context, stroke); + CGContextSetLineCap(context, kCGLineCapSquare); + CGContextAddPath(context, path); + CGContextStrokePath(context); + CGPathRelease(path); + +} +#pragma mark - +#pragma mark Touch Handling +- (void)hesitateUpdate +{ + [self setNeedsDisplay]; +} +- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event +{ + [super touchesBegan:touches withEvent:event]; + [self setNeedsDisplay]; +} +- (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event +{ + [super touchesCancelled:touches withEvent:event]; + [self setNeedsDisplay]; + [self performSelector:@selector(hesitateUpdate) withObject:nil afterDelay:0.1]; +} +- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event +{ + [super touchesMoved:touches withEvent:event]; + [self setNeedsDisplay]; + +} +- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event +{ + [super touchesEnded:touches withEvent:event]; + [self setNeedsDisplay]; + [self performSelector:@selector(hesitateUpdate) withObject:nil afterDelay:0.1]; +} +#pragma mark - +#pragma mark NSCoding +- (void)encodeWithCoder:(NSCoder *)encoder +{ + [super encodeWithCoder:encoder]; + [encoder encodeObject:[self normalGradientColors] forKey:@"normalGradientColors"]; + [encoder encodeObject:[self normalGradientLocations] forKey:@"normalGradientLocations"]; + [encoder encodeObject:[self highlightGradientColors] forKey:@"highlightGradientColors"]; + [encoder encodeObject:[self highlightGradientLocations] forKey:@"highlightGradientLocations"]; +} + +- (id)initWithCoder:(NSCoder *)decoder +{ + if (self = [super initWithCoder:decoder]) + { + [self setNormalGradientColors:[decoder decodeObjectForKey:@"normalGradientColors"]]; + [self setNormalGradientLocations:[decoder decodeObjectForKey:@"normalGradientLocations"]]; + [self setHighlightGradientColors:[decoder decodeObjectForKey:@"highlightGradientColors"]]; + [self setHighlightGradientLocations:[decoder decodeObjectForKey:@"highlightGradientLocations"]]; + self.strokeColor = [UIColor colorWithRed:0.076 green:0.103 blue:0.195 alpha:1.0]; + self.strokeWeight = 1.0; + + if (self.normalGradientColors == nil) + [self useWhiteStyle]; + + [self setOpaque:NO]; + self.backgroundColor = [UIColor colorWithRed:1.0 green:1.0 blue:1.0 alpha:0.0]; + } + return self; +} +#pragma mark - + + +@end diff --git a/Classes/MessierZoekFormulierViewController.h b/Classes/MessierZoekFormulierViewController.h new file mode 100755 index 0000000..33a6141 --- /dev/null +++ b/Classes/MessierZoekFormulierViewController.h @@ -0,0 +1,37 @@ +// +// ZoekFormulierViewController.h +// IDSC +// +// Created by Norbert Schmidt on 02-02-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import +#import "catalogus.h" + + +@interface MessierZoekFormulierViewController : UIViewController < UITableViewDataSource, UITableViewDelegate> { + UITableView *mainTableView; + NSMutableArray *contentsList; + NSMutableArray *searchResults; + + NSString *savedSearchTerm; + NSString *databaseName; + NSString *databasePath; + + +} + + +@property (nonatomic, retain) IBOutlet UITableView *mainTableView; +@property (nonatomic, retain) NSMutableArray *contentsList; +@property (nonatomic, retain) NSMutableArray *searchResults; +@property (nonatomic, retain) NSString *savedSearchTerm; +@property (nonatomic, retain) NSString *databaseName, *databasePath; + + +- (void)handleSearchForTerm:(NSString *)searchTerm; +- (void)checkAndCreateDatabase; +- (void)readObjectsFromDatabase; + +@end diff --git a/Classes/MessierZoekFormulierViewController.m b/Classes/MessierZoekFormulierViewController.m new file mode 100755 index 0000000..4e19255 --- /dev/null +++ b/Classes/MessierZoekFormulierViewController.m @@ -0,0 +1,430 @@ +// +// ZoekFormulierViewController.m +// IDSC +// +// Created by Norbert Schmidt on 02-02-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import "MessierZoekFormulierViewController.h" +#import "MySingleton.h" +#import +#import "catalogus.h" + + +@implementation MessierZoekFormulierViewController + + +@synthesize mainTableView; +@synthesize contentsList; +@synthesize searchResults; +@synthesize savedSearchTerm; +@synthesize databaseName, databasePath; + +- (void)didReceiveMemoryWarning { + // Releases the view if it doesn't have a superview. + [super didReceiveMemoryWarning]; + + // Release any cached data, images, etc. that aren't in use. +} + +- (void)viewDidLoad +{ + + [super viewDidLoad]; + [self.mainTableView + setBackgroundColor:[UIColor blackColor]]; + + + + UIColor *NightColor=[UIColor colorWithRed:70 green:0 blue:0 alpha:0.8]; + [self.mainTableView setSeparatorColor:NightColor]; + + + // Do any additional setup after loading the view, typically from a nib. + + databaseName = @"catalogus.sqlite"; + // Get the path to the documents directory and append the databaseName + NSArray *documentPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); + + NSString *documentsDir = [documentPaths objectAtIndex:0]; + databasePath = [documentsDir stringByAppendingPathComponent: databaseName]; + + + + + [self checkAndCreateDatabase]; + [self readObjectsFromDatabase]; + + + + // Deze vervangen voor de databaseversie + + + +[self setContentsList:contentsList]; + + + +// [contentsList release], contentsList = nil; + + + + + // Restore search term + if ([self savedSearchTerm]) + { + [[[self searchDisplayController] searchBar] setText:[self savedSearchTerm]]; + + + } + +} + + +- (void)viewWillAppear:(BOOL)animated +{ + + + [super viewWillAppear:animated]; + + [[self mainTableView] reloadData]; + + +} + + + + + + +- (void)handleSearchForTerm:(NSString *)searchTerm +{ + [self setSavedSearchTerm:searchTerm]; + + if ([self searchResults] == nil) + { + NSMutableArray *array = [[NSMutableArray alloc] init]; + [self setSearchResults:array]; + array = nil; + } + + [[self searchResults] removeAllObjects]; + + if ([[self savedSearchTerm] length] != 0) + { + + + + for (catalogus *zoekcatalogus in [self contentsList]) { + + if ([zoekcatalogus.objectID rangeOfString:searchTerm options:NSCaseInsensitiveSearch].location != NSNotFound) + { + [[self searchResults] addObject:zoekcatalogus.objectID]; + + + + } + } + } +} + + + +- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section +{ + NSInteger rows; + + if (tableView == [[self searchDisplayController] searchResultsTableView]) + rows = [[self searchResults] count]; + else + rows = [[self contentsList] count]; + + return rows; +} + + + +- (void) tableView:(UITableView *) tableView +didSelectRowAtIndexPath: (NSIndexPath *) indexPath { + + + + UITableViewCell *cell; + cell = [tableView cellForRowAtIndexPath:indexPath]; + + UIView *bgColorView = [[UIView alloc] init]; + + UIColor *NightColor=[UIColor colorWithRed:70 green:0 blue:0 alpha:0.8]; + + [bgColorView setBackgroundColor:NightColor]; + [cell setSelectedBackgroundView:bgColorView]; + + catalogus *mijnCatalogus = (catalogus *)[self.contentsList objectAtIndex: indexPath.row]; + // Kommas naar punten + + NSString *RAString = [mijnCatalogus.objectRA stringByReplacingOccurrencesOfString:@"," withString:@"."]; + NSString *DECString = [mijnCatalogus.objectDec stringByReplacingOccurrencesOfString:@"," withString:@"."]; + double rechteklimming = [RAString doubleValue]; + double declinatie = [DECString doubleValue]; + [MySingleton sharedMySingleton].rechteklimming=rechteklimming; + [MySingleton sharedMySingleton].declinatie=declinatie; + [MySingleton sharedMySingleton].objectkeuze = mijnCatalogus.objectID; + [MySingleton sharedMySingleton].objectMagnitude=mijnCatalogus.objectMagnitude; + [MySingleton sharedMySingleton].objectType=mijnCatalogus.objectType; + [MySingleton sharedMySingleton].objectSize=mijnCatalogus.objectSize; + [MySingleton sharedMySingleton].objectNotes=mijnCatalogus.objectNotes; + [MySingleton sharedMySingleton].objectName=mijnCatalogus.objectName; + [MySingleton sharedMySingleton].objectConst=mijnCatalogus.objectConstellation; + + if (tableView == [[self searchDisplayController] searchResultsTableView]) { + + + + for (catalogus *zoekcatalogus in [self contentsList]) { + + if ([zoekcatalogus.objectID rangeOfString:cell.textLabel.text options:NSCaseInsensitiveSearch].location != NSNotFound) + { + + + NSString *RAString = [zoekcatalogus.objectRA stringByReplacingOccurrencesOfString:@"," withString:@"."]; + NSString *DECString = [zoekcatalogus.objectDec stringByReplacingOccurrencesOfString:@"," withString:@"."]; + + float rechteklimming = [RAString floatValue]; + float declinatie = [DECString floatValue]; + + [MySingleton sharedMySingleton].objectkeuze = zoekcatalogus.objectID; + [MySingleton sharedMySingleton].rechteklimming=rechteklimming; + [MySingleton sharedMySingleton].declinatie=declinatie; + [MySingleton sharedMySingleton].objectMagnitude=zoekcatalogus.objectMagnitude; + [MySingleton sharedMySingleton].objectType=zoekcatalogus.objectType; + [MySingleton sharedMySingleton].objectSize=zoekcatalogus.objectSize; + [MySingleton sharedMySingleton].objectNotes=zoekcatalogus.objectNotes; + [MySingleton sharedMySingleton].objectName=zoekcatalogus.objectName; + [MySingleton sharedMySingleton].objectConst=zoekcatalogus.objectConstellation; + break; + + + } + + } + + + + + + } + + + + +} + + + + + + + +- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath +{ + + + + + + NSInteger row = [indexPath row]; + NSString *contentForThisRow=NULL ; + + + if (tableView == [[self searchDisplayController] searchResultsTableView]) { + contentForThisRow = [[self searchResults] objectAtIndex:row]; + + } + else { + catalogus *mijnCatalogus = (catalogus *)[self.contentsList objectAtIndex: row]; + contentForThisRow = mijnCatalogus.objectID; + } + + + static NSString *CellIdentifier = @"CellIdentifier"; + + UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; + if (cell == nil) + { + cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier]; + } + + + UIFont *myFont = [ UIFont fontWithName: @"System" size: 16.0 ]; + cell.textLabel.font = myFont; + // Set up the cell... + + UIColor *NightColor=[UIColor colorWithRed:70 green:0 blue:0 alpha:0.8]; + + cell.textLabel.textColor=NightColor; + [[cell textLabel] setText:contentForThisRow]; + + + + return cell; +} + + + + + + + +- (void)searchDisplayControllerWillEndSearch:(UISearchDisplayController *)controller +{ + [self setSavedSearchTerm:nil]; + + [[self mainTableView] reloadData]; +} + + + + +- (BOOL)searchDisplayController:(UISearchDisplayController *)controller +shouldReloadTableForSearchString:(NSString *)searchString + +{ + + CGFloat nRed=84.0/255.0; + CGFloat nBlue=8/255.0; + CGFloat nGreen=4.0/255.0; + UIColor *nightColor=[[UIColor alloc]initWithRed:nRed green:nBlue blue:nGreen alpha:1]; + [controller.searchResultsTableView setBackgroundColor:nightColor]; + controller.searchResultsTableView.bounces=FALSE; + + [self handleSearchForTerm:searchString]; + return YES; +} + + + + + +- (void)viewDidUnload +{ + [super viewDidUnload]; + + // Save the state of the search UI so that it can be restored if the view is re-created. + [self setSavedSearchTerm:[[[self searchDisplayController] searchBar] text]]; + + + + + + + [self setSearchResults:nil]; +} + +- (void) checkAndCreateDatabase{ + + // Check if the SQL database has already been saved to the users phone, if not then copy it over + BOOL success; + + // Create a FileManager object, we will use this to check the status + // of the database and to copy it over if required + NSFileManager *fileManager = [NSFileManager defaultManager]; + + // Check if the database has already been created in the users filesystem + success = [fileManager fileExistsAtPath:databasePath]; + + // If the database already exists then return without doing anything + if(success) return; + + // If not then proceed to copy the database from the application to the users filesystem + + // Get the path to the database in the application package + NSString *databasePathFromApp = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:databaseName]; + + // Copy the database from the package to the users filesystem + [fileManager copyItemAtPath:databasePathFromApp toPath:databasePath error:nil]; + + + + +} + + + +- (void) readObjectsFromDatabase{ + + + // Setup the database object + sqlite3 *database; + + contentsList = [[NSMutableArray alloc] init]; + + // Open the database from the users filessytem + if(sqlite3_open([databasePath UTF8String], &database) == SQLITE_OK) { + + // Setup the SQL Statement and compile it for faster access + const char *sqlStatement = "select * from messier"; + + sqlite3_stmt *compiledStatement; + + if(sqlite3_prepare_v2(database, sqlStatement, -1, &compiledStatement, NULL) == SQLITE_OK) { + + // Loop through the results and add them to the feeds array + while(sqlite3_step(compiledStatement) == SQLITE_ROW) { + + + + NSString *bOobjectID = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 0)]; + NSString *bobjectName = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 1)]; + NSString *bobjectType = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 2)]; + NSString *bobjectRA = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 3)]; + NSString *bobjectDec = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 4)]; + NSString *bobjectMagnitude = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 5)]; + NSString *bobjectSize = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 6)]; + NSString *bobjectConstellation = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 7)]; + NSString *bobjectNotes = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 8)]; + + + + [self.contentsList addObject:[catalogus objectWithID:bOobjectID objectName:bobjectName objectType:bobjectType objectRA:bobjectRA objectDec:bobjectDec objectMagnitude:bobjectMagnitude objectSize:bobjectSize objectConstellation:bobjectConstellation objectNotes:bobjectNotes]]; + + + } + } + + // Release the compiled statement from memory + sqlite3_finalize(compiledStatement); + + } + + + + + sqlite3_close(database); + +} + + + +- (void)dealloc { + + + + + mainTableView = nil; + contentsList = nil; + +searchResults = nil; +savedSearchTerm = nil; + + + + + +} + + + + + +@end diff --git a/Classes/MessierZoekFormulierViewController.xib b/Classes/MessierZoekFormulierViewController.xib new file mode 100755 index 0000000..efc4889 --- /dev/null +++ b/Classes/MessierZoekFormulierViewController.xib @@ -0,0 +1,311 @@ + + + + 1552 + 12D78 + 3084 + 1187.37 + 626.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 2083 + + + YES + IBProxyObject + IBUISearchBar + IBUISearchDisplayController + IBUITableView + IBUIView + + + YES + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 274 + + YES + + + 274 + + YES + + + 290 + {320, 44} + + NO + 3 + IBCocoaTouchFramework + + 1 + MC41MjcxNzM5MTMgMCAwAA + + + IBCocoaTouchFramework + + + + {{0, 2}, {320, 409}} + + + 2 + MC41MDk4MDM5NTA4IDAgMAA + + YES + IBCocoaTouchFramework + YES + 1 + 10 + YES + 44 + 22 + 22 + + + + {{0, 20}, {320, 411}} + + + 1 + MC41MjcxNzM5MTMgMCAwAA + + + + + IBUIScreenMetrics + + YES + + YES + + + + + YES + {320, 480} + {480, 320} + + + IBCocoaTouchFramework + Retina 3.5 Full Screen + 0 + + IBCocoaTouchFramework + + + IBCocoaTouchFramework + + + + + YES + + + view + + + + 3 + + + + searchDisplayController + + + + 15 + + + + mainTableView + + + + 5 + + + + dataSource + + + + 9 + + + + delegate + + + + 10 + + + + delegate + + + + 20 + + + + searchContentsController + + + + 16 + + + + searchResultsDataSource + + + + 17 + + + + searchResultsDelegate + + + + 18 + + + + delegate + + + + 19 + + + + searchBar + + + + 14 + + + + + YES + + 0 + + YES + + + + + + 1 + + + YES + + + + + + -1 + + + File's Owner + + + -2 + + + + + 13 + + + + + 4 + + + YES + + + + + + 12 + + + + + + + YES + + YES + -1.CustomClassName + -1.IBPluginDependency + -2.CustomClassName + -2.IBPluginDependency + 1.IBPluginDependency + 12.IBPluginDependency + 13.IBPluginDependency + 4.IBPluginDependency + + + YES + MessierZoekFormulierViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + YES + + + + + + YES + + + + + 27 + + + 0 + IBCocoaTouchFramework + + com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 + + + YES + 3 + 2083 + + diff --git a/Classes/MyCLController.h b/Classes/MyCLController.h new file mode 100755 index 0000000..76aba17 --- /dev/null +++ b/Classes/MyCLController.h @@ -0,0 +1,39 @@ +// +// MyCLController.h +// IDSC +// +// Created by Norbert Schmidt on 21-01-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import + +@protocol MyCLControllerDelegate +@required +- (void)locationUpdate:(CLLocation *)location; +- (void)headingUpdate:(CLHeading *)heading; + +- (void)locationError:(NSError *)error; +@end + + +@interface MyCLController : NSObject { + CLLocationManager *locationManager; + id __unsafe_unretained delegate; + + +} + +@property (nonatomic, retain) CLLocationManager *locationManager; +@property (unsafe_unretained) id delegate; + + +- (void)locationManager:(CLLocationManager *)manager + didUpdateToLocation:(CLLocation *)newLocation + fromLocation:(CLLocation *)oldLocation; + +- (void)locationManager:(CLLocationManager *)manager + didFailWithError:(NSError *)error; + +@end + diff --git a/Classes/MyCLController.m b/Classes/MyCLController.m new file mode 100755 index 0000000..2f9540b --- /dev/null +++ b/Classes/MyCLController.m @@ -0,0 +1,66 @@ +// +// MyCLController.m +// IDSC +// +// Created by Norbert Schmidt on 21-01-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import "MyCLController.h" + +@implementation MyCLController + +@synthesize locationManager; +@synthesize delegate; + +- (id) init { + self = [super init]; + if (self != nil) { + self.locationManager = [[CLLocationManager alloc] init] ; + self.locationManager.desiredAccuracy = kCLLocationAccuracyBest; + self.locationManager.delegate = self; // send loc updates to myself + } + return self; +} + +- (void)locationManager:(CLLocationManager *)manager + didUpdateToLocation:(CLLocation *)newLocation + fromLocation:(CLLocation *)oldLocation +{ + + [self.delegate locationUpdate:newLocation]; +} + + +- (void)locationManager:(CLLocationManager *)manager didUpdateHeading:(CLHeading *)newHeading +{ + + [self.delegate headingUpdate:newHeading]; + +} + + + +- (BOOL)locationManagerShouldDisplayHeadingCalibration:(CLLocationManager *)manager { + + if (self.delegate && [self.delegate respondsToSelector:@selector(locationManagerShouldDisplayHeadingCalibration:)]) { + + return [self.delegate locationManagerShouldDisplayHeadingCalibration:manager]; + } + + return YES; +} + + + +- (void)locationManager:(CLLocationManager *)manager + didFailWithError:(NSError *)error +{ + [self.delegate locationError:error]; +} + + + + + +@end diff --git a/Classes/MySingleton.h b/Classes/MySingleton.h new file mode 100755 index 0000000..5308606 --- /dev/null +++ b/Classes/MySingleton.h @@ -0,0 +1,36 @@ +// +// MySingleton.h +// IDSC +// +// Created by Norbert Schmidt on 02-02-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import + + +@interface MySingleton : NSObject { +NSString *objectkeuze; +double rechteklimming; +double declinatie; +NSString *objectName; +NSString *objectConst; +NSString *objectMagnitude; +NSString *objectSize; +NSString *objectNotes; +NSString *objectType; +} +@property (nonatomic, retain) NSString* objectName; +@property (nonatomic, retain) NSString* objectkeuze; +@property (nonatomic, retain) NSString* objectMagnitude; +@property (nonatomic, retain) NSString* objectSize; +@property (nonatomic, retain) NSString* objectNotes; +@property (nonatomic, retain) NSString* objectType; +@property (nonatomic, retain) NSString* objectConst; +@property(nonatomic, assign) double rechteklimming; +@property(nonatomic, assign) double declinatie; + ++(MySingleton*)sharedMySingleton; + + +@end diff --git a/Classes/MySingleton.m b/Classes/MySingleton.m new file mode 100755 index 0000000..0e75c6d --- /dev/null +++ b/Classes/MySingleton.m @@ -0,0 +1,63 @@ +// +// MySingleton.m +// IDSC +// +// Created by Norbert Schmidt on 02-02-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import "MySingleton.h" + + +@implementation MySingleton + + +@synthesize objectkeuze; +@synthesize rechteklimming; +@synthesize declinatie; +@synthesize objectMagnitude; +@synthesize objectSize; +@synthesize objectNotes; +@synthesize objectType; +@synthesize objectName; +@synthesize objectConst; + + +static MySingleton* _sharedMySingleton = nil; + ++(MySingleton*)sharedMySingleton +{ + static MySingleton *sharedSomeClassInstance = nil; + static dispatch_once_t predicate; + dispatch_once(&predicate, ^{ + sharedSomeClassInstance = [[self alloc] init]; + }); + return sharedSomeClassInstance; +} + ++(id)alloc +{ + @synchronized([MySingleton class]) + { + NSAssert(_sharedMySingleton == nil, @"Attempted to allocate a second instance of a singleton."); + _sharedMySingleton = [super alloc]; + return _sharedMySingleton; + } + + return nil; +} + +-(id)init { + self = [super init]; + if (self != nil) { + // initialize stuff here + } + + return self; +} + + + + + +@end diff --git a/Classes/NGCZoekFormulierViewController.h b/Classes/NGCZoekFormulierViewController.h new file mode 100755 index 0000000..eaee76d --- /dev/null +++ b/Classes/NGCZoekFormulierViewController.h @@ -0,0 +1,37 @@ +// +// ZoekFormulierViewController.h +// IDSC +// +// Created by Norbert Schmidt on 02-02-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import +#import "catalogus.h" + + +@interface NGCZoekFormulierViewController : UIViewController < UITableViewDataSource, UITableViewDelegate> { + UITableView *mainTableView; + NSMutableArray *contentsList; + NSMutableArray *searchResults; + + NSString *savedSearchTerm; + NSString *databaseName; + NSString *databasePath; + + +} + + +@property (nonatomic, retain) IBOutlet UITableView *mainTableView; +@property (nonatomic, retain) NSMutableArray *contentsList; +@property (nonatomic, retain) NSMutableArray *searchResults; +@property (nonatomic, retain) NSString *savedSearchTerm; +@property (nonatomic, retain) NSString *databaseName, *databasePath; + + +- (void)handleSearchForTerm:(NSString *)searchTerm; +- (void)checkAndCreateDatabase; +- (void)readObjectsFromDatabase; + +@end diff --git a/Classes/NGCZoekFormulierViewController.m b/Classes/NGCZoekFormulierViewController.m new file mode 100755 index 0000000..e1b1c25 --- /dev/null +++ b/Classes/NGCZoekFormulierViewController.m @@ -0,0 +1,418 @@ +// +// ZoekFormulierViewController.m +// IDSC +// +// Created by Norbert Schmidt on 02-02-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import "NGCZoekFormulierViewController.h" +#import "MySingleton.h" +#import +#import "catalogus.h" + + +@implementation NGCZoekFormulierViewController + + +@synthesize mainTableView; +@synthesize contentsList; +@synthesize searchResults; +@synthesize savedSearchTerm; +@synthesize databaseName, databasePath; + +- (void)didReceiveMemoryWarning { + // Releases the view if it doesn't have a superview. + [super didReceiveMemoryWarning]; + + // Release any cached data, images, etc. that aren't in use. +} + +- (void)viewDidLoad +{ + + [super viewDidLoad]; + + [self.mainTableView + setBackgroundColor:[UIColor blackColor]]; + + UIColor *NightColor=[UIColor colorWithRed:70 green:0 blue:0 alpha:0.8]; + [self.mainTableView setSeparatorColor:NightColor]; + + // Do any additional setup after loading the view, typically from a nib. + + databaseName = @"catalogus.sqlite"; + // Get the path to the documents directory and append the databaseName + NSArray *documentPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); + + NSString *documentsDir = [documentPaths objectAtIndex:0]; + databasePath = [documentsDir stringByAppendingPathComponent: databaseName]; + + + + + [self checkAndCreateDatabase]; + [self readObjectsFromDatabase]; + + + + // Deze vervangen voor de databaseversie + + + + +[self setContentsList:contentsList]; + + + + // Restore search term + if ([self savedSearchTerm]) + { + [[[self searchDisplayController] searchBar] setText:[self savedSearchTerm]]; + + + } + +} + + +- (void)viewWillAppear:(BOOL)animated +{ + + + [super viewWillAppear:animated]; + + [[self mainTableView] reloadData]; + + +} + + + + + +- (void)handleSearchForTerm:(NSString *)searchTerm +{ + [self setSavedSearchTerm:searchTerm]; + + if ([self searchResults] == nil) + { + NSMutableArray *array = [[NSMutableArray alloc] init]; + [self setSearchResults:array]; + array = nil; + } + + [[self searchResults] removeAllObjects]; + + if ([[self savedSearchTerm] length] != 0) + { + + + + for (catalogus *zoekcatalogus in [self contentsList]) { + + if ([zoekcatalogus.objectID rangeOfString:searchTerm options:NSCaseInsensitiveSearch].location != NSNotFound) + { + [[self searchResults] addObject:zoekcatalogus.objectID]; + + + + } + } + } +} + +- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section +{ + NSInteger rows; + + if (tableView == [[self searchDisplayController] searchResultsTableView]) + rows = [[self searchResults] count]; + else + rows = [[self contentsList] count]; + + return rows; +} + + + + + +- (void) tableView:(UITableView *) tableView +didSelectRowAtIndexPath: (NSIndexPath *) indexPath { + + + + UITableViewCell *cell; + cell = [tableView cellForRowAtIndexPath:indexPath]; + + // ? volgens mij hier search + // in contentslist zit een object + // in searchlist alleen een tekststring + + + + catalogus *mijnCatalogus = (catalogus *)[self.contentsList objectAtIndex: indexPath.row]; + + UIView *bgColorView = [[UIView alloc] init]; + + UIColor *NightColor=[UIColor colorWithRed:70 green:0 blue:0 alpha:0.8]; + + [bgColorView setBackgroundColor:NightColor]; + [cell setSelectedBackgroundView:bgColorView]; + + + + // Kommas naar punten + + NSString *RAString = [mijnCatalogus.objectRA stringByReplacingOccurrencesOfString:@"," withString:@"."]; + NSString *DECString = [mijnCatalogus.objectDec stringByReplacingOccurrencesOfString:@"," withString:@"."]; + + + float rechteklimming = [RAString floatValue]; + float declinatie = [DECString floatValue]; + + [MySingleton sharedMySingleton].objectkeuze = mijnCatalogus.objectID; + [MySingleton sharedMySingleton].declinatie=declinatie; + [MySingleton sharedMySingleton].rechteklimming=rechteklimming; + [MySingleton sharedMySingleton].objectMagnitude=mijnCatalogus.objectMagnitude; + [MySingleton sharedMySingleton].objectType=mijnCatalogus.objectType; + [MySingleton sharedMySingleton].objectSize=mijnCatalogus.objectSize; + [MySingleton sharedMySingleton].objectNotes=mijnCatalogus.objectNotes; + [MySingleton sharedMySingleton].objectName=mijnCatalogus.objectName; + [MySingleton sharedMySingleton].objectConst=mijnCatalogus.objectConstellation; + + if (tableView == [[self searchDisplayController] searchResultsTableView]) { + for (catalogus *zoekcatalogus in [self contentsList]) { + + if ([zoekcatalogus.objectID rangeOfString:cell.textLabel.text options:NSCaseInsensitiveSearch].location != NSNotFound) + { + NSString *RAString = [zoekcatalogus.objectRA stringByReplacingOccurrencesOfString:@"," withString:@"."]; + NSString *DECString = [zoekcatalogus.objectDec stringByReplacingOccurrencesOfString:@"," withString:@"."]; + double rechteklimming = [RAString doubleValue]; + double declinatie = [DECString doubleValue]; + [MySingleton sharedMySingleton].objectkeuze = zoekcatalogus.objectID; + [MySingleton sharedMySingleton].rechteklimming=rechteklimming; + [MySingleton sharedMySingleton].declinatie=declinatie; + [MySingleton sharedMySingleton].objectMagnitude=zoekcatalogus.objectMagnitude; + [MySingleton sharedMySingleton].objectType=zoekcatalogus.objectType; + [MySingleton sharedMySingleton].objectSize=zoekcatalogus.objectSize; + [MySingleton sharedMySingleton].objectNotes=zoekcatalogus.objectNotes; + [MySingleton sharedMySingleton].objectConst=zoekcatalogus.objectConstellation; + break; + + + } + + } + + + + + + } + + + + +} + + + + + +- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath +{ + NSInteger row = [indexPath row]; + NSString *contentForThisRow=NULL ; + + + if (tableView == [[self searchDisplayController] searchResultsTableView]) { + contentForThisRow = [[self searchResults] objectAtIndex:row]; + + } + else { + catalogus *mijnCatalogus = (catalogus *)[self.contentsList objectAtIndex: row]; + contentForThisRow = mijnCatalogus.objectID; + } + + + static NSString *CellIdentifier = @"CellIdentifier"; + + UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; + if (cell == nil) + { + cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier]; + } + + + + UIFont *myFont = [ UIFont fontWithName: @"System" size: 16.0 ]; + cell.textLabel.font = myFont; + // Set up the cell... + + UIColor *NightColor=[UIColor colorWithRed:70 green:0 blue:0 alpha:0.8]; + + cell.textLabel.textColor=NightColor; + + [[cell textLabel] setText:contentForThisRow]; + + + + + return cell; +} + + + + + + + + +- (void)searchDisplayControllerWillEndSearch:(UISearchDisplayController *)controller +{ + [self setSavedSearchTerm:nil]; + + [[self mainTableView] reloadData]; +} + + + + +- (BOOL)searchDisplayController:(UISearchDisplayController *)controller +shouldReloadTableForSearchString:(NSString *)searchString +{ + + + // Tint + CGFloat nRed=84.0/255.0; + CGFloat nBlue=8/255.0; + CGFloat nGreen=4.0/255.0; + UIColor *nightColor=[[UIColor alloc]initWithRed:nRed green:nBlue blue:nGreen alpha:1]; + [controller.searchResultsTableView setBackgroundColor:nightColor]; + controller.searchResultsTableView.bounces=FALSE; + + [self handleSearchForTerm:searchString]; + return YES; +} + + + + + +- (void)viewDidUnload +{ + [super viewDidUnload]; + + // Save the state of the search UI so that it can be restored if the view is re-created. + [self setSavedSearchTerm:[[[self searchDisplayController] searchBar] text]]; + + + + + + + [self setSearchResults:nil]; +} + +- (void) checkAndCreateDatabase{ + + // Check if the SQL database has already been saved to the users phone, if not then copy it over + BOOL success; + + // Create a FileManager object, we will use this to check the status + // of the database and to copy it over if required + NSFileManager *fileManager = [NSFileManager defaultManager]; + + // Check if the database has already been created in the users filesystem + success = [fileManager fileExistsAtPath:databasePath]; + + // If the database already exists then return without doing anything + if(success) return; + + // If not then proceed to copy the database from the application to the users filesystem + + // Get the path to the database in the application package + NSString *databasePathFromApp = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:databaseName]; + + // Copy the database from the package to the users filesystem + [fileManager copyItemAtPath:databasePathFromApp toPath:databasePath error:nil]; + + + + +} + + + +- (void) readObjectsFromDatabase{ + + + // Setup the database object + sqlite3 *database; + + contentsList = [[NSMutableArray alloc] init]; + + // Open the database from the users filessytem + if(sqlite3_open([databasePath UTF8String], &database) == SQLITE_OK) { + + // Setup the SQL Statement and compile it for faster access + const char *sqlStatement = "select * from ngc"; + + sqlite3_stmt *compiledStatement; + + if(sqlite3_prepare_v2(database, sqlStatement, -1, &compiledStatement, NULL) == SQLITE_OK) { + + // Loop through the results and add them to the feeds array + while(sqlite3_step(compiledStatement) == SQLITE_ROW) { + + + + NSString *bOobjectID = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 0)]; + NSString *bobjectName = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 1)]; + NSString *bobjectType = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 2)]; + NSString *bobjectRA = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 3)]; + NSString *bobjectDec = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 4)]; + NSString *bobjectMagnitude = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 5)]; + NSString *bobjectSize = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 6)]; + NSString *bobjectConstellation = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 7)]; + NSString *bobjectNotes = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 8)]; + + + + [self.contentsList addObject:[catalogus objectWithID:bOobjectID objectName:bobjectName objectType:bobjectType objectRA:bobjectRA objectDec:bobjectDec objectMagnitude:bobjectMagnitude objectSize:bobjectSize objectConstellation:bobjectConstellation objectNotes:bobjectNotes]]; + + + } + } + + // Release the compiled statement from memory + sqlite3_finalize(compiledStatement); + + } + +/* + + NSSortDescriptor *sortDescriptor = [[NSSortDescriptor alloc] initWithKey:@"objectID" ascending:YES]; + NSArray *sortDescriptors = [NSArray arrayWithObject:sortDescriptor]; + NSArray *sortedArray = [contentsList sortedArrayUsingDescriptors:sortDescriptors]; + + self.contentsList = [sortedArray mutableCopy]; + + + */ + + + sqlite3_close(database); + +} + + + + + + + + +@end diff --git a/Classes/NGCZoekFormulierViewController.xib b/Classes/NGCZoekFormulierViewController.xib new file mode 100755 index 0000000..2ae4668 --- /dev/null +++ b/Classes/NGCZoekFormulierViewController.xib @@ -0,0 +1,323 @@ + + + + 1552 + 12E55 + 3084 + 1187.39 + 626.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 2083 + + + YES + IBProxyObject + IBUISearchBar + IBUISearchDisplayController + IBUITableView + IBUIView + + + YES + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 274 + + YES + + + 274 + + YES + + + 290 + {320, 44} + + + + 1 + MCAwIDAAA + + 3 + IBCocoaTouchFramework + + 1 + MC41MjcxNzM5MTMgMCAwAA + + + IBCocoaTouchFramework + + + + {320, 411} + + + + + 1 + MC42NzUyNzE3MzkxIDAgMAA + + YES + IBCocoaTouchFramework + YES + 1 + 10 + YES + 44 + 22 + 22 + + + + {{0, 20}, {320, 411}} + + + + + 1 + MC41MjcxNzM5MTMgMCAwAA + + + + IBCocoaTouchFramework + + + IBCocoaTouchFramework + + + + + YES + + + view + + + + 3 + + + + mainTableView + + + + 5 + + + + searchDisplayController + + + + 15 + + + + dataSource + + + + 9 + + + + delegate + + + + 10 + + + + delegate + + + + 20 + + + + searchBar + + + + 14 + + + + searchContentsController + + + + 16 + + + + searchResultsDataSource + + + + 17 + + + + searchResultsDelegate + + + + 18 + + + + delegate + + + + 19 + + + + + YES + + 0 + + YES + + + + + + 1 + + + YES + + + + + + -1 + + + File's Owner + + + -2 + + + + + 4 + + + YES + + + + + + 13 + + + + + 12 + + + + + + + YES + + YES + -1.CustomClassName + -1.IBPluginDependency + -2.CustomClassName + -2.IBPluginDependency + 1.IBPluginDependency + 12.IBPluginDependency + 13.IBPluginDependency + 4.IBPluginDependency + + + YES + NGCZoekFormulierViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + YES + + + + + + YES + + + + + 30 + + + + YES + + NGCZoekFormulierViewController + UIViewController + + mainTableView + UITableView + + + mainTableView + + mainTableView + UITableView + + + + IBProjectSource + ./Classes/NGCZoekFormulierViewController.h + + + + + 0 + IBCocoaTouchFramework + + com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 + + + YES + 3 + 2083 + + diff --git a/Classes/OrientationAppDelegate.h b/Classes/OrientationAppDelegate.h new file mode 100755 index 0000000..b100619 --- /dev/null +++ b/Classes/OrientationAppDelegate.h @@ -0,0 +1,23 @@ +// + + +#import + + +@class OrientationViewController; + +@interface OrientationAppDelegate : NSObject { + UIWindow *window; + IBOutlet UITabBarController *tabBarController; + + OrientationViewController *viewController; + + +} + +@property (nonatomic, retain) IBOutlet UIWindow *window; +@property (nonatomic, retain) IBOutlet UITabBarController *tabBarController; +@property (nonatomic, retain) IBOutlet OrientationViewController *viewController; + +@end + diff --git a/Classes/OrientationAppDelegate.m b/Classes/OrientationAppDelegate.m new file mode 100755 index 0000000..02faeaa --- /dev/null +++ b/Classes/OrientationAppDelegate.m @@ -0,0 +1,32 @@ +#import "OrientationAppDelegate.h" +#import "OrientationViewController.h" +#import "MessierZoekformulierViewController.h" +#import "NGCZoekformulierViewController.h" + + + +@implementation OrientationAppDelegate + +@synthesize window; +@synthesize viewController; +@synthesize tabBarController; + + +- (void)applicationDidFinishLaunching:(UIApplication *)application { + + // Override point for customization after app launch + [window addSubview:viewController.view]; + [window addSubview:tabBarController.view]; + [window makeKeyAndVisible]; + self.window.rootViewController = self.tabBarController; + + + [[UIApplication sharedApplication] setStatusBarHidden:YES ]; + + +} + + + + +@end diff --git a/Classes/OrientationViewController.h b/Classes/OrientationViewController.h new file mode 100755 index 0000000..bc62d31 --- /dev/null +++ b/Classes/OrientationViewController.h @@ -0,0 +1,67 @@ +#import + +#import "MyCLController.h" +#import "MySingleton.h" +#import + + +@interface OrientationViewController : UIViewController + { + MyCLController *locationController; + CMMotionManager *motionManager; + NSOperationQueue *opQ; + + IBOutlet UITabBar *tabBar; + IBOutlet UILabel *alt; + IBOutlet UILabel *az; + IBOutlet UILabel *objalt; + IBOutlet UILabel *objaz; + IBOutlet UILabel *latLabel; + IBOutlet UILabel *longLabel; + IBOutlet UILabel *timeLabel; + IBOutlet UILabel *radecinfoLabel; + IBOutlet UILabel *constLabel; + + IBOutlet UILabel *objectIDlabel; + IBOutlet UILabel *objconstlabel; +IBOutlet UILabel *horizvertlabel; + IBOutlet UILabel *objectlabel; + IBOutlet UILabel *objtypeLabel; + + IBOutlet UILabel *objsizeLabel; + IBOutlet UILabel *objmagLabel; + IBOutlet UITextView *objnotes; + + IBOutlet UIImageView *AZdirectionArrow; + IBOutlet UIImageView *ALTdirectionArrow; + CLLocation *locatie; + NSTimer *backgroundTimer; +} + + +@property (nonatomic, retain) UILabel *alt; +@property (nonatomic, retain) UILabel *az; +@property (nonatomic, retain) UILabel *objalt; +@property (nonatomic, retain) UILabel *objaz; +@property (nonatomic, retain) UILabel *latLabel; +@property (nonatomic, retain) UILabel *longLabel; +@property (nonatomic, retain) UILabel *timeLabel; +@property (nonatomic, retain) UILabel *radecinfoLabel; +@property (nonatomic, retain) UILabel *objsizeLabel; +@property (nonatomic, retain) UILabel *objmagLabel; +@property (nonatomic, retain) UILabel *objtypeLabel; +@property (nonatomic, retain) UILabel *objectIDlabel; +@property (nonatomic, retain) UILabel *objconstlabel; +@property (nonatomic, retain) UITextView *objnotes; +@property (nonatomic, retain) UILabel *objectlabel; +@property (nonatomic, retain) UILabel *horizvertlabel; + +@property (retain, nonatomic) UIImageView *ALTdirectionArrow; +@property (retain, nonatomic) UIImageView *AZdirectionArrow; +@property (nonatomic,retain) CLLocation *locatie; + +-(BOOL)isvertical; +-(void)convertradectoaltaz; + + +@end diff --git a/Classes/OrientationViewController.m b/Classes/OrientationViewController.m new file mode 100755 index 0000000..9ca0044 --- /dev/null +++ b/Classes/OrientationViewController.m @@ -0,0 +1,635 @@ + +#import "OrientationViewController.h" +#import "MessierZoekFormulierViewController.h" +#import "NGCZoekFormulierViewController.h" +#import +#include "Math.h" + +@implementation OrientationViewController + + +@synthesize alt; +@synthesize az; +@synthesize objalt; +@synthesize objaz; +@synthesize latLabel; +@synthesize longLabel; +@synthesize timeLabel; +@synthesize radecinfoLabel; +@synthesize objectIDlabel; +@synthesize objconstlabel; +@synthesize objectlabel; +@synthesize objsizeLabel; +@synthesize objmagLabel; +@synthesize horizvertlabel; +@synthesize objnotes; +@synthesize objtypeLabel; +@synthesize ALTdirectionArrow; +@synthesize AZdirectionArrow; +@synthesize locatie; + + +double ALT, AZ; + +NSString *strObjectinfo; + + +- (id) init { + self = [super init]; + if (self != nil) { + } + return self; + + + +} + + + + + + +#pragma mark - +#pragma mark UIAccelerometerDelegate + +- (void)accelerometer:(UIAccelerometer *)accelerometer + didAccelerate:(UIAcceleration *)acceleration { + + + double y,z; + + y = (double)acceleration.y; + z =(double) acceleration.z; + y=y*-1; + if (y>1) y=1; + if (y<-1) y=-1; + + + // projected on sphere + y = acos(y) ; + y = (y / 3.14151927 ) * 180; + + // y=y-180; + // als z negatief is dan is y dat ook. + + + // if (z<0) y=y*-1; + // NSLog (@"Z %.2f",z ); + + // round to 2 digits + y= (round(y*100.0)/100.0); + + + if (!isnan(y)) { + alt.text=@""; + } + + + if (z<0) y=y*-1; + + + if (![self isvertical]) { + + y=y+90; + + } else + + + + + if (isnan(y)) { + alt.text=@""; + } + alt.text = [NSString stringWithFormat:@"%.2f", y]; + + + + + + + double delta = ((ALT-y)); + + + + + if (abs(delta) <= 2 ) { + ALTdirectionArrow.image = [UIImage imageNamed:@"bullseye.png"]; // target + + + } else { + if (delta > 5) ALTdirectionArrow.image = + [UIImage imageNamed:@"up_arrow.png"]; + else + if (delta < 0) ALTdirectionArrow.image = + [UIImage imageNamed:@"down_arrow.png"]; + } + + +} + + +#pragma mark - + +/* +// The designated initializer. Override to perform setup that is required before the view is loaded. +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { + if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) { + // Custom initialization + } + return self; +} +*/ + +/* +// Implement loadView to create a view hierarchy programmatically, without using a nib. +- (void)loadView { +} +*/ + +// Implement viewDidLoad to do additional setup after loading the view, typically from a nib. +- (void)viewDidLoad { + + [super viewDidLoad]; + + + + + + + + + + locationController = [[MyCLController alloc] init]; + locationController.delegate = self; + tabBar.delegate = self; + motionManager = [[CMMotionManager alloc] init]; + + [locationController.locationManager startUpdatingLocation]; + [locationController.locationManager startUpdatingHeading]; + + + + // Kost wat meer batterij, maar precisie boven alles. + locationController.locationManager.desiredAccuracy = kCLLocationAccuracyBest; + locationController.locationManager.headingFilter = kCLHeadingFilterNone; + + UIAccelerometer *accelerometer = [UIAccelerometer sharedAccelerometer]; + accelerometer.delegate = self; + + // Terugzetten naar 0.5 voor productie! + + accelerometer.updateInterval = 0.1; + + // timer voor update / elke 10 seconden + backgroundTimer = [NSTimer scheduledTimerWithTimeInterval: 10.0 target: self selector: @selector(convertradectoaltaz) userInfo: nil repeats: YES]; + +} + + + +-(void)viewWillAppear:(BOOL)animated{ + + strObjectinfo=[MySingleton sharedMySingleton].objectName; + if (strObjectinfo==NULL) { strObjectinfo=@"Please choose.."; + + objalt.text=@""; + objaz.text=@""; + } + + + + + + objectIDlabel.text=[MySingleton sharedMySingleton].objectkeuze; + objectlabel.text=strObjectinfo; + + + + [self convertradectoaltaz]; + + // Laat zien op scherm + double ra,dec; + + ra=[MySingleton sharedMySingleton].rechteklimming; + dec=[MySingleton sharedMySingleton].declinatie; + + NSString *radecstr = [NSString stringWithFormat:@"RA %.2f DEC %.2f", ra, dec]; + radecinfoLabel.text= radecstr; + objsizeLabel.text=[MySingleton sharedMySingleton].objectSize; + objmagLabel.text=[MySingleton sharedMySingleton].objectMagnitude; + objnotes.text=[MySingleton sharedMySingleton].objectNotes; + objtypeLabel.text=[MySingleton sharedMySingleton].objectType; + objconstlabel.text=[MySingleton sharedMySingleton].objectConst; + + + +} + + + + + + + + + +- (void)didReceiveMemoryWarning { + // Releases the view if it doesn't have a superview. + [super didReceiveMemoryWarning]; + + // Release any cached data, images, etc that aren't in use. +} + +- (void)viewDidUnload { + // Release any retained subviews of the main view. + // e.g. self.myOutlet = nil; +} + + + + +- (void) convertradectoaltaz { + + NSString *strUren; + NSString *strMinuten; + NSString *strJaar; + NSString *strMaand; + NSString *strDag; + + + + double latit, longit, lst, rechteklimming, declinatie, uurhoek, dag, maand, uren, minuten, maanddagen, dagdagen ; + double dagenj2000, dectijd, tijdut; + double HARad, DECRad, ALTRad,LatRad, sinALT, cosAZ,AZ11,AZ12,sinAZ,AZ21,AZ22; + // initialiseren + dagdagen=0; + maanddagen=0; + + // intitialiseren waardes + + latit=self.locatie.coordinate.latitude; + longit=self.locatie.coordinate.longitude; + + // singleton data gebruiken. + + rechteklimming=[MySingleton sharedMySingleton].rechteklimming; + declinatie=[MySingleton sharedMySingleton].declinatie; + + /* + // DEBUG UITZETTEN! + // Test voor M13 + rechteklimming=16.695; + declinatie=36.46; + latit=52.5; + longit=-1.91; + + */ + + + + + + + + + // We werken in UTC + + NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; + NSTimeZone *timeZone = [NSTimeZone timeZoneWithName:@"GMT"]; + + + [formatter setTimeZone:timeZone]; + + + // Dag grabben + [formatter setDateFormat:@"dd"]; + strDag= [formatter stringFromDate:self.locatie.timestamp]; + // NSLog(@"Dag:% @" ,strDag); + + // Maand grabben + [formatter setDateFormat:@"MM"]; + strMaand= [formatter stringFromDate:self.locatie.timestamp]; + // NSLog(@"Maand: %@" ,strMaand); + + + // Uren grabben + [formatter setDateFormat:@"HH"]; + strUren= [formatter stringFromDate:self.locatie.timestamp]; + // NSLog(@"Uur: %@" ,strUren); + + + // Minuten grabben + [formatter setDateFormat:@"mm"]; + strMinuten= [formatter stringFromDate:self.locatie.timestamp]; + + + // Jaar grabben + [formatter setDateFormat:@"yyyy"]; + strJaar= [formatter stringFromDate:self.locatie.timestamp]; + + /* + // Debug UITZETTEN!! + strDag=@"10"; + strMaand=@"08"; + strUren=@"23"; + strMinuten=@"10"; + strJaar=@"1998"; + */ + + + + // Converteer string naar float + + + dag = [strDag doubleValue]; + maand = [strMaand doubleValue]; + uren = [strUren doubleValue]; + minuten = [strMinuten doubleValue]; + + // Aantal dagen sinds epoch 2000 berekenen + + // Maak van uren+minuten een decimaal + dectijd =uren + (minuten/60); + dectijd = dectijd/24; + + // NSLog(@"Dectijd %.2f", dectijd); + + + + + + // NSLog(@"Latit %.2f, Longit %.2f, RA %.2f,DEC %.2f", latit,longit,rechteklimming,declinatie); + + + + + + + // in een array plaatsen! + // maanddagen= 31; // Aantal dagen sinds begin van het jaar Augustus in een niet-schrikkeljaar + + int intMaand = (int) maand; + + + switch(intMaand) + { + case 1 : + maanddagen =0; + break; + case 2 : + maanddagen =31; + break; + case 3 : + maanddagen =59; + break; + case 4 : + maanddagen =90; + break; + case 5 : + maanddagen =120; + break; + case 6 : + maanddagen =151; + break; + case 7 : + maanddagen =181; + break; + case 8 : + maanddagen =212; + break; + case 9 : + maanddagen =243; + break; + case 10 : + maanddagen =273; + break; + case 11 : + maanddagen =304; + break; + case 12 : + maanddagen =334; + break; + + } + + + + + + + + + if ([strJaar isEqual:@"2013"]) dagdagen=4747.5; + if ([strJaar isEqual:@"2014"]) dagdagen=5112.5; + if ([strJaar isEqual:@"2015"]) dagdagen=5477.5; + if ([strJaar isEqual:@"2016"]) { + // schrikkeljaar! + + dagdagen=5842.5; + if ([strMaand isEqual:@"01"]) maanddagen=0; + if ([strMaand isEqual:@"02"]) maanddagen=31; + if([strMaand isEqual:@"03"]) maanddagen=60; + if ([strMaand isEqual:@"04"]) maanddagen=91; + if ([strMaand isEqual:@"05"]) maanddagen=121; + if ([strMaand isEqual:@"06"]) maanddagen=152; + if ([strMaand isEqual:@"07"]) maanddagen=182; + if([strMaand isEqual:@"08"]) maanddagen=213; + if([strMaand isEqual:@"09"]) maanddagen=244; + if ([strMaand isEqual:@"10"]) maanddagen=274; + if ([strMaand isEqual:@"11"]) maanddagen=305; + if ([strMaand isEqual:@"12"]) maanddagen=335; + + + + } + + + if ([strJaar isEqual:@"2017"]) dagdagen=6208.5; + if ([strJaar isEqual:@"2018"]) dagdagen=6573.5; + + + + + + // optellen en aantal dagen bepalen sinds 01-01-2000 0:00 + + dagenj2000=dectijd+maanddagen+dag+dagdagen; + +// NSLog(@"Dagen J2000 %.2f = dectijd %.2f + maanddagen %.2f + dag %.2f + dagdagen %.2f", dagenj2000, dectijd, maanddagen,dag,dagdagen); + + + // Local Siderial Time + + + // UT tijd berekenen + tijdut =uren + (minuten/60); + + lst = 100.46 + 0.985647 * dagenj2000 + longit + 15*tijdut ; + + // modulusberekening. Cocoa doet alleen INT op modulus + lst = lst - (floor(lst/ 360) *360); + + + // Rechteklimming converteren van decimalen naar graden + rechteklimming = rechteklimming * 15; + + // Uurhoek berekenen. Als uurhoek <0 360 erbij optellen. + + + uurhoek = lst - rechteklimming; + if (uurhoek<0){ + uurhoek=uurhoek+360; + } + + + + // NSLog(@"Uurhoek %.2f rechteklimming %.2f" ,uurhoek,rechteklimming); + + + + // CONVERSIE RA/DEC --> ALTAZ + + // Converteer graden naar radians; + + HARad= (uurhoek*M_PI)/180; + DECRad = (declinatie*M_PI)/180; + LatRad = (latit*M_PI)/180; + + sinALT = sin(DECRad) * sin(LatRad) + cos(DECRad)* cos(LatRad)* cos(HARad); + ALTRad = asin(sinALT) ; + ALT = ALTRad * 180/M_PI; + cosAZ = (sin(DECRad)* cos(LatRad)- cos(DECRad)*cos(HARad)* sin(LatRad))/ cos(ALTRad) ; + AZ11 = (acos(cosAZ)) * 180/M_PI ; + AZ12 = 360 - AZ11 ; + sinAZ = (-cos(DECRad)*sin(HARad))/cos(ALTRad); + AZ21 = (asin(sinAZ)) * 180/M_PI ; + if (AZ21 >=0 ) {AZ22 = 180 - AZ21 ;} else { AZ22 = 360 - AZ21 ; } ; + if ((abs(AZ11-AZ21) <= 0.0001)||(abs(AZ11-AZ22) <= 0.0001)){ + AZ = AZ11 ; + }else {AZ = AZ12 ;} + + + + + // SCHERMOUTPUT + + + strObjectinfo=[MySingleton sharedMySingleton].objectkeuze; + objalt.text = [NSString stringWithFormat:@"%.2f", ALT]; + objaz.text = [NSString stringWithFormat:@"%.2f", AZ]; + + if (strObjectinfo==NULL) { + objalt.text = @"";//[NSString stringWithFormat:@"%.2f", ALT]; + objaz.text =@"";// [NSString stringWithFormat:@"%.2f", AZ]; + } + // Laat lat en Lon zien op scherm + latLabel.text = [NSString stringWithFormat:@"Lat: %.2f", self.locatie.coordinate.latitude]; + longLabel.text = [NSString stringWithFormat:@"Lon: %.2f", self.locatie.coordinate.longitude]; + + // TijdLabel op scherm (terugconverteren naar GMT+1) --> Was een BUG! + + timeZone = [NSTimeZone systemTimeZone]; + [formatter setTimeZone:timeZone]; + + [formatter setDateFormat:@"HH:mm"]; + + strUren= [formatter stringFromDate:self.locatie.timestamp]; + timeLabel.text= strUren; + + + + if (ALT<0) { strObjectinfo=@"Object under horizon"; + + objalt.text=@"Under"; + objaz.text=@"Horizon"; + } + + +} + +- (void)locationUpdate:(CLLocation *)location { + self.locatie = location; + + + } + + +- (void)headingUpdate:(CLHeading *)heading { + + + + // If the accuracy is valid, process the event. + + if (heading.headingAccuracy > 0) + + { + + az.text = [NSString stringWithFormat:@"%.2f", heading.trueHeading]; + + + + double delta = heading.trueHeading - AZ; + if (abs(delta) <= 10) { + AZdirectionArrow.image = [UIImage imageNamed:@"bullseye.png"]; // target + } else { + if (delta > 180) AZdirectionArrow.image = + [UIImage imageNamed:@"right_arrow.png"]; + else if (delta > 0) AZdirectionArrow.image = + [UIImage imageNamed:@"left_arrow.png"]; + else if (delta > -180) AZdirectionArrow.image = + [UIImage imageNamed:@"right_arrow.png"]; + else AZdirectionArrow.image = [UIImage imageNamed:@"left_arrow.png"]; + } + AZdirectionArrow.hidden = NO; + } else { + AZdirectionArrow.hidden = YES; + + + + } + + + + + + + + + +} + +-(BOOL) isvertical { + NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; + BOOL vertical = [defaults boolForKey:@"vertical"]; + if (vertical) { + return TRUE; + } + else + return FALSE; + +} + + +- (void)locationError:(NSError *)error { + latLabel.text = [error description]; +} + + + + +- (IBAction)infoButtonClick:(id)sender{ + UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"The Orientation window" + message:@"Based on your selection, the Altitude and Azimuth are calculated for the object. Now you can point your telescope to the object. The numbers in the telescope position panel and the object panel should match. The arrows are here to help you. Hint: start with horizontal axis (like a compass) alignment, after that align vertically." + delegate:nil + cancelButtonTitle:@"OK" + otherButtonTitles: nil]; + [alert show]; + +} + + + + + + +@end diff --git a/Classes/catalogus.h b/Classes/catalogus.h new file mode 100644 index 0000000..e80ae42 --- /dev/null +++ b/Classes/catalogus.h @@ -0,0 +1,36 @@ + +// +// Created by Norbert Schmidt on 14-03-12. +// Copyright (c) 2012 DDQ. All rights reserved. +// + +#import + + @interface catalogus : NSObject { + NSString *objectID; + NSString *objectName; + NSString *objectType; + NSString *objectRA; + NSString *objectDec; + NSString *objectMagnitude; + NSString *objectSize; + NSString *objectConstellation; + NSString *objectNotes; + + } + +@property (nonatomic, copy)NSString *objectID, *objectName, *objectType, *objectRA, *objectDec, *objectMagnitude, *objectSize, *objectConstellation, *objectNotes ; + + + (id)objectWithID:(NSString *)objectID + objectName:(NSString *)objectName + objectType:(NSString *)objectType + objectRA:(NSString *)objectRA + objectDec:(NSString *)objectDec + objectMagnitude:(NSString *)objectMagnitude + objectSize:(NSString *)objectSize + objectConstellation:(NSString *)objectConstellation + objectNotes:(NSString *)objectNotes; + + + + @end diff --git a/Classes/catalogus.m b/Classes/catalogus.m new file mode 100644 index 0000000..d79da19 --- /dev/null +++ b/Classes/catalogus.m @@ -0,0 +1,41 @@ +// +// ngcic.m +// test +// +// Created by Norbert Schmidt on 14-03-12. +// Copyright (c) 2012 DDQ. All rights reserved. +// + + + +#import "catalogus.h" + +@implementation catalogus + +@synthesize objectID,objectName, objectType,objectRA, objectDec, objectMagnitude, objectSize, objectConstellation, objectNotes; + ++ (id) objectWithID:(NSString *)objectID objectName:(NSString *)objectName objectType:(NSString *)objectType objectRA:(NSString *)objectRA objectDec:(NSString *)objectDec objectMagnitude:(NSString *)objectMagnitude objectSize:(NSString *)objectSize objectConstellation:(NSString *)objectConstellation objectNotes:(NSString *)objectNotes{ + + catalogus *newObject = [[self alloc] init] ; + newObject.objectID = objectID; + newObject.objectName = objectName; + newObject.objectType = objectType; + newObject.objectRA = objectRA; + newObject.objectDec = objectDec; + newObject.objectMagnitude = objectMagnitude; + newObject.objectSize = objectSize; + newObject.objectConstellation = objectConstellation; + newObject.objectNotes = objectNotes; + + + return newObject; + + +} + + + + + +@end + diff --git a/Classes/catalogus.sqlite b/Classes/catalogus.sqlite new file mode 100644 index 0000000..32ab4cf Binary files /dev/null and b/Classes/catalogus.sqlite differ diff --git a/Classes/coordinatetranslator.h b/Classes/coordinatetranslator.h new file mode 100755 index 0000000..35b0a78 --- /dev/null +++ b/Classes/coordinatetranslator.h @@ -0,0 +1,33 @@ +// +// coordinatetranslator.h +// IDSC +// +// Created by Norbert Schmidt on 25-01-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import + + +@interface coordinatetranslator : NSObject { + + + + // NSdate *datum; + double Long; + double Lat; + double Alti; + double ALT ; + double AZ ; + double RA ; + double DEC ; + char ObjName ; + char ObjRef ; + char ObjAltName ; + char ObjType ; + + + +} + +@end diff --git a/Classes/coordinatetranslator.m b/Classes/coordinatetranslator.m new file mode 100755 index 0000000..383d779 --- /dev/null +++ b/Classes/coordinatetranslator.m @@ -0,0 +1,15 @@ +// +// coordinatetranslator.m +// IDSC +// +// Created by Norbert Schmidt on 25-01-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import "coordinatetranslator.h" + + +@implementation coordinatetranslator + +@end + diff --git a/Classes/customViewController.h b/Classes/customViewController.h new file mode 100644 index 0000000..cc2eccb --- /dev/null +++ b/Classes/customViewController.h @@ -0,0 +1,39 @@ +// +// customViewController.h +// iPushTo +// +// Created by Norbert Schmidt on 02-03-12. +// Copyright (c) 2012 DDQ. All rights reserved. +// + +#import +#import "GradientButton.h" +@interface customViewController : UIViewController { + + IBOutlet UIButton *hideKeyboardButton; + IBOutlet GradientButton *submitButton; + IBOutlet UITextField *txtRAuur; + IBOutlet UITextField *txtRAminuut; + IBOutlet UISegmentedControl *segPlusmin; + IBOutlet UITextField *txtDECuur; + IBOutlet UITextField *txtDECminuut; + +} + +@property (nonatomic,retain) IBOutlet UIButton *hideKeyboardButton; +@property (nonatomic,retain) IBOutlet GradientButton *submitButton; +@property (nonatomic,retain) IBOutlet UITextField *txtRAuur; +@property (nonatomic,retain) IBOutlet UITextField *txtRAminuut; +@property (nonatomic,retain) IBOutlet UISegmentedControl *segPlusmin; +@property (nonatomic,retain) IBOutlet UITextField *txtDECuur; +@property (nonatomic,retain) IBOutlet UITextField *txtDECminuut; + + + +- (IBAction)hidekeyboard:(id)sender; +-(IBAction)submitclick; +-(BOOL) textfieldcheck; + + + +@end diff --git a/Classes/customViewController.m b/Classes/customViewController.m new file mode 100644 index 0000000..e461e25 --- /dev/null +++ b/Classes/customViewController.m @@ -0,0 +1,154 @@ +// +// customViewController.m +// iPushTo +// +// Created by Norbert Schmidt on 02-03-12. +// Copyright (c) 2012 DDQ. All rights reserved. +// + +#import "customViewController.h" +#import "MySingleton.h" +@implementation customViewController + +@synthesize hideKeyboardButton; +@synthesize submitButton; +@synthesize txtRAuur; +@synthesize txtRAminuut; +@synthesize segPlusmin; +@synthesize txtDECuur; +@synthesize txtDECminuut; + + +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil +{ + self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; + if (self) { + // Custom initialization + } + return self; +} + +- (void)didReceiveMemoryWarning +{ + // Releases the view if it doesn't have a superview. + [super didReceiveMemoryWarning]; + + // Release any cached data, images, etc that aren't in use. +} + +#pragma mark - View lifecycle + +- (void)viewDidLoad +{ + [super viewDidLoad]; + // Do any additional setup after loading the view from its nib. + [submitButton useBlackStyle]; +} + +- (void)viewDidUnload +{ + [super viewDidUnload]; + // Release any retained subviews of the main view. + // e.g. self.myOutlet = nil; +} + + +- (IBAction)hidekeyboard:(id)sender { + [[self txtRAuur] resignFirstResponder]; + [[self txtRAminuut] resignFirstResponder]; + [[self txtDECuur] resignFirstResponder]; + [[self txtDECminuut] resignFirstResponder]; +} + + +- (IBAction)submitclick { + if( [self textfieldcheck]) { + self.tabBarController.selectedIndex = 0; + } + +} + + + + +-(BOOL)textfieldcheck { + NSArray *fieldArray; + int i = 0; + + // Load up our field array with the UITextField Values + fieldArray = [NSArray arrayWithObjects: + [NSString stringWithFormat:@"%@",txtDECuur.text], + [NSString stringWithFormat:@"%@",txtDECminuut.text], + [NSString stringWithFormat:@"%@",txtRAuur.text], + [NSString stringWithFormat:@"%@",txtRAminuut.text],nil] ; + + // loop through the array, alert if text field is empty, and break the the loop, other wise increment i + for (NSString *fieldText in fieldArray){ + if([fieldText isEqualToString:@""]){ + UIAlertView *alert = [[UIAlertView alloc] initWithTitle:nil message:@"Please Fill in All Required Fields." delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil]; + [alert show]; + break; + } + + i++; + } + // Test voor M13 + // RA = 16 h 41.7 min +// DEC = 36 d 28 min + +// rechteklimming=16.695; + // declinatie=36.46; + + + + // check that all the field were passed (i == array.count) if so execute + if(i == [[NSNumber numberWithInt: fieldArray.count] intValue]){ + + double RAuur=[txtRAuur.text doubleValue]; + double RAminuut=[txtRAminuut.text doubleValue]; + double DECuur=[txtDECuur.text doubleValue]; + double DECminuut=[txtDECminuut.text doubleValue]; + + NSString *RAString = [NSString stringWithFormat:@"%@.%@",txtRAuur.text,txtRAminuut.text ]; + NSString *DECstring = [NSString stringWithFormat:@"%@.%@",txtDECuur.text,txtDECminuut.text ]; + + + + double rechteklimming = (RAuur ) + (RAminuut /60) ; + double declinatie=DECuur + (DECminuut / 60) ; + if (self.segPlusmin.selectedSegmentIndex==1){ declinatie=declinatie*-1;}; + + // NSLog(@"Rechteklimming %.2f Declinatie %.2f" , rechteklimming, declinatie); + + [MySingleton sharedMySingleton].declinatie= declinatie; + [MySingleton sharedMySingleton].rechteklimming=rechteklimming; + [MySingleton sharedMySingleton].objectkeuze=[NSString stringWithFormat:@"RA:%@ DEC:%@", RAString, DECstring]; + return true; + + + + } + return FALSE; + +} + + +- (IBAction)infoButtonClick:(id)sender{ + UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"The Custom coordinates window" + message:@"Enter the right ascention and declination coordinates in Hours and Minutes here. Use N (North) for positive declination and S(South) for negative declination. Hit submit when done. " + delegate:nil + cancelButtonTitle:@"OK" + otherButtonTitles: nil]; + [alert show]; + +} + + + +- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation +{ + // Return YES for supported orientations + return (interfaceOrientation == UIInterfaceOrientationPortrait); +} + +@end diff --git a/Classes/customViewController.xib b/Classes/customViewController.xib new file mode 100644 index 0000000..3d3a77d --- /dev/null +++ b/Classes/customViewController.xib @@ -0,0 +1,708 @@ + + + + 1552 + 12D78 + 3084 + 1187.37 + 626.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 2083 + + + IBProxyObject + IBUIButton + IBUIImageView + IBUILabel + IBUISegmentedControl + IBUITextField + IBUIView + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 274 + + + + 292 + {{10, 6}, {301, 420}} + + + _NS:225 + NO + IBCocoaTouchFramework + 0 + 0 + + 3 + MQA + + + 1 + MC4xOTYwNzg0MzE0IDAuMzA5ODAzOTIxNiAwLjUyMTU2ODYyNzUAA + + + 3 + MC41AA + + + 2 + 2 + + + Helvetica-Bold + 18 + 16 + + + + + 292 + {{83, 20}, {155, 21}} + + + _NS:328 + NO + YES + 7 + NO + IBCocoaTouchFramework + Enter custom values + + 2 + MSAwIDAAA + + + 1 + 10 + + 1 + 17 + + + Helvetica + 17 + 16 + + + + + 292 + {{20, 80}, {88, 21}} + + + _NS:328 + NO + YES + 7 + NO + IBCocoaTouchFramework + Object RA: + + 2 + MSAwIDAAA + + + 1 + 10 + + + + + + 292 + {{20, 119}, {91, 21}} + + + _NS:328 + NO + YES + 7 + NO + IBCocoaTouchFramework + Object Dec: + + + 1 + 10 + + + + + + 292 + {{164, 75}, {54, 31}} + + + _NS:304 + + 1 + MC41MDg1OTc5OTU5IDAgMAA + + NO + YES + IBCocoaTouchFramework + 0 + + 3 + + 2 + MSAxIDEAA + + YES + 17 + + 4 + IBCocoaTouchFramework + + + 1 + 14 + + + Helvetica + 14 + 16 + + + + + 292 + {{222, 76}, {57, 31}} + + + _NS:304 + + 2 + MC41MDk4MDM5NTA4IDAgMAA + + NO + YES + IBCocoaTouchFramework + 0 + + 3 + + YES + 17 + + 4 + IBCocoaTouchFramework + + + + + + + 292 + {{222, 114}, {57, 31}} + + + _NS:304 + + NO + YES + IBCocoaTouchFramework + 0 + + 3 + + YES + 17 + + 4 + IBCocoaTouchFramework + + + + + + + 292 + {{165, 114}, {54, 31}} + + + _NS:304 + + NO + YES + IBCocoaTouchFramework + 0 + + 3 + + YES + 17 + + 4 + IBCocoaTouchFramework + + + + + + + 292 + {{119, 166}, {83, 37}} + + + _NS:225 + NO + IBCocoaTouchFramework + 0 + 0 + SUBMIT + + + 2 + MSAwIDAAA + + + + 2 + 15 + + + Helvetica-Bold + 15 + 16 + + + + + 292 + {{170, 49}, {42, 21}} + + + _NS:328 + NO + YES + 7 + NO + IBCocoaTouchFramework + HH + + + 1 + 10 + 1 + + + + + + 292 + {{229, 49}, {42, 21}} + + + _NS:328 + NO + YES + 7 + NO + IBCocoaTouchFramework + MM + + + 1 + 10 + 1 + + + + + + 292 + {{114, 115}, {47, 30}} + + + _NS:273 + NO + IBCocoaTouchFramework + 2 + 2 + 0 + + N + S + + + + + + + + + + + {0, 0} + {0, 0} + + + + + + + 2 + MC41MDk4MDM5NTA4IDAgMAA + + + + + 292 + {{293, 21}, {18, 19}} + + + _NS:225 + NO + 0.20000000298023224 + IBCocoaTouchFramework + 0 + 0 + 3 + YES + + + 1 + MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA + + + + + + + + 292 + {{15, 242}, {290, 184}} + + _NS:567 + + 2 + MC41MDk4MDM5NTA4IDAgMAA + + 0.40000000596046448 + 2 + NO + IBCocoaTouchFramework + + NSImage + mount.png + + + + + 292 + {{81, 216}, {158, 21}} + + _NS:328 + NO + YES + 7 + NO + IBCocoaTouchFramework + Mount your device like this: + + 2 + MC41MDk4MDM5NTA4IDAgMAA + + + 1 + 10 + + 1 + 13 + + + Helvetica + 13 + 16 + + + + {320, 431} + + + + 1 + MCAwIDAAA + darkTextColor + + + IBCocoaTouchFramework + + + + + + + view + + + + 3 + + + + hideKeyboardButton + + + + 11 + + + + txtRAuur + + + + 17 + + + + txtRAminuut + + + + 18 + + + + txtDECuur + + + + 19 + + + + txtDECminuut + + + + 20 + + + + submitButton + + + + 22 + + + + segPlusmin + + + + 24 + + + + submitclick + + + 7 + + 21 + + + + hidekeyboard: + + + 7 + + 12 + + + + infoButtonClick: + + + 7 + + 27 + + + + + + 0 + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + -1 + + + File's Owner + + + -2 + + + + + 4 + + + + + 5 + + + + + 6 + + + + + 7 + + + + + 8 + + + + + 9 + + + + + 10 + + + + + 13 + + + + + 14 + + + + + 15 + + + + + 16 + + + + + 23 + + + + + 26 + + + + + 28 + + + + + 29 + + + + + + + customViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + GradientButton + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + + + 29 + + + 0 + IBCocoaTouchFramework + + com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS + + + YES + 3 + + mount.png + {500, 280} + + 2083 + + diff --git a/Classes/untitled.h b/Classes/untitled.h new file mode 100755 index 0000000..70c24b2 --- /dev/null +++ b/Classes/untitled.h @@ -0,0 +1,16 @@ +// +// untitled.h +// IDSC +// +// Created by Norbert Schmidt on 10-01-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import + + +@interface untitled : UIViewController { + +} + +@end diff --git a/Classes/untitled.m b/Classes/untitled.m new file mode 100755 index 0000000..a4766bc --- /dev/null +++ b/Classes/untitled.m @@ -0,0 +1,65 @@ + // +// untitled.m +// IDSC +// +// Created by Norbert Schmidt on 10-01-11. +// Copyright 2011 DDQ. All rights reserved. +// + +#import "untitled.h" + + +@implementation untitled + +// The designated initializer. Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad. +/* +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { + self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; + if (self) { + // Custom initialization. + } + return self; +} +*/ + +/* +// Implement loadView to create a view hierarchy programmatically, without using a nib. +- (void)loadView { +} +*/ + +/* +// Implement viewDidLoad to do additional setup after loading the view, typically from a nib. +- (void)viewDidLoad { + [super viewDidLoad]; +} +*/ + +/* +// Override to allow orientations other than the default portrait orientation. +- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { + // Return YES for supported orientations. + return (interfaceOrientation == UIInterfaceOrientationPortrait); +} +*/ + +- (void)didReceiveMemoryWarning { + // Releases the view if it doesn't have a superview. + [super didReceiveMemoryWarning]; + + // Release any cached data, images, etc. that aren't in use. +} + +- (void)viewDidUnload { + [super viewDidUnload]; + // Release any retained subviews of the main view. + // e.g. self.myOutlet = nil; +} + + +- (void)dealloc { + [super dealloc]; +} + + +@end diff --git a/Default-568h@2x.png b/Default-568h@2x.png new file mode 100644 index 0000000..0891b7a Binary files /dev/null and b/Default-568h@2x.png differ diff --git a/Icon-72.png b/Icon-72.png new file mode 100644 index 0000000..7c3ac0a Binary files /dev/null and b/Icon-72.png differ diff --git a/Icon-72@2x.png b/Icon-72@2x.png new file mode 100644 index 0000000..87ffc18 Binary files /dev/null and b/Icon-72@2x.png differ diff --git a/Icon-Small-50.png b/Icon-Small-50.png new file mode 100644 index 0000000..f112a52 Binary files /dev/null and b/Icon-Small-50.png differ diff --git a/Icon-Small-50@2x.png b/Icon-Small-50@2x.png new file mode 100644 index 0000000..a3c07cb Binary files /dev/null and b/Icon-Small-50@2x.png differ diff --git a/Icon-Small.png b/Icon-Small.png new file mode 100644 index 0000000..1cfd80c Binary files /dev/null and b/Icon-Small.png differ diff --git a/Icon-Small@2x.png b/Icon-Small@2x.png new file mode 100644 index 0000000..05e1b25 Binary files /dev/null and b/Icon-Small@2x.png differ diff --git a/Icon.png b/Icon.png new file mode 100644 index 0000000..3192dd9 Binary files /dev/null and b/Icon.png differ diff --git a/Icon@2x.png b/Icon@2x.png new file mode 100644 index 0000000..b0ef96f Binary files /dev/null and b/Icon@2x.png differ diff --git a/MainWindow.xib b/MainWindow.xib new file mode 100755 index 0000000..6776377 --- /dev/null +++ b/MainWindow.xib @@ -0,0 +1,760 @@ + + + + 1536 + 12C60 + 2844 + 1187.34 + 625.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 1930 + + + YES + IBProxyObject + IBUICustomObject + IBUITabBar + IBUITabBarController + IBUITabBarItem + IBUIViewController + IBUIWindow + + + YES + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + IBCocoaTouchFramework + + + + 292 + {320, 480} + + + + 1 + MSAxIDEAA + + NO + NO + + IBCocoaTouchFramework + YES + + + + + + 1 + 1 + + IBCocoaTouchFramework + NO + + Messier + + Messier + + NSImage + 06-magnify.png + + IBCocoaTouchFramework + + + + 1 + 1 + + IBCocoaTouchFramework + NO + + + YES + + Push to + + Push to + + NSImage + 151-telescope.png + + IBCocoaTouchFramework + + + + 1 + 1 + + IBCocoaTouchFramework + NO + + + + + NGC + + IBCocoaTouchFramework + + + NGCZoekFormulierViewController + + + 1 + 1 + + IBCocoaTouchFramework + NO + + + Custom + + Custom + + NSImage + 07-map-marker.png + + IBCocoaTouchFramework + + + customViewController + + + 1 + 1 + + IBCocoaTouchFramework + NO + + + + + 266 + {{0, 431}, {320, 49}} + + 3 + MAA + + IBCocoaTouchFramework + + + + + + YES + + + delegate + + + + 4 + + + + window + + + + 14 + + + + tabBarController + + + + 34 + + + + + YES + + 0 + + YES + + + + + + -1 + + + File's Owner + + + 3 + + + Orientation App Delegate + + + -2 + + + + + 12 + + + + + 28 + + + YES + + + + + + + + + + 29 + + + + + 30 + + + YES + + + + + + 31 + + + YES + + + + + + 32 + + + + + 33 + + + + + 35 + + + YES + + + + + + 36 + + + + + 37 + + + YES + + + + NGC Zoek Formulier View Controller - NGC + + + 38 + + + + + + + YES + + YES + -1.CustomClassName + -1.IBPluginDependency + -2.CustomClassName + -2.IBPluginDependency + 12.IBPluginDependency + 28.IBPluginDependency + 29.IBPluginDependency + 3.CustomClassName + 3.IBPluginDependency + 30.CustomClassName + 30.IBPluginDependency + 31.CustomClassName + 31.IBPluginDependency + 32.IBPluginDependency + 33.IBPluginDependency + 35.CustomClassName + 35.IBPluginDependency + 36.IBPluginDependency + 37.CustomClassName + 37.IBPluginDependency + 38.IBPluginDependency + + + YES + UIApplication + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + OrientationAppDelegate + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + OrientationViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + MessierZoekFormulierViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + customViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + NGCZoekFormulierViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + YES + + + + + + YES + + + + + 38 + + + + YES + + GradientButton + UIButton + + IBProjectSource + ./Classes/GradientButton.h + + + + MessierZoekFormulierViewController + UIViewController + + mainTableView + UITableView + + + mainTableView + + mainTableView + UITableView + + + + IBProjectSource + ./Classes/MessierZoekFormulierViewController.h + + + + NGCZoekFormulierViewController + UIViewController + + mainTableView + UITableView + + + mainTableView + + mainTableView + UITableView + + + + IBProjectSource + ./Classes/NGCZoekFormulierViewController.h + + + + OrientationAppDelegate + NSObject + + YES + + YES + tabBarController + viewController + window + + + YES + UITabBarController + OrientationViewController + UIWindow + + + + YES + + YES + tabBarController + viewController + window + + + YES + + tabBarController + UITabBarController + + + viewController + OrientationViewController + + + window + UIWindow + + + + + IBProjectSource + ./Classes/OrientationAppDelegate.h + + + + OrientationViewController + UIViewController + + YES + + YES + ALTdirectionArrow + AZdirectionArrow + alt + az + constLabel + horizvertlabel + latLabel + longLabel + objalt + objaz + objconstlabel + objectIDlabel + objectlabel + objmagLabel + objnotes + objsizeLabel + objtypeLabel + radecinfoLabel + tabBar + timeLabel + + + YES + UIImageView + UIImageView + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UITextView + UILabel + UILabel + UILabel + UITabBar + UILabel + + + + YES + + YES + ALTdirectionArrow + AZdirectionArrow + alt + az + constLabel + horizvertlabel + latLabel + longLabel + objalt + objaz + objconstlabel + objectIDlabel + objectlabel + objmagLabel + objnotes + objsizeLabel + objtypeLabel + radecinfoLabel + tabBar + timeLabel + + + YES + + ALTdirectionArrow + UIImageView + + + AZdirectionArrow + UIImageView + + + alt + UILabel + + + az + UILabel + + + constLabel + UILabel + + + horizvertlabel + UILabel + + + latLabel + UILabel + + + longLabel + UILabel + + + objalt + UILabel + + + objaz + UILabel + + + objconstlabel + UILabel + + + objectIDlabel + UILabel + + + objectlabel + UILabel + + + objmagLabel + UILabel + + + objnotes + UITextView + + + objsizeLabel + UILabel + + + objtypeLabel + UILabel + + + radecinfoLabel + UILabel + + + tabBar + UITabBar + + + timeLabel + UILabel + + + + + IBProjectSource + ./Classes/OrientationViewController.h + + + + customViewController + UIViewController + + YES + + YES + hidekeyboard: + submitclick + + + YES + id + id + + + + YES + + YES + hidekeyboard: + submitclick + + + YES + + hidekeyboard: + id + + + submitclick + id + + + + + YES + + YES + hideKeyboardButton + segPlusmin + submitButton + txtDECminuut + txtDECuur + txtRAminuut + txtRAuur + + + YES + UIButton + UISegmentedControl + GradientButton + UITextField + UITextField + UITextField + UITextField + + + + YES + + YES + hideKeyboardButton + segPlusmin + submitButton + txtDECminuut + txtDECuur + txtRAminuut + txtRAuur + + + YES + + hideKeyboardButton + UIButton + + + segPlusmin + UISegmentedControl + + + submitButton + GradientButton + + + txtDECminuut + UITextField + + + txtDECuur + UITextField + + + txtRAminuut + UITextField + + + txtRAuur + UITextField + + + + + IBProjectSource + ./Classes/customViewController.h + + + + + 0 + IBCocoaTouchFramework + + com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS + + + + com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 + + + YES + 3 + + YES + + YES + 06-magnify.png + 07-map-marker.png + 151-telescope.png + + + YES + {24, 24} + {16, 26} + {23, 24} + + + 1930 + + diff --git a/MessierZoekFormulierViewController-iPad.xib b/MessierZoekFormulierViewController-iPad.xib new file mode 100755 index 0000000..6c23c7c --- /dev/null +++ b/MessierZoekFormulierViewController-iPad.xib @@ -0,0 +1,300 @@ + + + + 1056 + 11D50 + 2182 + 1138.32 + 568.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 1179 + + + YES + IBUISearchDisplayController + IBUITableView + IBUIView + IBUISearchBar + IBProxyObject + + + YES + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + IBFilesOwner + IBIPadFramework + + + IBFirstResponder + IBIPadFramework + + + + 274 + + YES + + + 274 + + YES + + + 290 + {768, 44} + + 3 + IBIPadFramework + + 1 + MC41MjcxNzM5MTMgMCAwAA + + + IBCocoaTouchFramework + + + + {768, 1086} + + + 3 + MQA + + YES + IBIPadFramework + YES + 1 + 0 + YES + 44 + 22 + 22 + + + + {768, 1004} + + 1 + MC41MjcxNzM5MTMgMCAwAA + + + 2 + + IBIPadFramework + + + IBIPadFramework + + + + + YES + + + view + + + + 3 + + + + mainTableView + + + + 5 + + + + searchDisplayController + + + + 15 + + + + dataSource + + + + 9 + + + + delegate + + + + 10 + + + + delegate + + + + 20 + + + + searchBar + + + + 14 + + + + searchContentsController + + + + 16 + + + + searchResultsDataSource + + + + 17 + + + + searchResultsDelegate + + + + 18 + + + + delegate + + + + 19 + + + + + YES + + 0 + + YES + + + + + + 1 + + + YES + + + + + + -1 + + + File's Owner + + + -2 + + + + + 4 + + + YES + + + + + + 12 + + + + + 13 + + + + + + + YES + + YES + -1.CustomClassName + -1.IBPluginDependency + -2.CustomClassName + -2.IBPluginDependency + 1.IBLastUsedUIStatusBarStylesToTargetRuntimesMap + 1.IBPluginDependency + 12.IBPluginDependency + 13.IBPluginDependency + 4.IBPluginDependency + + + YES + MessierZoekFormulierViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + IBCocoaTouchFramework + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + YES + + + + + + YES + + + + + 27 + + + 0 + IBIPadFramework + + com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS + + + + com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 + + + YES + 3 + 1179 + + diff --git a/NGCZoekFormulierViewController-iPad.xib b/NGCZoekFormulierViewController-iPad.xib new file mode 100755 index 0000000..3b50614 --- /dev/null +++ b/NGCZoekFormulierViewController-iPad.xib @@ -0,0 +1,303 @@ + + + + 1296 + 11D50 + 2182 + 1138.32 + 568.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 1179 + + + YES + IBUISearchDisplayController + IBUITableView + IBUIView + IBUISearchBar + IBProxyObject + + + YES + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + IBFilesOwner + IBIPadFramework + + + IBFirstResponder + IBIPadFramework + + + + 274 + + YES + + + 274 + + YES + + + 290 + {768, 44} + + 3 + IBIPadFramework + + 1 + MC41MjcxNzM5MTMgMCAwAA + + + IBCocoaTouchFramework + + + + {768, 1086} + + + + 3 + MQA + + YES + IBIPadFramework + YES + 1 + 0 + YES + 44 + 22 + 22 + + + + {{0, 20}, {768, 1004}} + + + + 1 + MC41MjcxNzM5MTMgMCAwAA + + + 2 + + IBIPadFramework + + + IBIPadFramework + + + + + YES + + + view + + + + 3 + + + + mainTableView + + + + 5 + + + + searchDisplayController + + + + 15 + + + + dataSource + + + + 9 + + + + delegate + + + + 10 + + + + delegate + + + + 20 + + + + searchBar + + + + 14 + + + + searchContentsController + + + + 16 + + + + searchResultsDataSource + + + + 17 + + + + searchResultsDelegate + + + + 18 + + + + delegate + + + + 19 + + + + + YES + + 0 + + YES + + + + + + 1 + + + YES + + + + + + -1 + + + File's Owner + + + -2 + + + + + 4 + + + YES + + + + + + 12 + + + + + 13 + + + + + + + YES + + YES + -1.CustomClassName + -1.IBPluginDependency + -2.CustomClassName + -2.IBPluginDependency + 1.IBLastUsedUIStatusBarStylesToTargetRuntimesMap + 1.IBPluginDependency + 12.IBPluginDependency + 13.IBPluginDependency + 4.IBPluginDependency + + + YES + NGCZoekFormulierViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + IBCocoaTouchFramework + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + YES + + + + + + YES + + + + + 27 + + + 0 + IBIPadFramework + + com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS + + + + com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 + + + YES + 3 + 1179 + + diff --git a/OrientationViewController-iPad.xib b/OrientationViewController-iPad.xib new file mode 100755 index 0000000..c95d169 --- /dev/null +++ b/OrientationViewController-iPad.xib @@ -0,0 +1,1481 @@ + + + + 768 + 12D78 + 3084 + 1187.37 + 626.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 2083 + + + YES + IBProxyObject + IBUIButton + IBUIImageView + IBUILabel + IBUITextView + IBUIView + + + YES + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + IBFilesOwner + IBIPadFramework + + + IBFirstResponder + IBIPadFramework + + + + 274 + + YES + + + 292 + {{315, 305}, {308, 64}} + + + + _NS:9 + + 3 + MAA + + YES + YES + IBIPadFramework + NO + + + 2 + MSAwIDAAA + + + 2 + IBCocoaTouchFramework + + + 1 + 19 + + + Helvetica + 19 + 16 + + + + + 292 + {{277, 457}, {209, 86}} + + + + NO + YES + 7 + NO + IBIPadFramework + Object ALT + + 1 + MSAwIDAAA + + + 3 + MQA + + 1 + 10 + 0 + + Helvetica-Bold + Helvetica + 2 + 36 + + + Helvetica-Bold + 36 + 16 + + 209 + + + + 292 + {{277, 524}, {270, 48}} + + + + NO + YES + 7 + NO + IBIPadFramework + Object AZ + + + 1 + 10 + 0 + + + 270 + + + + 292 + {{289, 703}, {209, 86}} + + + + NO + YES + 7 + NO + IBIPadFramework + Scope ALT + + + 1 + 10 + 0 + + + 209 + + + + 292 + {{286, 827}, {189, 48}} + + + + NO + YES + 7 + NO + IBIPadFramework + Scope AZ + + + 1 + 10 + 0 + + + 189 + + + + 292 + {{278, -16}, {379, 112}} + + + + NO + YES + 7 + NO + IBIPadFramework + Push To + + + 1 + 10 + + Helvetica-Bold + Helvetica + 2 + 48 + + + Helvetica-Bold + 48 + 16 + + + + + 292 + {{232, 623}, {305, 43}} + + + + NO + YES + 7 + NO + IBIPadFramework + Telescope Position + + + 1 + 10 + 1 + + Helvetica + Helvetica + 0 + 36 + + + Helvetica + 36 + 16 + + + + + 292 + {{185, 725}, {77, 43}} + + + + NO + YES + 7 + NO + IBIPadFramework + ALT: + + + 1 + 10 + + + + + + 292 + {{185, 529}, {57, 43}} + + + + NO + YES + 7 + NO + IBIPadFramework + AZ: + + + 1 + 10 + + + + + + 292 + {{185, 478}, {77, 43}} + + + + NO + YES + 7 + NO + IBIPadFramework + ALT: + + + 1 + 10 + + + + + + 292 + {{185, 830}, {57, 43}} + + + + NO + YES + 7 + NO + IBIPadFramework + AZ: + + + 1 + 10 + + + + + + 292 + {{496, 827}, {240, 128}} + + + NO + IBIPadFramework + + + + 292 + {{496, 682}, {240, 128}} + + + + NO + IBIPadFramework + + + + 292 + {{718, 30}, {18, 19}} + + + + _NS:241 + NO + IBIPadFramework + 0 + 0 + 3 + YES + + + 1 + MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA + + + 3 + MC41AA + + + 2 + 15 + + + Helvetica-Bold + 15 + 16 + + + + + 292 + {{185, 193}, {170, 24}} + + + + NO + YES + 7 + NO + IBIPadFramework + Location: + + + 1 + 10 + + Helvetica + Helvetica + 0 + 19 + + + NO + + + + 292 + {{322, 221}, {225, 24}} + + + + NO + YES + 7 + NO + IBIPadFramework + Magnitude + + + 1 + 10 + + + NO + + + + 292 + {{185, 311}, {123, 24}} + + + + NO + YES + 7 + NO + IBIPadFramework + Remarks: + + + 1 + 10 + + + NO + + + + 292 + {{185, 242}, {107, 24}} + + + + NO + YES + 7 + NO + IBIPadFramework + Size: + + + 1 + 10 + + + NO + + + + 292 + {{240, 422}, {288, 48}} + + + + NO + YES + 7 + NO + IBIPadFramework + Object Position + + + 1 + 10 + 1 + + 1 + 36 + + + NO + + + + 292 + {{322, 196}, {265, 21}} + + + + NO + YES + 7 + NO + IBIPadFramework + RADECINFO + + + 1 + 10 + + + NO + + + + 292 + {{185, 221}, {123, 23}} + + + + NO + YES + 7 + NO + IBIPadFramework + Magnitude: + + + 1 + 10 + + + NO + + + + 292 + {{322, 243}, {381, 21}} + + + + NO + YES + 7 + NO + IBIPadFramework + Size + + + 1 + 10 + + + NO + + + + 292 + {{185, 266}, {98, 21}} + + + + NO + YES + 7 + NO + IBIPadFramework + Type: + + + 1 + 10 + + + NO + + + + 292 + {{322, 266}, {176, 21}} + + + + NO + YES + 7 + NO + IBIPadFramework + Type + + + 1 + 10 + + + NO + + + + 292 + {{322, 289}, {176, 23}} + + + + NO + YES + 7 + NO + IBIPadFramework + Const + + + 1 + 10 + + + NO + + + + 292 + {{185, 289}, {117, 23}} + + + + NO + YES + 7 + NO + IBIPadFramework + Constellation: + + + 1 + 10 + + + NO + + + + 292 + {{273, 96}, {127, 39}} + + + + NO + YES + 7 + NO + IBIPadFramework + Object: + + + 1 + 10 + + + NO + + + + 292 + {{406, 96}, {330, 39}} + + + + NO + YES + 7 + NO + IBIPadFramework + + + + 1 + 10 + + + NO + + + + 292 + {{185, 143}, {558, 39}} + + + + NO + YES + 7 + NO + IBIPadFramework + + + + 1 + 10 + + Helvetica + Helvetica + 0 + 20 + + + Helvetica + 20 + 16 + + NO + + + {{0, 20}, {768, 1004}} + + + + + 1 + MCAwIDAAA + darkTextColor + + NO + + 2 + + IBIPadFramework + + + + + YES + + + objalt + + + + 45 + + + + objaz + + + + 46 + + + + alt + + + + 49 + + + + az + + + + 50 + + + + view + + + + 87 + + + + objmagLabel + + + + 137 + + + + objectlabel + + + + 140 + + + + objectIDlabel + + + + 143 + + + + objsizeLabel + + + + 144 + + + + objtypeLabel + + + + 145 + + + + radecinfoLabel + + + + 147 + + + + objnotes + + + + 148 + + + + objconstlabel + + + + 151 + + + + ALTdirectionArrow + + + + 152 + + + + AZdirectionArrow + + + + 153 + + + + infoButtonClick: + + + 7 + + 120 + + + + + YES + + 0 + + YES + + + + + + -1 + + + File's Owner + + + -2 + + + + + 6 + + + YES + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 43 + + + + + 44 + + + + + 47 + + + + + 48 + + + + + 53 + + + + + 54 + + + + + 55 + + + + + 56 + + + + + 57 + + + + + 111 + + + + + 114 + + + + + 117 + + + + + 119 + + + + + 121 + + + + + 122 + + + + + 123 + + + + + 124 + + + + + 125 + + + + + 126 + + + + + 127 + + + + + 128 + + + + + 129 + + + + + 130 + + + + + 131 + + + + + 134 + + + + + 135 + + + + + 136 + + + + + 142 + + + + + 150 + + + + + + + YES + + YES + -1.CustomClassName + -1.IBPluginDependency + -2.CustomClassName + -2.IBPluginDependency + 111.IBPluginDependency + 114.IBPluginDependency + 117.IBPluginDependency + 119.IBPluginDependency + 121.IBPluginDependency + 122.IBPluginDependency + 123.IBPluginDependency + 124.IBPluginDependency + 125.IBPluginDependency + 126.IBPluginDependency + 127.IBPluginDependency + 128.IBPluginDependency + 129.IBPluginDependency + 130.IBPluginDependency + 131.IBPluginDependency + 134.IBPluginDependency + 135.IBPluginDependency + 136.IBPluginDependency + 142.IBPluginDependency + 150.IBPluginDependency + 43.IBPluginDependency + 44.IBPluginDependency + 47.IBPluginDependency + 48.IBPluginDependency + 53.IBPluginDependency + 54.IBPluginDependency + 55.IBPluginDependency + 56.IBPluginDependency + 57.IBPluginDependency + 6.IBLastUsedUIStatusBarStylesToTargetRuntimesMap + 6.IBPluginDependency + + + YES + OrientationViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + IBCocoaTouchFramework + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + YES + + + + + + YES + + + + + 153 + + + + YES + + GradientButton + UIButton + + IBProjectSource + ./Classes/GradientButton.h + + + + OrientationViewController + UIViewController + + infoButtonClick: + id + + + infoButtonClick: + + infoButtonClick: + id + + + + YES + + YES + ALTdirectionArrow + AZdirectionArrow + alt + az + constLabel + horizvertlabel + latLabel + longLabel + objalt + objaz + objconstlabel + objectIDlabel + objectlabel + objmagLabel + objnotes + objsizeLabel + objtypeLabel + radecinfoLabel + tabBar + timeLabel + + + YES + UIImageView + UIImageView + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UITextView + UILabel + UILabel + UILabel + UITabBar + UILabel + + + + YES + + YES + ALTdirectionArrow + AZdirectionArrow + alt + az + constLabel + horizvertlabel + latLabel + longLabel + objalt + objaz + objconstlabel + objectIDlabel + objectlabel + objmagLabel + objnotes + objsizeLabel + objtypeLabel + radecinfoLabel + tabBar + timeLabel + + + YES + + ALTdirectionArrow + UIImageView + + + AZdirectionArrow + UIImageView + + + alt + UILabel + + + az + UILabel + + + constLabel + UILabel + + + horizvertlabel + UILabel + + + latLabel + UILabel + + + longLabel + UILabel + + + objalt + UILabel + + + objaz + UILabel + + + objconstlabel + UILabel + + + objectIDlabel + UILabel + + + objectlabel + UILabel + + + objmagLabel + UILabel + + + objnotes + UITextView + + + objsizeLabel + UILabel + + + objtypeLabel + UILabel + + + radecinfoLabel + UILabel + + + tabBar + UITabBar + + + timeLabel + UILabel + + + + + IBProjectSource + ./Classes/OrientationViewController.h + + + + customViewController + UIViewController + + YES + + YES + hidekeyboard: + infoButtonClick: + submitclick + + + YES + id + id + id + + + + YES + + YES + hidekeyboard: + infoButtonClick: + submitclick + + + YES + + hidekeyboard: + id + + + infoButtonClick: + id + + + submitclick + id + + + + + YES + + YES + hideKeyboardButton + segPlusmin + submitButton + txtDECminuut + txtDECuur + txtRAminuut + txtRAuur + + + YES + UIButton + UISegmentedControl + GradientButton + UITextField + UITextField + UITextField + UITextField + + + + YES + + YES + hideKeyboardButton + segPlusmin + submitButton + txtDECminuut + txtDECuur + txtRAminuut + txtRAuur + + + YES + + hideKeyboardButton + UIButton + + + segPlusmin + UISegmentedControl + + + submitButton + GradientButton + + + txtDECminuut + UITextField + + + txtDECuur + UITextField + + + txtRAminuut + UITextField + + + txtRAuur + UITextField + + + + + IBProjectSource + ./Classes/customViewController.h + + + + + 0 + IBIPadFramework + + com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS + + + + com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS + + + + com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 + + + YES + 3 + 2083 + + diff --git a/OrientationViewController.xib b/OrientationViewController.xib new file mode 100755 index 0000000..4f4d9f8 --- /dev/null +++ b/OrientationViewController.xib @@ -0,0 +1,260 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Push To-Info.plist b/Push To-Info.plist new file mode 100755 index 0000000..1b193a8 --- /dev/null +++ b/Push To-Info.plist @@ -0,0 +1,68 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleDisplayName + Push To + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + Icon.png + CFBundleIconFiles + + Icon@2x.png + Icon-72.png + Icon.png + Icon-72@2x.png + + CFBundleIcons + + CFBundlePrimaryIcon + + CFBundleIconFiles + + Icon@2x.png + Icon-72.png + Icon.png + Icon-72@2x.png + + UIPrerenderedIcon + + + + CFBundleIdentifier + nl.ddq.ipushto + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 2.4 + CFBundleSignature + ???? + CFBundleVersion + 2.4 + LSRequiresIPhoneOS + + NSMainNibFile + MainWindow + NSMainNibFile~ipad + MainWindow-iPad + UIApplicationExitsOnSuspend + + UIPrerenderedIcon + + UIRequiredDeviceCapabilities + + UIStatusBarHidden + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + + + diff --git a/Push To.xcodeproj/Norbert.mode1v3 b/Push To.xcodeproj/Norbert.mode1v3 new file mode 100755 index 0000000..d1dc071 --- /dev/null +++ b/Push To.xcodeproj/Norbert.mode1v3 @@ -0,0 +1,1440 @@ + + + + + ActivePerspectiveName + Project + AllowedModules + + + BundleLoadPath + + MaxInstances + n + Module + PBXSmartGroupTreeModule + Name + Groups and Files Outline View + + + BundleLoadPath + + MaxInstances + n + Module + PBXNavigatorGroup + Name + Editor + + + BundleLoadPath + + MaxInstances + n + Module + XCTaskListModule + Name + Task List + + + BundleLoadPath + + MaxInstances + n + Module + XCDetailModule + Name + File and Smart Group Detail Viewer + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXBuildResultsModule + Name + Detailed Build Results Viewer + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXProjectFindModule + Name + Project Batch Find Tool + + + BundleLoadPath + + MaxInstances + n + Module + XCProjectFormatConflictsModule + Name + Project Format Conflicts List + + + BundleLoadPath + + MaxInstances + n + Module + PBXBookmarksModule + Name + Bookmarks Tool + + + BundleLoadPath + + MaxInstances + n + Module + PBXClassBrowserModule + Name + Class Browser + + + BundleLoadPath + + MaxInstances + n + Module + PBXCVSModule + Name + Source Code Control Tool + + + BundleLoadPath + + MaxInstances + n + Module + PBXDebugBreakpointsModule + Name + Debug Breakpoints Tool + + + BundleLoadPath + + MaxInstances + n + Module + XCDockableInspector + Name + Inspector + + + BundleLoadPath + + MaxInstances + n + Module + PBXOpenQuicklyModule + Name + Open Quickly Tool + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXDebugSessionModule + Name + Debugger + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXDebugCLIModule + Name + Debug Console + + + BundleLoadPath + + MaxInstances + n + Module + XCSnapshotModule + Name + Snapshots Tool + + + BundlePath + /Developer/Library/PrivateFrameworks/DevToolsInterface.framework/Resources + Description + DefaultDescriptionKey + DockingSystemVisible + + Extension + mode1v3 + FavBarConfig + + PBXProjectModuleGUID + AEB44CB512D1F5F1004FEC09 + XCBarModuleItemNames + + XCBarModuleItems + + + FirstTimeWindowDisplayed + + Identifier + com.apple.perspectives.project.mode1v3 + MajorVersion + 33 + MinorVersion + 0 + Name + Default + Notifications + + OpenEditors + + PerspectiveWidths + + -1 + -1 + + Perspectives + + + ChosenToolbarItems + + active-combo-popup + action + NSToolbarFlexibleSpaceItem + debugger-enable-breakpoints + build-and-go + com.apple.ide.PBXToolbarStopButton + get-info + NSToolbarFlexibleSpaceItem + com.apple.pbx.toolbar.searchfield + + ControllerClassBaseName + + IconName + WindowOfProjectWithEditor + Identifier + perspective.project + IsVertical + + Layout + + + BecomeActive + + ContentConfiguration + + PBXBottomSmartGroupGIDs + + 1C37FBAC04509CD000000102 + 1C37FAAC04509CD000000102 + 1C37FABC05509CD000000102 + 1C37FABC05539CD112110102 + E2644B35053B69B200211256 + 1C37FABC04509CD000100104 + 1CC0EA4004350EF90044410B + 1CC0EA4004350EF90041110B + + PBXProjectModuleGUID + 1CE0B1FE06471DED0097A5F4 + PBXProjectModuleLabel + Files + PBXProjectStructureProvided + yes + PBXSmartGroupTreeModuleColumnData + + PBXSmartGroupTreeModuleColumnWidthsKey + + 274 + + PBXSmartGroupTreeModuleColumnsKey_v4 + + MainColumn + + + PBXSmartGroupTreeModuleOutlineStateKey_v7 + + PBXSmartGroupTreeModuleOutlineStateExpansionKey + + 29B97314FDCFA39411CA2CEA + 080E96DDFE201D6D7F000001 + 29B97315FDCFA39411CA2CEA + 29B97323FDCFA39411CA2CEA + 19C28FACFE9D520D11CA2CBB + 1C37FBAC04509CD000000102 + 1C37FABC05509CD000000102 + 1CC0EA4004350EF90044410B + 1CC0EA4004350EF90041110B + + PBXSmartGroupTreeModuleOutlineStateSelectionKey + + + 46 + 42 + + + PBXSmartGroupTreeModuleOutlineStateVisibleRectKey + {{0, 73}, {274, 760}} + + PBXTopSmartGroupGIDs + + XCIncludePerspectivesSwitch + + XCSharingToken + com.apple.Xcode.GFSharingToken + + GeometryConfiguration + + Frame + {{0, 0}, {291, 778}} + GroupTreeTableConfiguration + + MainColumn + 274 + + RubberWindowFrame + 0 59 1440 819 0 0 1440 878 + + Module + PBXSmartGroupTreeModule + Proportion + 291pt + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1CE0B20306471E060097A5F4 + PBXProjectModuleLabel + alignment.png + PBXSplitModuleInNavigatorKey + + Split0 + + PBXProjectModuleGUID + 1CE0B20406471E060097A5F4 + PBXProjectModuleLabel + alignment.png + _historyCapacity + 0 + bookmark + AE94EEE413A6098600D2312E + history + + AEC021EB12F97698004FD467 + AEDCD6331303C12500DC7D61 + AE6595D11304053800A59012 + AEE3AC501306ECCE00812B28 + AE84E3C51330EDDB00BA8C99 + AE17AF861345CA0E009E07B2 + AE17AF891345CA0E009E07B2 + AE17AF901345CA59009E07B2 + AE2619DB134EF2130089B400 + AE6205E213733BD2004EF4C8 + AE6205E313733BD2004EF4C8 + AE6205F213734292004EF4C8 + AE6205F313734292004EF4C8 + AE6205F413734292004EF4C8 + AE94EEE113A6098600D2312E + AE94EEE213A6098600D2312E + AE94EEE313A6098600D2312E + + + SplitCount + 1 + + StatusBarVisibility + + + GeometryConfiguration + + Frame + {{0, 0}, {1144, 679}} + RubberWindowFrame + 0 59 1440 819 0 0 1440 878 + + Module + PBXNavigatorGroup + Proportion + 679pt + + + ContentConfiguration + + PBXProjectModuleGUID + 1CE0B20506471E060097A5F4 + PBXProjectModuleLabel + Detail + + GeometryConfiguration + + Frame + {{0, 684}, {1144, 94}} + RubberWindowFrame + 0 59 1440 819 0 0 1440 878 + + Module + XCDetailModule + Proportion + 94pt + + + Proportion + 1144pt + + + Name + Project + ServiceClasses + + XCModuleDock + PBXSmartGroupTreeModule + XCModuleDock + PBXNavigatorGroup + XCDetailModule + + TableOfContents + + AE94EE9E13A5FBE100D2312E + 1CE0B1FE06471DED0097A5F4 + AE94EE9F13A5FBE100D2312E + 1CE0B20306471E060097A5F4 + 1CE0B20506471E060097A5F4 + + ToolbarConfigUserDefaultsMinorVersion + 2 + ToolbarConfiguration + xcode.toolbar.config.defaultV3 + + + ControllerClassBaseName + + IconName + WindowOfProject + Identifier + perspective.morph + IsVertical + 0 + Layout + + + BecomeActive + 1 + ContentConfiguration + + PBXBottomSmartGroupGIDs + + 1C37FBAC04509CD000000102 + 1C37FAAC04509CD000000102 + 1C08E77C0454961000C914BD + 1C37FABC05509CD000000102 + 1C37FABC05539CD112110102 + E2644B35053B69B200211256 + 1C37FABC04509CD000100104 + 1CC0EA4004350EF90044410B + 1CC0EA4004350EF90041110B + + PBXProjectModuleGUID + 11E0B1FE06471DED0097A5F4 + PBXProjectModuleLabel + Files + PBXProjectStructureProvided + yes + PBXSmartGroupTreeModuleColumnData + + PBXSmartGroupTreeModuleColumnWidthsKey + + 186 + + PBXSmartGroupTreeModuleColumnsKey_v4 + + MainColumn + + + PBXSmartGroupTreeModuleOutlineStateKey_v7 + + PBXSmartGroupTreeModuleOutlineStateExpansionKey + + 29B97314FDCFA39411CA2CEA + 1C37FABC05509CD000000102 + + PBXSmartGroupTreeModuleOutlineStateSelectionKey + + + 0 + + + PBXSmartGroupTreeModuleOutlineStateVisibleRectKey + {{0, 0}, {186, 337}} + + PBXTopSmartGroupGIDs + + XCIncludePerspectivesSwitch + 1 + XCSharingToken + com.apple.Xcode.GFSharingToken + + GeometryConfiguration + + Frame + {{0, 0}, {203, 355}} + GroupTreeTableConfiguration + + MainColumn + 186 + + RubberWindowFrame + 373 269 690 397 0 0 1440 878 + + Module + PBXSmartGroupTreeModule + Proportion + 100% + + + Name + Morph + PreferredWidth + 300 + ServiceClasses + + XCModuleDock + PBXSmartGroupTreeModule + + TableOfContents + + 11E0B1FE06471DED0097A5F4 + + ToolbarConfiguration + xcode.toolbar.config.default.shortV3 + + + PerspectivesBarVisible + + ShelfIsVisible + + SourceDescription + file at '/Developer/Library/PrivateFrameworks/DevToolsInterface.framework/Resources/XCPerspectivesSpecificationMode1.xcperspec' + StatusbarIsVisible + + TimeStamp + 0.0 + ToolbarConfigUserDefaultsMinorVersion + 2 + ToolbarDisplayMode + 1 + ToolbarIsVisible + + ToolbarSizeMode + 1 + Type + Perspectives + UpdateMessage + The Default Workspace in this version of Xcode now includes support to hide and show the detail view (what has been referred to as the "Metro-Morph" feature). You must discard your current Default Workspace settings and update to the latest Default Workspace in order to gain this feature. Do you wish to update to the latest Workspace defaults for project '%@'? + WindowJustification + 5 + WindowOrderList + + AE94EEAF13A5FCA500D2312E + 1CD10A99069EF8BA00B06720 + AEB44CB612D1F5F1004FEC09 + 1C78EAAD065D492600B07095 + /Users/Norbert/Documents/IOSProjects/ipushto/iPushTo.xcodeproj + + WindowString + 0 59 1440 819 0 0 1440 878 + WindowToolsV3 + + + FirstTimeWindowDisplayed + + Identifier + windowTool.build + IsVertical + + Layout + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1CD0528F0623707200166675 + PBXProjectModuleLabel + + StatusBarVisibility + + + GeometryConfiguration + + Frame + {{0, 0}, {1440, 232}} + RubberWindowFrame + 0 60 1440 818 0 0 1440 878 + + Module + PBXNavigatorGroup + Proportion + 232pt + + + BecomeActive + + ContentConfiguration + + PBXProjectModuleGUID + XCMainBuildResultsModuleGUID + PBXProjectModuleLabel + Build Results + XCBuildResultsTrigger_Collapse + 1021 + XCBuildResultsTrigger_Open + 1011 + + GeometryConfiguration + + Frame + {{0, 237}, {1440, 540}} + RubberWindowFrame + 0 60 1440 818 0 0 1440 878 + + Module + PBXBuildResultsModule + Proportion + 540pt + + + Proportion + 777pt + + + Name + Build Results + ServiceClasses + + PBXBuildResultsModule + + StatusbarIsVisible + + TableOfContents + + AEB44CB612D1F5F1004FEC09 + AE94EEA013A5FBE100D2312E + 1CD0528F0623707200166675 + XCMainBuildResultsModuleGUID + + ToolbarConfiguration + xcode.toolbar.config.buildV3 + WindowContentMinSize + 486 300 + WindowString + 0 60 1440 818 0 0 1440 878 + WindowToolGUID + AEB44CB612D1F5F1004FEC09 + WindowToolIsVisible + + + + FirstTimeWindowDisplayed + + Identifier + windowTool.debugger + IsVertical + + Layout + + + Dock + + + ContentConfiguration + + Debugger + + HorizontalSplitView + + _collapsingFrameDimension + 0.0 + _indexOfCollapsedView + 0 + _percentageOfCollapsedView + 0.0 + isCollapsed + yes + sizes + + {{0, 0}, {316, 203}} + {{316, 0}, {378, 203}} + + + VerticalSplitView + + _collapsingFrameDimension + 0.0 + _indexOfCollapsedView + 0 + _percentageOfCollapsedView + 0.0 + isCollapsed + yes + sizes + + {{0, 0}, {694, 203}} + {{0, 203}, {694, 178}} + + + + LauncherConfigVersion + 8 + PBXProjectModuleGUID + 1C162984064C10D400B95A72 + PBXProjectModuleLabel + Debug - GLUTExamples (Underwater) + + GeometryConfiguration + + DebugConsoleVisible + None + DebugConsoleWindowFrame + {{200, 200}, {500, 300}} + DebugSTDIOWindowFrame + {{200, 200}, {500, 300}} + Frame + {{0, 0}, {694, 381}} + PBXDebugSessionStackFrameViewKey + + DebugVariablesTableConfiguration + + Name + 120 + Value + 85 + Summary + 148 + + Frame + {{316, 0}, {378, 203}} + RubberWindowFrame + 42 561 694 422 0 0 1440 878 + + RubberWindowFrame + 42 561 694 422 0 0 1440 878 + + Module + PBXDebugSessionModule + Proportion + 381pt + + + Proportion + 381pt + + + Name + Debugger + ServiceClasses + + PBXDebugSessionModule + + StatusbarIsVisible + + TableOfContents + + 1CD10A99069EF8BA00B06720 + AE94EEA713A5FCA500D2312E + 1C162984064C10D400B95A72 + AE94EEA813A5FCA500D2312E + AE94EEA913A5FCA500D2312E + AE94EEAA13A5FCA500D2312E + AE94EEAB13A5FCA500D2312E + AE94EEAC13A5FCA500D2312E + + ToolbarConfiguration + xcode.toolbar.config.debugV3 + WindowString + 42 561 694 422 0 0 1440 878 + WindowToolGUID + 1CD10A99069EF8BA00B06720 + WindowToolIsVisible + + + + FirstTimeWindowDisplayed + + Identifier + windowTool.find + IsVertical + + Layout + + + Dock + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1CDD528C0622207200134675 + PBXProjectModuleLabel + OrientationViewController.m + StatusBarVisibility + + + GeometryConfiguration + + Frame + {{0, 0}, {781, 212}} + RubberWindowFrame + 21 535 781 470 0 0 1680 1028 + + Module + PBXNavigatorGroup + Proportion + 781pt + + + Proportion + 212pt + + + BecomeActive + + ContentConfiguration + + PBXProjectModuleGUID + 1CD0528E0623707200166675 + PBXProjectModuleLabel + Project Find + + GeometryConfiguration + + Frame + {{0, 217}, {781, 212}} + RubberWindowFrame + 21 535 781 470 0 0 1680 1028 + + Module + PBXProjectFindModule + Proportion + 212pt + + + Proportion + 429pt + + + Name + Project Find + ServiceClasses + + PBXProjectFindModule + + StatusbarIsVisible + + TableOfContents + + 1C530D57069F1CE1000CFCEE + AE17AFBF1345D1A4009E07B2 + AE17AFC01345D1A4009E07B2 + 1CDD528C0622207200134675 + 1CD0528E0623707200166675 + + WindowString + 21 535 781 470 0 0 1680 1028 + WindowToolGUID + 1C530D57069F1CE1000CFCEE + WindowToolIsVisible + + + + Identifier + MENUSEPARATOR + + + FirstTimeWindowDisplayed + + Identifier + windowTool.debuggerConsole + IsVertical + + Layout + + + Dock + + + BecomeActive + + ContentConfiguration + + PBXProjectModuleGUID + 1C78EAAC065D492600B07095 + PBXProjectModuleLabel + Debugger Console + + GeometryConfiguration + + Frame + {{0, 0}, {650, 209}} + RubberWindowFrame + 71 628 650 250 0 0 1440 878 + + Module + PBXDebugCLIModule + Proportion + 209pt + + + Proportion + 209pt + + + Name + Debugger Console + ServiceClasses + + PBXDebugCLIModule + + StatusbarIsVisible + + TableOfContents + + 1C78EAAD065D492600B07095 + AE94EEAD13A5FCA500D2312E + 1C78EAAC065D492600B07095 + + ToolbarConfiguration + xcode.toolbar.config.consoleV3 + WindowString + 71 628 650 250 0 0 1440 878 + WindowToolGUID + 1C78EAAD065D492600B07095 + WindowToolIsVisible + + + + FirstTimeWindowDisplayed + + Identifier + windowTool.snapshots + IsVertical + + Layout + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + AEE3ABD11306E2A200812B28 + PBXProjectModuleLabel + Snapshots + + GeometryConfiguration + + Frame + {{0, 0}, {300, 509}} + RubberWindowFrame + 21 305 300 550 0 0 1440 878 + + Module + XCSnapshotModule + Proportion + 509pt + + + Proportion + 509pt + + + Name + Snapshots + ServiceClasses + + XCSnapshotModule + + StatusbarIsVisible + + TableOfContents + + AEE3ABD21306E2A200812B28 + AEE3ABD31306E2A200812B28 + AEE3ABD11306E2A200812B28 + + ToolbarConfiguration + xcode.toolbar.config.snapshots + WindowString + 21 305 300 550 0 0 1440 878 + WindowToolGUID + AEE3ABD21306E2A200812B28 + WindowToolIsVisible + + + + Identifier + windowTool.scm + Layout + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1C78EAB2065D492600B07095 + PBXProjectModuleLabel + <No Editor> + PBXSplitModuleInNavigatorKey + + Split0 + + PBXProjectModuleGUID + 1C78EAB3065D492600B07095 + + SplitCount + 1 + + StatusBarVisibility + 1 + + GeometryConfiguration + + Frame + {{0, 0}, {452, 0}} + RubberWindowFrame + 743 379 452 308 0 0 1280 1002 + + Module + PBXNavigatorGroup + Proportion + 0pt + + + BecomeActive + 1 + ContentConfiguration + + PBXProjectModuleGUID + 1CD052920623707200166675 + PBXProjectModuleLabel + SCM + + GeometryConfiguration + + ConsoleFrame + {{0, 259}, {452, 0}} + Frame + {{0, 7}, {452, 259}} + RubberWindowFrame + 743 379 452 308 0 0 1280 1002 + TableConfiguration + + Status + 30 + FileName + 199 + Path + 197.0950012207031 + + TableFrame + {{0, 0}, {452, 250}} + + Module + PBXCVSModule + Proportion + 262pt + + + Proportion + 266pt + + + Name + SCM + ServiceClasses + + PBXCVSModule + + StatusbarIsVisible + 1 + TableOfContents + + 1C78EAB4065D492600B07095 + 1C78EAB5065D492600B07095 + 1C78EAB2065D492600B07095 + 1CD052920623707200166675 + + ToolbarConfiguration + xcode.toolbar.config.scm + WindowString + 743 379 452 308 0 0 1280 1002 + + + FirstTimeWindowDisplayed + + Identifier + windowTool.breakpoints + IsVertical + + Layout + + + Dock + + + ContentConfiguration + + PBXBottomSmartGroupGIDs + + 1C77FABC04509CD000000102 + + PBXProjectModuleGUID + 1CE0B1FE06471DED0097A5F4 + PBXProjectModuleLabel + Files + PBXProjectStructureProvided + no + PBXSmartGroupTreeModuleColumnData + + PBXSmartGroupTreeModuleColumnWidthsKey + + 168 + + PBXSmartGroupTreeModuleColumnsKey_v4 + + MainColumn + + + PBXSmartGroupTreeModuleOutlineStateKey_v7 + + PBXSmartGroupTreeModuleOutlineStateExpansionKey + + 1C77FABC04509CD000000102 + + PBXSmartGroupTreeModuleOutlineStateSelectionKey + + + 0 + + + PBXSmartGroupTreeModuleOutlineStateVisibleRectKey + {{0, 0}, {168, 350}} + + PBXTopSmartGroupGIDs + + XCIncludePerspectivesSwitch + + + GeometryConfiguration + + Frame + {{0, 0}, {185, 368}} + GroupTreeTableConfiguration + + MainColumn + 168 + + RubberWindowFrame + 16 452 744 409 0 0 1680 1028 + + Module + PBXSmartGroupTreeModule + Proportion + 185pt + + + BecomeActive + + ContentConfiguration + + PBXProjectModuleGUID + 1CA1AED706398EBD00589147 + PBXProjectModuleLabel + Detail + + GeometryConfiguration + + Frame + {{190, 0}, {554, 368}} + RubberWindowFrame + 16 452 744 409 0 0 1680 1028 + + Module + XCDetailModule + Proportion + 554pt + + + Proportion + 368pt + + + MajorVersion + 3 + MinorVersion + 0 + Name + Breakpoints + ServiceClasses + + PBXSmartGroupTreeModule + XCDetailModule + + StatusbarIsVisible + + TableOfContents + + AED9E77A12DB272B0052496C + AED9E77B12DB272B0052496C + 1CE0B1FE06471DED0097A5F4 + 1CA1AED706398EBD00589147 + + ToolbarConfiguration + xcode.toolbar.config.breakpointsV3 + WindowString + 16 452 744 409 0 0 1680 1028 + WindowToolGUID + AED9E77A12DB272B0052496C + WindowToolIsVisible + + + + Identifier + windowTool.debugAnimator + Layout + + + Dock + + + Module + PBXNavigatorGroup + Proportion + 100% + + + Proportion + 100% + + + Name + Debug Visualizer + ServiceClasses + + PBXNavigatorGroup + + StatusbarIsVisible + 1 + ToolbarConfiguration + xcode.toolbar.config.debugAnimatorV3 + WindowString + 100 100 700 500 0 0 1280 1002 + + + Identifier + windowTool.bookmarks + Layout + + + Dock + + + Module + PBXBookmarksModule + Proportion + 100% + + + Proportion + 100% + + + Name + Bookmarks + ServiceClasses + + PBXBookmarksModule + + StatusbarIsVisible + 0 + WindowString + 538 42 401 187 0 0 1280 1002 + + + Identifier + windowTool.projectFormatConflicts + Layout + + + Dock + + + Module + XCProjectFormatConflictsModule + Proportion + 100% + + + Proportion + 100% + + + Name + Project Format Conflicts + ServiceClasses + + XCProjectFormatConflictsModule + + StatusbarIsVisible + 0 + WindowContentMinSize + 450 300 + WindowString + 50 850 472 307 0 0 1440 877 + + + Identifier + windowTool.classBrowser + Layout + + + Dock + + + BecomeActive + 1 + ContentConfiguration + + OptionsSetName + Hierarchy, all classes + PBXProjectModuleGUID + 1CA6456E063B45B4001379D8 + PBXProjectModuleLabel + Class Browser - NSObject + + GeometryConfiguration + + ClassesFrame + {{0, 0}, {374, 96}} + ClassesTreeTableConfiguration + + PBXClassNameColumnIdentifier + 208 + PBXClassBookColumnIdentifier + 22 + + Frame + {{0, 0}, {630, 331}} + MembersFrame + {{0, 105}, {374, 395}} + MembersTreeTableConfiguration + + PBXMemberTypeIconColumnIdentifier + 22 + PBXMemberNameColumnIdentifier + 216 + PBXMemberTypeColumnIdentifier + 97 + PBXMemberBookColumnIdentifier + 22 + + PBXModuleWindowStatusBarHidden2 + 1 + RubberWindowFrame + 385 179 630 352 0 0 1440 878 + + Module + PBXClassBrowserModule + Proportion + 332pt + + + Proportion + 332pt + + + Name + Class Browser + ServiceClasses + + PBXClassBrowserModule + + StatusbarIsVisible + 0 + TableOfContents + + 1C0AD2AF069F1E9B00FABCE6 + 1C0AD2B0069F1E9B00FABCE6 + 1CA6456E063B45B4001379D8 + + ToolbarConfiguration + xcode.toolbar.config.classbrowser + WindowString + 385 179 630 352 0 0 1440 878 + WindowToolGUID + 1C0AD2AF069F1E9B00FABCE6 + WindowToolIsVisible + 0 + + + Identifier + windowTool.refactoring + IncludeInToolsMenu + 0 + Layout + + + Dock + + + BecomeActive + 1 + GeometryConfiguration + + Frame + {0, 0}, {500, 335} + RubberWindowFrame + {0, 0}, {500, 335} + + Module + XCRefactoringModule + Proportion + 100% + + + Proportion + 100% + + + Name + Refactoring + ServiceClasses + + XCRefactoringModule + + WindowString + 200 200 500 356 0 0 1920 1200 + + + + diff --git a/Push To.xcodeproj/Norbert.pbxuser b/Push To.xcodeproj/Norbert.pbxuser new file mode 100755 index 0000000..5f43f29 --- /dev/null +++ b/Push To.xcodeproj/Norbert.pbxuser @@ -0,0 +1,437 @@ +// !$*UTF8*$! +{ + 1D3623240D0F684500981E51 /* OrientationAppDelegate.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1083, 409}}"; + sepNavSelRange = "{345, 77}"; + sepNavVisRange = "{0, 511}"; + }; + }; + 1D3623250D0F684500981E51 /* OrientationAppDelegate.m */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1083, 611}}"; + sepNavSelRange = "{497, 61}"; + sepNavVisRange = "{0, 574}"; + sepNavWindowFrame = "{{15, 4}, {750, 874}}"; + }; + }; + 1D6058900D05DD3D006BFB54 /* iPushTo */ = { + activeExec = 0; + executables = ( + AEB44CA612D1F5CC004FEC09 /* iPushTo */, + ); + }; + 28D7ACF60DDB3853001CB0EB /* OrientationViewController.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1083, 624}}"; + sepNavSelRange = "{109, 0}"; + sepNavVisRange = "{0, 757}"; + }; + }; + 28D7ACF70DDB3853001CB0EB /* OrientationViewController.m */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1209, 8138}}"; + sepNavSelRange = "{7745, 0}"; + sepNavVisRange = "{0, 670}"; + sepNavWindowFrame = "{{20, 463}, {750, 558}}"; + }; + }; + 29B97313FDCFA39411CA2CEA /* Project object */ = { + activeBuildConfigurationName = Debug; + activeExecutable = AEB44CA612D1F5CC004FEC09 /* iPushTo */; + activeSDKPreference = iphonesimulator4.3; + activeTarget = 1D6058900D05DD3D006BFB54 /* iPushTo */; + addToTargets = ( + 1D6058900D05DD3D006BFB54 /* iPushTo */, + ); + breakpoints = ( + ); + codeSenseManager = AEB44CC212D1F5F1004FEC09 /* Code sense */; + executables = ( + AEB44CA612D1F5CC004FEC09 /* iPushTo */, + ); + perUserDictionary = { + "PBXConfiguration.PBXBreakpointsDataSource.v1:1CA1AED706398EBD00589147" = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXBreakpointsDataSource_BreakpointID; + PBXFileTableDataSourceColumnWidthsKey = ( + 20, + 20, + 198, + 20, + 99, + 99, + 29, + 20, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXBreakpointsDataSource_ActionID, + PBXBreakpointsDataSource_TypeID, + PBXBreakpointsDataSource_BreakpointID, + PBXBreakpointsDataSource_UseID, + PBXBreakpointsDataSource_LocationID, + PBXBreakpointsDataSource_ConditionID, + PBXBreakpointsDataSource_IgnoreCountID, + PBXBreakpointsDataSource_ContinueID, + ); + }; + PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; + PBXFileTableDataSourceColumnWidthsKey = ( + 20, + 905, + 20, + 48, + 43, + 43, + 20, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXFileDataSource_FiletypeID, + PBXFileDataSource_Filename_ColumnID, + PBXFileDataSource_Built_ColumnID, + PBXFileDataSource_ObjectSize_ColumnID, + PBXFileDataSource_Errors_ColumnID, + PBXFileDataSource_Warnings_ColumnID, + PBXFileDataSource_Target_ColumnID, + ); + }; + PBXConfiguration.PBXFileTableDataSource3.PBXFindDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXFindDataSource_LocationID; + PBXFileTableDataSourceColumnWidthsKey = ( + 200, + 813, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXFindDataSource_MessageID, + PBXFindDataSource_LocationID, + ); + }; + PBXConfiguration.PBXFileTableDataSource3.PBXSymbolsDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXSymbolsDataSource_SymbolNameID; + PBXFileTableDataSourceColumnWidthsKey = ( + 16, + 200, + 50, + 739, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXSymbolsDataSource_SymbolTypeIconID, + PBXSymbolsDataSource_SymbolNameID, + PBXSymbolsDataSource_SymbolTypeID, + PBXSymbolsDataSource_ReferenceNameID, + ); + }; + PBXConfiguration.PBXTargetDataSource.PBXTargetDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; + PBXFileTableDataSourceColumnWidthsKey = ( + 20, + 865, + 60, + 20, + 48, + 43, + 43, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXFileDataSource_FiletypeID, + PBXFileDataSource_Filename_ColumnID, + PBXTargetDataSource_PrimaryAttribute, + PBXFileDataSource_Built_ColumnID, + PBXFileDataSource_ObjectSize_ColumnID, + PBXFileDataSource_Errors_ColumnID, + PBXFileDataSource_Warnings_ColumnID, + ); + }; + PBXPerProjectTemplateStateSaveDate = 329645014; + PBXWorkspaceStateSaveDate = 329645014; + }; + perUserProjectItems = { + AE17AF861345CA0E009E07B2 /* PBXTextBookmark */ = AE17AF861345CA0E009E07B2 /* PBXTextBookmark */; + AE17AF891345CA0E009E07B2 /* PBXTextBookmark */ = AE17AF891345CA0E009E07B2 /* PBXTextBookmark */; + AE17AF901345CA59009E07B2 /* PBXTextBookmark */ = AE17AF901345CA59009E07B2 /* PBXTextBookmark */; + AE2619DB134EF2130089B400 /* PBXTextBookmark */ = AE2619DB134EF2130089B400 /* PBXTextBookmark */; + AE6205E213733BD2004EF4C8 /* PBXTextBookmark */ = AE6205E213733BD2004EF4C8 /* PBXTextBookmark */; + AE6205E313733BD2004EF4C8 /* PBXTextBookmark */ = AE6205E313733BD2004EF4C8 /* PBXTextBookmark */; + AE6205F213734292004EF4C8 /* PlistBookmark */ = AE6205F213734292004EF4C8 /* PlistBookmark */; + AE6205F313734292004EF4C8 /* PBXTextBookmark */ = AE6205F313734292004EF4C8 /* PBXTextBookmark */; + AE6205F413734292004EF4C8 /* PBXTextBookmark */ = AE6205F413734292004EF4C8 /* PBXTextBookmark */; + AE6595D11304053800A59012 /* PBXBookmark */ = AE6595D11304053800A59012 /* PBXBookmark */; + AE84E3C51330EDDB00BA8C99 /* PBXTextBookmark */ = AE84E3C51330EDDB00BA8C99 /* PBXTextBookmark */; + AE94EEE113A6098600D2312E /* PBXTextBookmark */ = AE94EEE113A6098600D2312E /* PBXTextBookmark */; + AE94EEE213A6098600D2312E /* PBXBookmark */ = AE94EEE213A6098600D2312E /* PBXBookmark */; + AE94EEE313A6098600D2312E /* PBXBookmark */ = AE94EEE313A6098600D2312E /* PBXBookmark */; + AE94EEE413A6098600D2312E /* PBXBookmark */ = AE94EEE413A6098600D2312E /* PBXBookmark */; + AEC021EB12F97698004FD467 /* PBXTextBookmark */ = AEC021EB12F97698004FD467 /* PBXTextBookmark */; + AEDCD6331303C12500DC7D61 /* PBXBookmark */ = AEDCD6331303C12500DC7D61 /* PBXBookmark */; + AEE3AC501306ECCE00812B28 /* PBXTextBookmark */ = AEE3AC501306ECCE00812B28 /* PBXTextBookmark */; + }; + sourceControlManager = AEB44CC112D1F5F1004FEC09 /* Source Control */; + userBuildSettings = { + }; + }; + 29B97316FDCFA39411CA2CEA /* main.m */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1083, 505}}"; + sepNavSelRange = "{238, 0}"; + sepNavVisRange = "{0, 365}"; + }; + }; + 32CA4F630368D1EE00C91783 /* iPushTo_Prefix.pch */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1083, 456}}"; + sepNavSelRange = "{184, 0}"; + sepNavVisRange = "{0, 233}"; + }; + }; + 8D1107310486CEB800E47090 /* iPushTo-Info.plist */ = { + uiCtxt = { + sepNavWindowFrame = "{{15, 4}, {750, 1024}}"; + }; + }; + AE0F3C1F12F9593900D45DF6 /* ZoekFormulierViewController.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1083, 442}}"; + sepNavSelRange = "{166, 0}"; + sepNavVisRange = "{37, 680}"; + sepNavWindowFrame = "{{15, 4}, {750, 1024}}"; + }; + }; + AE0F3C2012F9593900D45DF6 /* ZoekFormulierViewController.m */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1139, 3679}}"; + sepNavSelRange = "{363, 0}"; + sepNavVisRange = "{3847, 524}"; + sepNavWindowFrame = "{{15, 4}, {750, 1024}}"; + }; + }; + AE17AF861345CA0E009E07B2 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 32CA4F630368D1EE00C91783 /* iPushTo_Prefix.pch */; + name = "iPushTo_Prefix.pch: 8"; + rLen = 0; + rLoc = 184; + rType = 0; + vrLen = 233; + vrLoc = 0; + }; + AE17AF891345CA0E009E07B2 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = AED1392512E9BC7700485B82 /* MyCLController.m */; + name = "MyCLController.m: 9"; + rLen = 0; + rLoc = 145; + rType = 0; + vrLen = 708; + vrLoc = 647; + }; + AE17AF901345CA59009E07B2 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 1D3623250D0F684500981E51 /* OrientationAppDelegate.m */; + name = "OrientationAppDelegate.m: 25"; + rLen = 61; + rLoc = 497; + rType = 0; + vrLen = 574; + vrLoc = 0; + }; + AE2619DB134EF2130089B400 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = AEC021DB12F97648004FD467 /* MySingleton.m */; + name = "MySingleton.m: 863"; + rLen = 0; + rLoc = 13229; + rType = 0; + vrLen = 528; + vrLoc = 30; + }; + AE6205E213733BD2004EF4C8 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 1D3623240D0F684500981E51 /* OrientationAppDelegate.h */; + name = "OrientationAppDelegate.h: 19"; + rLen = 77; + rLoc = 345; + rType = 0; + vrLen = 511; + vrLoc = 0; + }; + AE6205E313733BD2004EF4C8 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 28D7ACF60DDB3853001CB0EB /* OrientationViewController.h */; + name = "OrientationViewController.h: 5"; + rLen = 0; + rLoc = 109; + rType = 0; + vrLen = 757; + vrLoc = 0; + }; + AE6205F213734292004EF4C8 /* PlistBookmark */ = { + isa = PlistBookmark; + fRef = 8D1107310486CEB800E47090 /* iPushTo-Info.plist */; + fallbackIsa = PBXBookmark; + isK = 0; + kPath = ( + LSRequiresIPhoneOS, + ); + name = "/Users/Norbert/Documents/IOSProjects/ipushto/iPushTo-Info.plist"; + rLen = 0; + rLoc = 9223372036854775808; + }; + AE6205F313734292004EF4C8 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = AE0F3C1F12F9593900D45DF6 /* ZoekFormulierViewController.h */; + name = "ZoekFormulierViewController.h: 10"; + rLen = 0; + rLoc = 166; + rType = 0; + vrLen = 680; + vrLoc = 37; + }; + AE6205F413734292004EF4C8 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = AE0F3C2012F9593900D45DF6 /* ZoekFormulierViewController.m */; + name = "ZoekFormulierViewController.m: 20"; + rLen = 0; + rLoc = 363; + rType = 0; + vrLen = 524; + vrLoc = 3847; + }; + AE6595D11304053800A59012 /* PBXBookmark */ = { + isa = PBXBookmark; + fRef = AE78D5EC12F9A86400A459C8 /* 151-telescope.png */; + }; + AE84E3C51330EDDB00BA8C99 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = AEC021DA12F97648004FD467 /* MySingleton.h */; + name = "MySingleton.h: 26"; + rLen = 0; + rLoc = 490; + rType = 0; + vrLen = 667; + vrLoc = 3; + }; + AE94EEE113A6098600D2312E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 28D7ACF70DDB3853001CB0EB /* OrientationViewController.m */; + name = "OrientationViewController.m: 402"; + rLen = 0; + rLoc = 7745; + rType = 0; + vrLen = 670; + vrLoc = 0; + }; + AE94EEE213A6098600D2312E /* PBXBookmark */ = { + isa = PBXBookmark; + fRef = AE94EEB213A5FD3600D2312E /* custom.png */; + }; + AE94EEE313A6098600D2312E /* PBXBookmark */ = { + isa = PBXBookmark; + fRef = AE94EEB013A5FD1A00D2312E /* alignment.png */; + }; + AE94EEE413A6098600D2312E /* PBXBookmark */ = { + isa = PBXBookmark; + fRef = AE94EEB013A5FD1A00D2312E /* alignment.png */; + }; + AEB44CA612D1F5CC004FEC09 /* iPushTo */ = { + isa = PBXExecutable; + activeArgIndices = ( + ); + argumentStrings = ( + ); + autoAttachOnCrash = 1; + breakpointsEnabled = 0; + configStateDict = { + }; + customDataFormattersEnabled = 1; + dataTipCustomDataFormattersEnabled = 1; + dataTipShowTypeColumn = 1; + dataTipSortType = 0; + debuggerPlugin = GDBDebugging; + disassemblyDisplayState = 0; + dylibVariantSuffix = ""; + enableDebugStr = 1; + environmentEntries = ( + ); + executableSystemSymbolLevel = 0; + executableUserSymbolLevel = 0; + libgmallocEnabled = 0; + name = iPushTo; + savedGlobals = { + }; + showTypeColumn = 0; + sourceDirectories = ( + ); + variableFormatDictionary = { + }; + }; + AEB44CC112D1F5F1004FEC09 /* Source Control */ = { + isa = PBXSourceControlManager; + fallbackIsa = XCSourceControlManager; + isSCMEnabled = 0; + scmConfiguration = { + repositoryNamesForRoots = { + "" = ""; + }; + }; + }; + AEB44CC212D1F5F1004FEC09 /* Code sense */ = { + isa = PBXCodeSenseManager; + indexTemplatePath = ""; + }; + AEC021DA12F97648004FD467 /* MySingleton.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1083, 494}}"; + sepNavSelRange = "{490, 0}"; + sepNavVisRange = "{3, 667}"; + sepNavWindowFrame = "{{887, 4}, {750, 1024}}"; + }; + }; + AEC021DB12F97648004FD467 /* MySingleton.m */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1083, 13897}}"; + sepNavSelRange = "{13229, 0}"; + sepNavVisRange = "{30, 528}"; + }; + }; + AEC021EB12F97698004FD467 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + comments = "Expected specifier-qualifier-list before 'seconview'"; + fRef = AEC021EC12F97698004FD467 /* ZoekformulierViewController.h */; + rLen = 1; + rLoc = 16; + rType = 1; + }; + AEC021EC12F97698004FD467 /* ZoekformulierViewController.h */ = { + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = ZoekformulierViewController.h; + path = /Users/Norbert/Documents/IOSProjects/ipushto/Classes/ZoekformulierViewController.h; + sourceTree = ""; + }; + AED1392512E9BC7700485B82 /* MyCLController.m */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1083, 910}}"; + sepNavSelRange = "{145, 0}"; + sepNavVisRange = "{647, 708}"; + }; + }; + AEDCD6331303C12500DC7D61 /* PBXBookmark */ = { + isa = PBXBookmark; + fRef = AED9E6E012DB1EB80052496C /* siriudec.png */; + }; + AEE3AC501306ECCE00812B28 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 29B97316FDCFA39411CA2CEA /* main.m */; + name = "main.m: 13"; + rLen = 0; + rLoc = 238; + rType = 0; + vrLen = 365; + vrLoc = 0; + }; +} diff --git a/Push To.xcodeproj/jray.mode1v3 b/Push To.xcodeproj/jray.mode1v3 new file mode 100755 index 0000000..6599c99 --- /dev/null +++ b/Push To.xcodeproj/jray.mode1v3 @@ -0,0 +1,1380 @@ + + + + + ActivePerspectiveName + Project + AllowedModules + + + BundleLoadPath + + MaxInstances + n + Module + PBXSmartGroupTreeModule + Name + Groups and Files Outline View + + + BundleLoadPath + + MaxInstances + n + Module + PBXNavigatorGroup + Name + Editor + + + BundleLoadPath + + MaxInstances + n + Module + XCTaskListModule + Name + Task List + + + BundleLoadPath + + MaxInstances + n + Module + XCDetailModule + Name + File and Smart Group Detail Viewer + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXBuildResultsModule + Name + Detailed Build Results Viewer + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXProjectFindModule + Name + Project Batch Find Tool + + + BundleLoadPath + + MaxInstances + n + Module + XCProjectFormatConflictsModule + Name + Project Format Conflicts List + + + BundleLoadPath + + MaxInstances + n + Module + PBXBookmarksModule + Name + Bookmarks Tool + + + BundleLoadPath + + MaxInstances + n + Module + PBXClassBrowserModule + Name + Class Browser + + + BundleLoadPath + + MaxInstances + n + Module + PBXCVSModule + Name + Source Code Control Tool + + + BundleLoadPath + + MaxInstances + n + Module + PBXDebugBreakpointsModule + Name + Debug Breakpoints Tool + + + BundleLoadPath + + MaxInstances + n + Module + XCDockableInspector + Name + Inspector + + + BundleLoadPath + + MaxInstances + n + Module + PBXOpenQuicklyModule + Name + Open Quickly Tool + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXDebugSessionModule + Name + Debugger + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXDebugCLIModule + Name + Debug Console + + + BundleLoadPath + + MaxInstances + n + Module + XCSnapshotModule + Name + Snapshots Tool + + + BundlePath + /Developer/Library/PrivateFrameworks/DevToolsInterface.framework/Resources + Description + DefaultDescriptionKey + DockingSystemVisible + + Extension + mode1v3 + FavBarConfig + + PBXProjectModuleGUID + 279D13FA1052CBAA00312BA9 + XCBarModuleItemNames + + XCBarModuleItems + + + FirstTimeWindowDisplayed + + Identifier + com.apple.perspectives.project.mode1v3 + MajorVersion + 33 + MinorVersion + 0 + Name + Default + Notifications + + OpenEditors + + PerspectiveWidths + + -1 + -1 + + Perspectives + + + ChosenToolbarItems + + active-combo-popup + action + NSToolbarFlexibleSpaceItem + debugger-enable-breakpoints + build-and-go + com.apple.ide.PBXToolbarStopButton + get-info + NSToolbarFlexibleSpaceItem + com.apple.pbx.toolbar.searchfield + + ControllerClassBaseName + + IconName + WindowOfProjectWithEditor + Identifier + perspective.project + IsVertical + + Layout + + + BecomeActive + + ContentConfiguration + + PBXBottomSmartGroupGIDs + + 1C37FBAC04509CD000000102 + 1C37FAAC04509CD000000102 + 1C37FABC05509CD000000102 + 1C37FABC05539CD112110102 + E2644B35053B69B200211256 + 1C37FABC04509CD000100104 + 1CC0EA4004350EF90044410B + 1CC0EA4004350EF90041110B + + PBXProjectModuleGUID + 1CE0B1FE06471DED0097A5F4 + PBXProjectModuleLabel + Files + PBXProjectStructureProvided + yes + PBXSmartGroupTreeModuleColumnData + + PBXSmartGroupTreeModuleColumnWidthsKey + + 186 + + PBXSmartGroupTreeModuleColumnsKey_v4 + + MainColumn + + + PBXSmartGroupTreeModuleOutlineStateKey_v7 + + PBXSmartGroupTreeModuleOutlineStateExpansionKey + + 29B97314FDCFA39411CA2CEA + 1C37FABC05509CD000000102 + + PBXSmartGroupTreeModuleOutlineStateSelectionKey + + + 0 + + + PBXSmartGroupTreeModuleOutlineStateVisibleRectKey + {{0, 0}, {186, 445}} + + PBXTopSmartGroupGIDs + + XCIncludePerspectivesSwitch + + XCSharingToken + com.apple.Xcode.GFSharingToken + + GeometryConfiguration + + Frame + {{0, 0}, {203, 463}} + GroupTreeTableConfiguration + + MainColumn + 186 + + RubberWindowFrame + 566 541 788 504 0 0 1920 1178 + + Module + PBXSmartGroupTreeModule + Proportion + 203pt + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1CE0B20306471E060097A5F4 + PBXProjectModuleLabel + MyNewFile14.java + PBXSplitModuleInNavigatorKey + + Split0 + + PBXProjectModuleGUID + 1CE0B20406471E060097A5F4 + PBXProjectModuleLabel + MyNewFile14.java + + SplitCount + 1 + + StatusBarVisibility + + + GeometryConfiguration + + Frame + {{0, 0}, {580, 277}} + RubberWindowFrame + 566 541 788 504 0 0 1920 1178 + + Module + PBXNavigatorGroup + Proportion + 277pt + + + ContentConfiguration + + PBXProjectModuleGUID + 1CE0B20506471E060097A5F4 + PBXProjectModuleLabel + Detail + + GeometryConfiguration + + Frame + {{0, 282}, {580, 181}} + RubberWindowFrame + 566 541 788 504 0 0 1920 1178 + + Module + XCDetailModule + Proportion + 181pt + + + Proportion + 580pt + + + Name + Project + ServiceClasses + + XCModuleDock + PBXSmartGroupTreeModule + XCModuleDock + PBXNavigatorGroup + XCDetailModule + + TableOfContents + + 279D13F81052CBAA00312BA9 + 1CE0B1FE06471DED0097A5F4 + 279D13F91052CBAA00312BA9 + 1CE0B20306471E060097A5F4 + 1CE0B20506471E060097A5F4 + + ToolbarConfigUserDefaultsMinorVersion + 2 + ToolbarConfiguration + xcode.toolbar.config.defaultV3 + + + ControllerClassBaseName + + IconName + WindowOfProject + Identifier + perspective.morph + IsVertical + 0 + Layout + + + BecomeActive + 1 + ContentConfiguration + + PBXBottomSmartGroupGIDs + + 1C37FBAC04509CD000000102 + 1C37FAAC04509CD000000102 + 1C08E77C0454961000C914BD + 1C37FABC05509CD000000102 + 1C37FABC05539CD112110102 + E2644B35053B69B200211256 + 1C37FABC04509CD000100104 + 1CC0EA4004350EF90044410B + 1CC0EA4004350EF90041110B + + PBXProjectModuleGUID + 11E0B1FE06471DED0097A5F4 + PBXProjectModuleLabel + Files + PBXProjectStructureProvided + yes + PBXSmartGroupTreeModuleColumnData + + PBXSmartGroupTreeModuleColumnWidthsKey + + 186 + + PBXSmartGroupTreeModuleColumnsKey_v4 + + MainColumn + + + PBXSmartGroupTreeModuleOutlineStateKey_v7 + + PBXSmartGroupTreeModuleOutlineStateExpansionKey + + 29B97314FDCFA39411CA2CEA + 1C37FABC05509CD000000102 + + PBXSmartGroupTreeModuleOutlineStateSelectionKey + + + 0 + + + PBXSmartGroupTreeModuleOutlineStateVisibleRectKey + {{0, 0}, {186, 337}} + + PBXTopSmartGroupGIDs + + XCIncludePerspectivesSwitch + 1 + XCSharingToken + com.apple.Xcode.GFSharingToken + + GeometryConfiguration + + Frame + {{0, 0}, {203, 355}} + GroupTreeTableConfiguration + + MainColumn + 186 + + RubberWindowFrame + 373 269 690 397 0 0 1440 878 + + Module + PBXSmartGroupTreeModule + Proportion + 100% + + + Name + Morph + PreferredWidth + 300 + ServiceClasses + + XCModuleDock + PBXSmartGroupTreeModule + + TableOfContents + + 11E0B1FE06471DED0097A5F4 + + ToolbarConfiguration + xcode.toolbar.config.default.shortV3 + + + PerspectivesBarVisible + + ShelfIsVisible + + SourceDescription + file at '/Developer/Library/PrivateFrameworks/DevToolsInterface.framework/Resources/XCPerspectivesSpecificationMode1.xcperspec' + StatusbarIsVisible + + TimeStamp + 0.0 + ToolbarConfigUserDefaultsMinorVersion + 2 + ToolbarDisplayMode + 1 + ToolbarIsVisible + + ToolbarSizeMode + 1 + Type + Perspectives + UpdateMessage + The Default Workspace in this version of Xcode now includes support to hide and show the detail view (what has been referred to as the "Metro-Morph" feature). You must discard your current Default Workspace settings and update to the latest Default Workspace in order to gain this feature. Do you wish to update to the latest Workspace defaults for project '%@'? + WindowJustification + 5 + WindowOrderList + + 1CD10A99069EF8BA00B06720 + 279D13FB1052CBAA00312BA9 + /Network/Servers/carrot3.poisontooth.com/Users/jray/Dropbox/Pearson iPhone Projects/Final iPhone Projects/Final/Finalized iPhone Projects/Ch19 Projects (Prev Ch17 Projects)/Orientation/Orientation.xcodeproj + + WindowString + 566 541 788 504 0 0 1920 1178 + WindowToolsV3 + + + FirstTimeWindowDisplayed + + Identifier + windowTool.build + IsVertical + + Layout + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1CD0528F0623707200166675 + PBXProjectModuleLabel + + StatusBarVisibility + + + GeometryConfiguration + + Frame + {{0, 0}, {500, 218}} + RubberWindowFrame + 587 522 500 500 0 0 1920 1178 + + Module + PBXNavigatorGroup + Proportion + 218pt + + + ContentConfiguration + + PBXProjectModuleGUID + XCMainBuildResultsModuleGUID + PBXProjectModuleLabel + Build Results + XCBuildResultsTrigger_Collapse + 1021 + XCBuildResultsTrigger_Open + 1011 + + GeometryConfiguration + + Frame + {{0, 223}, {500, 236}} + RubberWindowFrame + 587 522 500 500 0 0 1920 1178 + + Module + PBXBuildResultsModule + Proportion + 236pt + + + Proportion + 459pt + + + Name + Build Results + ServiceClasses + + PBXBuildResultsModule + + StatusbarIsVisible + + TableOfContents + + 279D13FB1052CBAA00312BA9 + 279D13FC1052CBAA00312BA9 + 1CD0528F0623707200166675 + XCMainBuildResultsModuleGUID + + ToolbarConfiguration + xcode.toolbar.config.buildV3 + WindowContentMinSize + 486 300 + WindowString + 587 522 500 500 0 0 1920 1178 + WindowToolGUID + 279D13FB1052CBAA00312BA9 + WindowToolIsVisible + + + + FirstTimeWindowDisplayed + + Identifier + windowTool.debugger + IsVertical + + Layout + + + Dock + + + ContentConfiguration + + Debugger + + HorizontalSplitView + + _collapsingFrameDimension + 0.0 + _indexOfCollapsedView + 0 + _percentageOfCollapsedView + 0.0 + isCollapsed + yes + sizes + + {{0, 0}, {316, 185}} + {{316, 0}, {378, 185}} + + + VerticalSplitView + + _collapsingFrameDimension + 0.0 + _indexOfCollapsedView + 0 + _percentageOfCollapsedView + 0.0 + isCollapsed + yes + sizes + + {{0, 0}, {694, 185}} + {{0, 185}, {694, 196}} + + + + LauncherConfigVersion + 8 + PBXProjectModuleGUID + 1C162984064C10D400B95A72 + PBXProjectModuleLabel + Debug - GLUTExamples (Underwater) + + GeometryConfiguration + + DebugConsoleVisible + None + DebugConsoleWindowFrame + {{200, 200}, {500, 300}} + DebugSTDIOWindowFrame + {{200, 200}, {500, 300}} + Frame + {{0, 0}, {694, 381}} + PBXDebugSessionStackFrameViewKey + + DebugVariablesTableConfiguration + + Name + 120 + Value + 85 + Summary + 148 + + Frame + {{316, 0}, {378, 185}} + RubberWindowFrame + 587 600 694 422 0 0 1920 1178 + + RubberWindowFrame + 587 600 694 422 0 0 1920 1178 + + Module + PBXDebugSessionModule + Proportion + 381pt + + + Proportion + 381pt + + + Name + Debugger + ServiceClasses + + PBXDebugSessionModule + + StatusbarIsVisible + + TableOfContents + + 1CD10A99069EF8BA00B06720 + 279D13FD1052CBAA00312BA9 + 1C162984064C10D400B95A72 + 279D13FE1052CBAA00312BA9 + 279D13FF1052CBAA00312BA9 + 279D14001052CBAA00312BA9 + 279D14011052CBAA00312BA9 + 279D14021052CBAA00312BA9 + + ToolbarConfiguration + xcode.toolbar.config.debugV3 + WindowString + 587 600 694 422 0 0 1920 1178 + WindowToolGUID + 1CD10A99069EF8BA00B06720 + WindowToolIsVisible + + + + Identifier + windowTool.find + Layout + + + Dock + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1CDD528C0622207200134675 + PBXProjectModuleLabel + <No Editor> + PBXSplitModuleInNavigatorKey + + Split0 + + PBXProjectModuleGUID + 1CD0528D0623707200166675 + + SplitCount + 1 + + StatusBarVisibility + 1 + + GeometryConfiguration + + Frame + {{0, 0}, {781, 167}} + RubberWindowFrame + 62 385 781 470 0 0 1440 878 + + Module + PBXNavigatorGroup + Proportion + 781pt + + + Proportion + 50% + + + BecomeActive + 1 + ContentConfiguration + + PBXProjectModuleGUID + 1CD0528E0623707200166675 + PBXProjectModuleLabel + Project Find + + GeometryConfiguration + + Frame + {{8, 0}, {773, 254}} + RubberWindowFrame + 62 385 781 470 0 0 1440 878 + + Module + PBXProjectFindModule + Proportion + 50% + + + Proportion + 428pt + + + Name + Project Find + ServiceClasses + + PBXProjectFindModule + + StatusbarIsVisible + 1 + TableOfContents + + 1C530D57069F1CE1000CFCEE + 1C530D58069F1CE1000CFCEE + 1C530D59069F1CE1000CFCEE + 1CDD528C0622207200134675 + 1C530D5A069F1CE1000CFCEE + 1CE0B1FE06471DED0097A5F4 + 1CD0528E0623707200166675 + + WindowString + 62 385 781 470 0 0 1440 878 + WindowToolGUID + 1C530D57069F1CE1000CFCEE + WindowToolIsVisible + 0 + + + Identifier + MENUSEPARATOR + + + Identifier + windowTool.debuggerConsole + Layout + + + Dock + + + BecomeActive + 1 + ContentConfiguration + + PBXProjectModuleGUID + 1C78EAAC065D492600B07095 + PBXProjectModuleLabel + Debugger Console + + GeometryConfiguration + + Frame + {{0, 0}, {650, 250}} + RubberWindowFrame + 516 632 650 250 0 0 1680 1027 + + Module + PBXDebugCLIModule + Proportion + 209pt + + + Proportion + 209pt + + + Name + Debugger Console + ServiceClasses + + PBXDebugCLIModule + + StatusbarIsVisible + 1 + TableOfContents + + 1C78EAAD065D492600B07095 + 1C78EAAE065D492600B07095 + 1C78EAAC065D492600B07095 + + ToolbarConfiguration + xcode.toolbar.config.consoleV3 + WindowString + 650 41 650 250 0 0 1280 1002 + WindowToolGUID + 1C78EAAD065D492600B07095 + WindowToolIsVisible + 0 + + + Identifier + windowTool.snapshots + Layout + + + Dock + + + Module + XCSnapshotModule + Proportion + 100% + + + Proportion + 100% + + + Name + Snapshots + ServiceClasses + + XCSnapshotModule + + StatusbarIsVisible + Yes + ToolbarConfiguration + xcode.toolbar.config.snapshots + WindowString + 315 824 300 550 0 0 1440 878 + WindowToolIsVisible + Yes + + + Identifier + windowTool.scm + Layout + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1C78EAB2065D492600B07095 + PBXProjectModuleLabel + <No Editor> + PBXSplitModuleInNavigatorKey + + Split0 + + PBXProjectModuleGUID + 1C78EAB3065D492600B07095 + + SplitCount + 1 + + StatusBarVisibility + 1 + + GeometryConfiguration + + Frame + {{0, 0}, {452, 0}} + RubberWindowFrame + 743 379 452 308 0 0 1280 1002 + + Module + PBXNavigatorGroup + Proportion + 0pt + + + BecomeActive + 1 + ContentConfiguration + + PBXProjectModuleGUID + 1CD052920623707200166675 + PBXProjectModuleLabel + SCM + + GeometryConfiguration + + ConsoleFrame + {{0, 259}, {452, 0}} + Frame + {{0, 7}, {452, 259}} + RubberWindowFrame + 743 379 452 308 0 0 1280 1002 + TableConfiguration + + Status + 30 + FileName + 199 + Path + 197.0950012207031 + + TableFrame + {{0, 0}, {452, 250}} + + Module + PBXCVSModule + Proportion + 262pt + + + Proportion + 266pt + + + Name + SCM + ServiceClasses + + PBXCVSModule + + StatusbarIsVisible + 1 + TableOfContents + + 1C78EAB4065D492600B07095 + 1C78EAB5065D492600B07095 + 1C78EAB2065D492600B07095 + 1CD052920623707200166675 + + ToolbarConfiguration + xcode.toolbar.config.scm + WindowString + 743 379 452 308 0 0 1280 1002 + + + Identifier + windowTool.breakpoints + IsVertical + 0 + Layout + + + Dock + + + BecomeActive + 1 + ContentConfiguration + + PBXBottomSmartGroupGIDs + + 1C77FABC04509CD000000102 + + PBXProjectModuleGUID + 1CE0B1FE06471DED0097A5F4 + PBXProjectModuleLabel + Files + PBXProjectStructureProvided + no + PBXSmartGroupTreeModuleColumnData + + PBXSmartGroupTreeModuleColumnWidthsKey + + 168 + + PBXSmartGroupTreeModuleColumnsKey_v4 + + MainColumn + + + PBXSmartGroupTreeModuleOutlineStateKey_v7 + + PBXSmartGroupTreeModuleOutlineStateExpansionKey + + 1C77FABC04509CD000000102 + + PBXSmartGroupTreeModuleOutlineStateSelectionKey + + + 0 + + + PBXSmartGroupTreeModuleOutlineStateVisibleRectKey + {{0, 0}, {168, 350}} + + PBXTopSmartGroupGIDs + + XCIncludePerspectivesSwitch + 0 + + GeometryConfiguration + + Frame + {{0, 0}, {185, 368}} + GroupTreeTableConfiguration + + MainColumn + 168 + + RubberWindowFrame + 315 424 744 409 0 0 1440 878 + + Module + PBXSmartGroupTreeModule + Proportion + 185pt + + + ContentConfiguration + + PBXProjectModuleGUID + 1CA1AED706398EBD00589147 + PBXProjectModuleLabel + Detail + + GeometryConfiguration + + Frame + {{190, 0}, {554, 368}} + RubberWindowFrame + 315 424 744 409 0 0 1440 878 + + Module + XCDetailModule + Proportion + 554pt + + + Proportion + 368pt + + + MajorVersion + 3 + MinorVersion + 0 + Name + Breakpoints + ServiceClasses + + PBXSmartGroupTreeModule + XCDetailModule + + StatusbarIsVisible + 1 + TableOfContents + + 1CDDB66807F98D9800BB5817 + 1CDDB66907F98D9800BB5817 + 1CE0B1FE06471DED0097A5F4 + 1CA1AED706398EBD00589147 + + ToolbarConfiguration + xcode.toolbar.config.breakpointsV3 + WindowString + 315 424 744 409 0 0 1440 878 + WindowToolGUID + 1CDDB66807F98D9800BB5817 + WindowToolIsVisible + 1 + + + Identifier + windowTool.debugAnimator + Layout + + + Dock + + + Module + PBXNavigatorGroup + Proportion + 100% + + + Proportion + 100% + + + Name + Debug Visualizer + ServiceClasses + + PBXNavigatorGroup + + StatusbarIsVisible + 1 + ToolbarConfiguration + xcode.toolbar.config.debugAnimatorV3 + WindowString + 100 100 700 500 0 0 1280 1002 + + + Identifier + windowTool.bookmarks + Layout + + + Dock + + + Module + PBXBookmarksModule + Proportion + 100% + + + Proportion + 100% + + + Name + Bookmarks + ServiceClasses + + PBXBookmarksModule + + StatusbarIsVisible + 0 + WindowString + 538 42 401 187 0 0 1280 1002 + + + Identifier + windowTool.projectFormatConflicts + Layout + + + Dock + + + Module + XCProjectFormatConflictsModule + Proportion + 100% + + + Proportion + 100% + + + Name + Project Format Conflicts + ServiceClasses + + XCProjectFormatConflictsModule + + StatusbarIsVisible + 0 + WindowContentMinSize + 450 300 + WindowString + 50 850 472 307 0 0 1440 877 + + + Identifier + windowTool.classBrowser + Layout + + + Dock + + + BecomeActive + 1 + ContentConfiguration + + OptionsSetName + Hierarchy, all classes + PBXProjectModuleGUID + 1CA6456E063B45B4001379D8 + PBXProjectModuleLabel + Class Browser - NSObject + + GeometryConfiguration + + ClassesFrame + {{0, 0}, {374, 96}} + ClassesTreeTableConfiguration + + PBXClassNameColumnIdentifier + 208 + PBXClassBookColumnIdentifier + 22 + + Frame + {{0, 0}, {630, 331}} + MembersFrame + {{0, 105}, {374, 395}} + MembersTreeTableConfiguration + + PBXMemberTypeIconColumnIdentifier + 22 + PBXMemberNameColumnIdentifier + 216 + PBXMemberTypeColumnIdentifier + 97 + PBXMemberBookColumnIdentifier + 22 + + PBXModuleWindowStatusBarHidden2 + 1 + RubberWindowFrame + 385 179 630 352 0 0 1440 878 + + Module + PBXClassBrowserModule + Proportion + 332pt + + + Proportion + 332pt + + + Name + Class Browser + ServiceClasses + + PBXClassBrowserModule + + StatusbarIsVisible + 0 + TableOfContents + + 1C0AD2AF069F1E9B00FABCE6 + 1C0AD2B0069F1E9B00FABCE6 + 1CA6456E063B45B4001379D8 + + ToolbarConfiguration + xcode.toolbar.config.classbrowser + WindowString + 385 179 630 352 0 0 1440 878 + WindowToolGUID + 1C0AD2AF069F1E9B00FABCE6 + WindowToolIsVisible + 0 + + + Identifier + windowTool.refactoring + IncludeInToolsMenu + 0 + Layout + + + Dock + + + BecomeActive + 1 + GeometryConfiguration + + Frame + {0, 0}, {500, 335} + RubberWindowFrame + {0, 0}, {500, 335} + + Module + XCRefactoringModule + Proportion + 100% + + + Proportion + 100% + + + Name + Refactoring + ServiceClasses + + XCRefactoringModule + + WindowString + 200 200 500 356 0 0 1920 1200 + + + + diff --git a/Push To.xcodeproj/jray.pbxuser b/Push To.xcodeproj/jray.pbxuser new file mode 100755 index 0000000..6ae4021 --- /dev/null +++ b/Push To.xcodeproj/jray.pbxuser @@ -0,0 +1,88 @@ +// !$*UTF8*$! +{ + 1D6058900D05DD3D006BFB54 /* Orientation */ = { + activeExec = 0; + executables = ( + 279D13EE1052CB8800312BA9 /* Orientation */, + ); + }; + 279D13EE1052CB8800312BA9 /* Orientation */ = { + isa = PBXExecutable; + activeArgIndices = ( + ); + argumentStrings = ( + ); + autoAttachOnCrash = 1; + breakpointsEnabled = 0; + configStateDict = { + }; + customDataFormattersEnabled = 1; + dataTipCustomDataFormattersEnabled = 1; + dataTipShowTypeColumn = 1; + dataTipSortType = 0; + debuggerPlugin = GDBDebugging; + disassemblyDisplayState = 0; + enableDebugStr = 1; + environmentEntries = ( + ); + executableSystemSymbolLevel = 0; + executableUserSymbolLevel = 0; + libgmallocEnabled = 0; + name = Orientation; + showTypeColumn = 0; + sourceDirectories = ( + ); + }; + 279D13F41052CBA800312BA9 /* Source Control */ = { + isa = PBXSourceControlManager; + fallbackIsa = XCSourceControlManager; + isSCMEnabled = 0; + scmConfiguration = { + repositoryNamesForRoots = { + "" = ""; + }; + }; + }; + 279D13F51052CBA800312BA9 /* Code sense */ = { + isa = PBXCodeSenseManager; + indexTemplatePath = ""; + }; + 29B97313FDCFA39411CA2CEA /* Project object */ = { + activeBuildConfigurationName = Debug; + activeExecutable = 279D13EE1052CB8800312BA9 /* Orientation */; + activeTarget = 1D6058900D05DD3D006BFB54 /* Orientation */; + codeSenseManager = 279D13F51052CBA800312BA9 /* Code sense */; + executables = ( + 279D13EE1052CB8800312BA9 /* Orientation */, + ); + perUserDictionary = { + PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; + PBXFileTableDataSourceColumnWidthsKey = ( + 20, + 341, + 20, + 48.16259765625, + 43, + 43, + 20, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXFileDataSource_FiletypeID, + PBXFileDataSource_Filename_ColumnID, + PBXFileDataSource_Built_ColumnID, + PBXFileDataSource_ObjectSize_ColumnID, + PBXFileDataSource_Errors_ColumnID, + PBXFileDataSource_Warnings_ColumnID, + PBXFileDataSource_Target_ColumnID, + ); + }; + PBXPerProjectTemplateStateSaveDate = 273861512; + PBXWorkspaceStateSaveDate = 273861512; + }; + sourceControlManager = 279D13F41052CBA800312BA9 /* Source Control */; + userBuildSettings = { + }; + }; +} diff --git a/Push To.xcodeproj/project.pbxproj b/Push To.xcodeproj/project.pbxproj new file mode 100755 index 0000000..f6c4afd --- /dev/null +++ b/Push To.xcodeproj/project.pbxproj @@ -0,0 +1,572 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 1D3623260D0F684500981E51 /* OrientationAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D3623250D0F684500981E51 /* OrientationAppDelegate.m */; }; + 1D60589B0D05DD56006BFB54 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; }; + 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; + 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; }; + 288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.framework */; }; + 2899E5220DE3E06400AC0155 /* OrientationViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2899E5210DE3E06400AC0155 /* OrientationViewController.xib */; }; + 28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28AD733E0D9D9553002E5188 /* MainWindow.xib */; }; + 28D7ACF80DDB3853001CB0EB /* OrientationViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 28D7ACF70DDB3853001CB0EB /* OrientationViewController.m */; }; + AE0F3C2212F9593900D45DF6 /* MessierZoekFormulierViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = AE0F3C2012F9593900D45DF6 /* MessierZoekFormulierViewController.m */; }; + AE0F3C2312F9593900D45DF6 /* MessierZoekFormulierViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = AE0F3C2112F9593900D45DF6 /* MessierZoekFormulierViewController.xib */; }; + AE17AF791345CA07009E07B2 /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AE17AF781345CA07009E07B2 /* CoreMotion.framework */; }; + AE17AFF71345D641009E07B2 /* Reflection.png in Resources */ = {isa = PBXBuildFile; fileRef = AE17AFEF1345D641009E07B2 /* Reflection.png */; }; + AE78D5ED12F9A86400A459C8 /* 151-telescope.png in Resources */ = {isa = PBXBuildFile; fileRef = AE78D5EC12F9A86400A459C8 /* 151-telescope.png */; }; + AE94EEB113A5FD1A00D2312E /* alignment.png in Resources */ = {isa = PBXBuildFile; fileRef = AE94EEB013A5FD1A00D2312E /* alignment.png */; }; + AE94EEB313A5FD3600D2312E /* custom.png in Resources */ = {isa = PBXBuildFile; fileRef = AE94EEB213A5FD3600D2312E /* custom.png */; }; + AEC021DC12F97648004FD467 /* MySingleton.m in Sources */ = {isa = PBXBuildFile; fileRef = AEC021DB12F97648004FD467 /* MySingleton.m */; }; + AED1391212E9BA6700485B82 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AED1391112E9BA6700485B82 /* CoreLocation.framework */; }; + AED1392612E9BC7700485B82 /* MyCLController.m in Sources */ = {isa = PBXBuildFile; fileRef = AED1392512E9BC7700485B82 /* MyCLController.m */; }; + AEE3ABDA1306E2BF00812B28 /* MainWindow-iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = AEE3ABD91306E2BF00812B28 /* MainWindow-iPad.xib */; }; + AEE3ABDF1306E34700812B28 /* MessierZoekFormulierViewController-iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = AEE3ABDE1306E34700812B28 /* MessierZoekFormulierViewController-iPad.xib */; }; + AEE3ABE31306E36D00812B28 /* OrientationViewController-iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = AEE3ABE21306E36D00812B28 /* OrientationViewController-iPad.xib */; }; + AEE3AC1B1306E93300812B28 /* left_arrow.png in Resources */ = {isa = PBXBuildFile; fileRef = AEE3AC181306E93300812B28 /* left_arrow.png */; }; + AEE3AC1C1306E93300812B28 /* right_arrow.png in Resources */ = {isa = PBXBuildFile; fileRef = AEE3AC191306E93300812B28 /* right_arrow.png */; }; + AEE3AC1D1306E93300812B28 /* up_arrow.png in Resources */ = {isa = PBXBuildFile; fileRef = AEE3AC1A1306E93300812B28 /* up_arrow.png */; }; + AEE3AC1F1306E98000812B28 /* down_arrow.png in Resources */ = {isa = PBXBuildFile; fileRef = AEE3AC1E1306E98000812B28 /* down_arrow.png */; }; + AEE3AC461306EC8400812B28 /* bullseye.png in Resources */ = {isa = PBXBuildFile; fileRef = AEE3AC451306EC8400812B28 /* bullseye.png */; }; + F06BE23A15121FB4003B5AC4 /* catalogus.sqlite in Resources */ = {isa = PBXBuildFile; fileRef = F06BE23815121F8C003B5AC4 /* catalogus.sqlite */; }; + F06BE23F151222A5003B5AC4 /* libsqlite3.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = F06BE23D1512222C003B5AC4 /* libsqlite3.dylib */; }; + F06BE241151222F9003B5AC4 /* CoreData.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F06BE240151222F9003B5AC4 /* CoreData.framework */; }; + F06BE2451512234A003B5AC4 /* catalogus.m in Sources */ = {isa = PBXBuildFile; fileRef = F06BE2441512234A003B5AC4 /* catalogus.m */; }; + F06BE24E151330B6003B5AC4 /* NGCZoekFormulierViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F06BE24C151330B6003B5AC4 /* NGCZoekFormulierViewController.m */; }; + F06BE24F151330B6003B5AC4 /* NGCZoekFormulierViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = F06BE24D151330B6003B5AC4 /* NGCZoekFormulierViewController.xib */; }; + F06F883B1519C61B001316C7 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F06F883A1519C61B001316C7 /* CoreAudio.framework */; }; + F06F883E1519C641001316C7 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F06F883D1519C641001316C7 /* QuartzCore.framework */; }; + F06F88401519C65E001316C7 /* MediaPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F06F883F1519C65E001316C7 /* MediaPlayer.framework */; }; + F06F88421519EA52001316C7 /* NGCZoekFormulierViewController-iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = F06F88411519EA52001316C7 /* NGCZoekFormulierViewController-iPad.xib */; }; + F091923C1500F03B0041F853 /* mount.png in Resources */ = {isa = PBXBuildFile; fileRef = F091923B1500F03B0041F853 /* mount.png */; }; + F0AA6D8B1500B3E300C62DC4 /* 151-telescope@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = F0AA6D8A1500B3E300C62DC4 /* 151-telescope@2x.png */; }; + F0AA6D901500B4AF00C62DC4 /* customViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F0AA6D8E1500B4AF00C62DC4 /* customViewController.m */; }; + F0AA6D911500B4AF00C62DC4 /* customViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = F0AA6D8F1500B4AF00C62DC4 /* customViewController.xib */; }; + F0AA6D941500BB8B00C62DC4 /* 07-map-marker.png in Resources */ = {isa = PBXBuildFile; fileRef = F0AA6D921500BB8B00C62DC4 /* 07-map-marker.png */; }; + F0AA6D951500BB8B00C62DC4 /* 07-map-marker@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = F0AA6D931500BB8B00C62DC4 /* 07-map-marker@2x.png */; }; + F0AA6D981500BBB200C62DC4 /* 06-magnify.png in Resources */ = {isa = PBXBuildFile; fileRef = F0AA6D961500BBB200C62DC4 /* 06-magnify.png */; }; + F0AA6D991500BBB200C62DC4 /* 06-magnify@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = F0AA6D971500BBB200C62DC4 /* 06-magnify@2x.png */; }; + F0AA6DA01500BCEA00C62DC4 /* GradientButton.m in Sources */ = {isa = PBXBuildFile; fileRef = F0AA6D9F1500BCEA00C62DC4 /* GradientButton.m */; }; + F0BE02BB1500DC5E00C1B787 /* Settings.bundle in Resources */ = {isa = PBXBuildFile; fileRef = F0BE02BA1500DC5E00C1B787 /* Settings.bundle */; }; + F0BE02BF1500E31A00C1B787 /* customViewController-iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = F0BE02BE1500E31A00C1B787 /* customViewController-iPad.xib */; }; + FE13042716FC75E7005661F5 /* Icon-72.png in Resources */ = {isa = PBXBuildFile; fileRef = FE13041D16FC75E7005661F5 /* Icon-72.png */; }; + FE13042816FC75E7005661F5 /* Icon-72@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = FE13041E16FC75E7005661F5 /* Icon-72@2x.png */; }; + FE13042916FC75E7005661F5 /* Icon-Small-50.png in Resources */ = {isa = PBXBuildFile; fileRef = FE13041F16FC75E7005661F5 /* Icon-Small-50.png */; }; + FE13042A16FC75E7005661F5 /* Icon-Small-50@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = FE13042016FC75E7005661F5 /* Icon-Small-50@2x.png */; }; + FE13042B16FC75E7005661F5 /* Icon-Small.png in Resources */ = {isa = PBXBuildFile; fileRef = FE13042116FC75E7005661F5 /* Icon-Small.png */; }; + FE13042C16FC75E7005661F5 /* Icon-Small@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = FE13042216FC75E7005661F5 /* Icon-Small@2x.png */; }; + FE13042D16FC75E7005661F5 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = FE13042316FC75E7005661F5 /* Icon.png */; }; + FE13042E16FC75E7005661F5 /* Icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = FE13042416FC75E7005661F5 /* Icon@2x.png */; }; + FE13042F16FC75E7005661F5 /* iTunesArtwork in Resources */ = {isa = PBXBuildFile; fileRef = FE13042516FC75E7005661F5 /* iTunesArtwork */; }; + FE13043016FC75E7005661F5 /* iTunesArtwork@2x in Resources */ = {isa = PBXBuildFile; fileRef = FE13042616FC75E7005661F5 /* iTunesArtwork@2x */; }; + FE13043216FC76AD005661F5 /* Cadeau - iPushTo - Background - iPhone5.png in Resources */ = {isa = PBXBuildFile; fileRef = FE13043116FC76AD005661F5 /* Cadeau - iPushTo - Background - iPhone5.png */; }; + FECD9993167A45CC00E99712 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = FECD9992167A45CC00E99712 /* Default-568h@2x.png */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 1D3623240D0F684500981E51 /* OrientationAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OrientationAppDelegate.h; sourceTree = ""; }; + 1D3623250D0F684500981E51 /* OrientationAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OrientationAppDelegate.m; sourceTree = ""; }; + 1D6058910D05DD3D006BFB54 /* Push To.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Push To.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + 288765A40DF7441C002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + 2899E5210DE3E06400AC0155 /* OrientationViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = OrientationViewController.xib; path = ../OrientationViewController.xib; sourceTree = ""; }; + 28AD733E0D9D9553002E5188 /* MainWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = MainWindow.xib; path = ../MainWindow.xib; sourceTree = ""; }; + 28D7ACF60DDB3853001CB0EB /* OrientationViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OrientationViewController.h; sourceTree = ""; }; + 28D7ACF70DDB3853001CB0EB /* OrientationViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OrientationViewController.m; sourceTree = ""; }; + 29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 32CA4F630368D1EE00C91783 /* Push To_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "Push To_Prefix.pch"; sourceTree = ""; }; + 8D1107310486CEB800E47090 /* Push To-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Push To-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = ""; }; + AE0F3C1F12F9593900D45DF6 /* MessierZoekFormulierViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MessierZoekFormulierViewController.h; sourceTree = ""; }; + AE0F3C2012F9593900D45DF6 /* MessierZoekFormulierViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MessierZoekFormulierViewController.m; sourceTree = ""; }; + AE0F3C2112F9593900D45DF6 /* MessierZoekFormulierViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MessierZoekFormulierViewController.xib; sourceTree = ""; }; + AE17AF781345CA07009E07B2 /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = System/Library/Frameworks/CoreMotion.framework; sourceTree = SDKROOT; }; + AE17AFEF1345D641009E07B2 /* Reflection.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Reflection.png; sourceTree = ""; }; + AE78D5EC12F9A86400A459C8 /* 151-telescope.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "151-telescope.png"; sourceTree = ""; }; + AE94EEB013A5FD1A00D2312E /* alignment.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = alignment.png; sourceTree = ""; }; + AE94EEB213A5FD3600D2312E /* custom.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = custom.png; sourceTree = ""; }; + AEC021DA12F97648004FD467 /* MySingleton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MySingleton.h; sourceTree = ""; }; + AEC021DB12F97648004FD467 /* MySingleton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MySingleton.m; sourceTree = ""; }; + AED1391112E9BA6700485B82 /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; }; + AED1392512E9BC7700485B82 /* MyCLController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MyCLController.m; sourceTree = ""; }; + AEE3ABD91306E2BF00812B28 /* MainWindow-iPad.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "MainWindow-iPad.xib"; path = "Resources-iPad/MainWindow-iPad.xib"; sourceTree = ""; }; + AEE3ABDE1306E34700812B28 /* MessierZoekFormulierViewController-iPad.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = "MessierZoekFormulierViewController-iPad.xib"; sourceTree = ""; }; + AEE3ABE21306E36D00812B28 /* OrientationViewController-iPad.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = "OrientationViewController-iPad.xib"; sourceTree = ""; }; + AEE3AC181306E93300812B28 /* left_arrow.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = left_arrow.png; sourceTree = ""; }; + AEE3AC191306E93300812B28 /* right_arrow.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = right_arrow.png; sourceTree = ""; }; + AEE3AC1A1306E93300812B28 /* up_arrow.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = up_arrow.png; sourceTree = ""; }; + AEE3AC1E1306E98000812B28 /* down_arrow.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = down_arrow.png; sourceTree = ""; }; + AEE3AC451306EC8400812B28 /* bullseye.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = bullseye.png; sourceTree = ""; }; + F06BE23815121F8C003B5AC4 /* catalogus.sqlite */ = {isa = PBXFileReference; lastKnownFileType = file; name = catalogus.sqlite; path = Classes/catalogus.sqlite; sourceTree = ""; }; + F06BE23D1512222C003B5AC4 /* libsqlite3.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libsqlite3.dylib; path = usr/lib/libsqlite3.dylib; sourceTree = SDKROOT; }; + F06BE240151222F9003B5AC4 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; + F06BE2431512234A003B5AC4 /* catalogus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = catalogus.h; sourceTree = ""; }; + F06BE2441512234A003B5AC4 /* catalogus.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = catalogus.m; sourceTree = ""; }; + F06BE24B151330B6003B5AC4 /* NGCZoekFormulierViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NGCZoekFormulierViewController.h; sourceTree = ""; }; + F06BE24C151330B6003B5AC4 /* NGCZoekFormulierViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NGCZoekFormulierViewController.m; sourceTree = ""; }; + F06BE24D151330B6003B5AC4 /* NGCZoekFormulierViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = NGCZoekFormulierViewController.xib; sourceTree = ""; }; + F06F883A1519C61B001316C7 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; }; + F06F883D1519C641001316C7 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; + F06F883F1519C65E001316C7 /* MediaPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MediaPlayer.framework; path = System/Library/Frameworks/MediaPlayer.framework; sourceTree = SDKROOT; }; + F06F88411519EA52001316C7 /* NGCZoekFormulierViewController-iPad.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = "NGCZoekFormulierViewController-iPad.xib"; sourceTree = ""; }; + F091923B1500F03B0041F853 /* mount.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = mount.png; sourceTree = ""; }; + F0AA6D8A1500B3E300C62DC4 /* 151-telescope@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "151-telescope@2x.png"; sourceTree = ""; }; + F0AA6D8D1500B4AF00C62DC4 /* customViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = customViewController.h; sourceTree = ""; }; + F0AA6D8E1500B4AF00C62DC4 /* customViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = customViewController.m; sourceTree = ""; }; + F0AA6D8F1500B4AF00C62DC4 /* customViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = customViewController.xib; sourceTree = ""; }; + F0AA6D921500BB8B00C62DC4 /* 07-map-marker.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "07-map-marker.png"; path = "Classes/07-map-marker.png"; sourceTree = ""; }; + F0AA6D931500BB8B00C62DC4 /* 07-map-marker@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "07-map-marker@2x.png"; path = "Classes/07-map-marker@2x.png"; sourceTree = ""; }; + F0AA6D961500BBB200C62DC4 /* 06-magnify.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "06-magnify.png"; path = "Classes/06-magnify.png"; sourceTree = ""; }; + F0AA6D971500BBB200C62DC4 /* 06-magnify@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "06-magnify@2x.png"; path = "Classes/06-magnify@2x.png"; sourceTree = ""; }; + F0AA6D9E1500BCEA00C62DC4 /* GradientButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GradientButton.h; sourceTree = ""; }; + F0AA6D9F1500BCEA00C62DC4 /* GradientButton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GradientButton.m; sourceTree = ""; }; + F0BE02BA1500DC5E00C1B787 /* Settings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = Settings.bundle; sourceTree = ""; }; + F0BE02BE1500E31A00C1B787 /* customViewController-iPad.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = "customViewController-iPad.xib"; sourceTree = ""; }; + FE13041D16FC75E7005661F5 /* Icon-72.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-72.png"; sourceTree = ""; }; + FE13041E16FC75E7005661F5 /* Icon-72@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-72@2x.png"; sourceTree = ""; }; + FE13041F16FC75E7005661F5 /* Icon-Small-50.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-Small-50.png"; sourceTree = ""; }; + FE13042016FC75E7005661F5 /* Icon-Small-50@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-Small-50@2x.png"; sourceTree = ""; }; + FE13042116FC75E7005661F5 /* Icon-Small.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-Small.png"; sourceTree = ""; }; + FE13042216FC75E7005661F5 /* Icon-Small@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-Small@2x.png"; sourceTree = ""; }; + FE13042316FC75E7005661F5 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = ""; }; + FE13042416FC75E7005661F5 /* Icon@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon@2x.png"; sourceTree = ""; }; + FE13042516FC75E7005661F5 /* iTunesArtwork */ = {isa = PBXFileReference; lastKnownFileType = file; path = iTunesArtwork; sourceTree = ""; }; + FE13042616FC75E7005661F5 /* iTunesArtwork@2x */ = {isa = PBXFileReference; lastKnownFileType = file; path = "iTunesArtwork@2x"; sourceTree = ""; }; + FE13043116FC76AD005661F5 /* Cadeau - iPushTo - Background - iPhone5.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Cadeau - iPushTo - Background - iPhone5.png"; sourceTree = ""; }; + FECD9992167A45CC00E99712 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + F06F88401519C65E001316C7 /* MediaPlayer.framework in Frameworks */, + F06F883E1519C641001316C7 /* QuartzCore.framework in Frameworks */, + F06F883B1519C61B001316C7 /* CoreAudio.framework in Frameworks */, + F06BE241151222F9003B5AC4 /* CoreData.framework in Frameworks */, + 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */, + 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */, + 288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */, + AED1391212E9BA6700485B82 /* CoreLocation.framework in Frameworks */, + AE17AF791345CA07009E07B2 /* CoreMotion.framework in Frameworks */, + F06BE23F151222A5003B5AC4 /* libsqlite3.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 080E96DDFE201D6D7F000001 /* Classes */ = { + isa = PBXGroup; + children = ( + F0BE02BD1500E24200C1B787 /* ext */, + 1D3623240D0F684500981E51 /* OrientationAppDelegate.h */, + 1D3623250D0F684500981E51 /* OrientationAppDelegate.m */, + 28AD733E0D9D9553002E5188 /* MainWindow.xib */, + 28D7ACF60DDB3853001CB0EB /* OrientationViewController.h */, + 28D7ACF70DDB3853001CB0EB /* OrientationViewController.m */, + 2899E5210DE3E06400AC0155 /* OrientationViewController.xib */, + AE0F3C1F12F9593900D45DF6 /* MessierZoekFormulierViewController.h */, + AE0F3C2012F9593900D45DF6 /* MessierZoekFormulierViewController.m */, + AE0F3C2112F9593900D45DF6 /* MessierZoekFormulierViewController.xib */, + F06BE24B151330B6003B5AC4 /* NGCZoekFormulierViewController.h */, + F06BE24C151330B6003B5AC4 /* NGCZoekFormulierViewController.m */, + F06BE24D151330B6003B5AC4 /* NGCZoekFormulierViewController.xib */, + F0AA6D8D1500B4AF00C62DC4 /* customViewController.h */, + F0AA6D8E1500B4AF00C62DC4 /* customViewController.m */, + F0AA6D8F1500B4AF00C62DC4 /* customViewController.xib */, + AEC021DA12F97648004FD467 /* MySingleton.h */, + AEC021DB12F97648004FD467 /* MySingleton.m */, + ); + path = Classes; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 1D6058910D05DD3D006BFB54 /* Push To.app */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { + isa = PBXGroup; + children = ( + F0BE02BC1500E22D00C1B787 /* icons */, + 080E96DDFE201D6D7F000001 /* Classes */, + 29B97315FDCFA39411CA2CEA /* Other Sources */, + 29B97317FDCFA39411CA2CEA /* Resources */, + AEE3ABD81306E2BF00812B28 /* Resources-iPad */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + F0BE02BA1500DC5E00C1B787 /* Settings.bundle */, + 19C28FACFE9D520D11CA2CBB /* Products */, + ); + name = CustomTemplate; + sourceTree = ""; + }; + 29B97315FDCFA39411CA2CEA /* Other Sources */ = { + isa = PBXGroup; + children = ( + 32CA4F630368D1EE00C91783 /* Push To_Prefix.pch */, + 29B97316FDCFA39411CA2CEA /* main.m */, + ); + name = "Other Sources"; + sourceTree = ""; + }; + 29B97317FDCFA39411CA2CEA /* Resources */ = { + isa = PBXGroup; + children = ( + F06BE23815121F8C003B5AC4 /* catalogus.sqlite */, + 8D1107310486CEB800E47090 /* Push To-Info.plist */, + ); + name = Resources; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + F06BE23D1512222C003B5AC4 /* libsqlite3.dylib */, + F06F883F1519C65E001316C7 /* MediaPlayer.framework */, + F06F883D1519C641001316C7 /* QuartzCore.framework */, + F06F883A1519C61B001316C7 /* CoreAudio.framework */, + F06BE240151222F9003B5AC4 /* CoreData.framework */, + AE17AF781345CA07009E07B2 /* CoreMotion.framework */, + 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */, + 1D30AB110D05D00D00671497 /* Foundation.framework */, + 288765A40DF7441C002DB57D /* CoreGraphics.framework */, + AED1391112E9BA6700485B82 /* CoreLocation.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + AEE3ABD81306E2BF00812B28 /* Resources-iPad */ = { + isa = PBXGroup; + children = ( + AEE3ABD91306E2BF00812B28 /* MainWindow-iPad.xib */, + AEE3ABE21306E36D00812B28 /* OrientationViewController-iPad.xib */, + F0BE02BE1500E31A00C1B787 /* customViewController-iPad.xib */, + F06F88411519EA52001316C7 /* NGCZoekFormulierViewController-iPad.xib */, + AEE3ABDE1306E34700812B28 /* MessierZoekFormulierViewController-iPad.xib */, + ); + name = "Resources-iPad"; + sourceTree = ""; + }; + F0BE02BC1500E22D00C1B787 /* icons */ = { + isa = PBXGroup; + children = ( + FECD9992167A45CC00E99712 /* Default-568h@2x.png */, + F091923B1500F03B0041F853 /* mount.png */, + AE17AFEF1345D641009E07B2 /* Reflection.png */, + AEE3AC451306EC8400812B28 /* bullseye.png */, + AEE3AC1E1306E98000812B28 /* down_arrow.png */, + AEE3AC181306E93300812B28 /* left_arrow.png */, + F0AA6D8A1500B3E300C62DC4 /* 151-telescope@2x.png */, + AEE3AC191306E93300812B28 /* right_arrow.png */, + FE13041D16FC75E7005661F5 /* Icon-72.png */, + FE13041E16FC75E7005661F5 /* Icon-72@2x.png */, + FE13041F16FC75E7005661F5 /* Icon-Small-50.png */, + FE13042016FC75E7005661F5 /* Icon-Small-50@2x.png */, + FE13042116FC75E7005661F5 /* Icon-Small.png */, + FE13043116FC76AD005661F5 /* Cadeau - iPushTo - Background - iPhone5.png */, + FE13042216FC75E7005661F5 /* Icon-Small@2x.png */, + FE13042316FC75E7005661F5 /* Icon.png */, + FE13042416FC75E7005661F5 /* Icon@2x.png */, + FE13042516FC75E7005661F5 /* iTunesArtwork */, + FE13042616FC75E7005661F5 /* iTunesArtwork@2x */, + AEE3AC1A1306E93300812B28 /* up_arrow.png */, + AE94EEB213A5FD3600D2312E /* custom.png */, + AE94EEB013A5FD1A00D2312E /* alignment.png */, + AE78D5EC12F9A86400A459C8 /* 151-telescope.png */, + F0AA6D961500BBB200C62DC4 /* 06-magnify.png */, + F0AA6D971500BBB200C62DC4 /* 06-magnify@2x.png */, + F0AA6D921500BB8B00C62DC4 /* 07-map-marker.png */, + F0AA6D931500BB8B00C62DC4 /* 07-map-marker@2x.png */, + ); + name = icons; + sourceTree = ""; + }; + F0BE02BD1500E24200C1B787 /* ext */ = { + isa = PBXGroup; + children = ( + F06BE2431512234A003B5AC4 /* catalogus.h */, + F06BE2441512234A003B5AC4 /* catalogus.m */, + F0AA6D9E1500BCEA00C62DC4 /* GradientButton.h */, + AED1392512E9BC7700485B82 /* MyCLController.m */, + F0AA6D9F1500BCEA00C62DC4 /* GradientButton.m */, + ); + name = ext; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1D6058900D05DD3D006BFB54 /* Push To */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "Push To" */; + buildPhases = ( + 1D60588D0D05DD3D006BFB54 /* Resources */, + 1D60588E0D05DD3D006BFB54 /* Sources */, + 1D60588F0D05DD3D006BFB54 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Push To"; + productName = Orientation; + productReference = 1D6058910D05DD3D006BFB54 /* Push To.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0460; + ORGANIZATIONNAME = DDQ; + }; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Push To" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 1D6058900D05DD3D006BFB54 /* Push To */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 1D60588D0D05DD3D006BFB54 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */, + 2899E5220DE3E06400AC0155 /* OrientationViewController.xib in Resources */, + AE0F3C2312F9593900D45DF6 /* MessierZoekFormulierViewController.xib in Resources */, + AE78D5ED12F9A86400A459C8 /* 151-telescope.png in Resources */, + AEE3ABDA1306E2BF00812B28 /* MainWindow-iPad.xib in Resources */, + AEE3ABDF1306E34700812B28 /* MessierZoekFormulierViewController-iPad.xib in Resources */, + AEE3ABE31306E36D00812B28 /* OrientationViewController-iPad.xib in Resources */, + AEE3AC1B1306E93300812B28 /* left_arrow.png in Resources */, + AEE3AC1C1306E93300812B28 /* right_arrow.png in Resources */, + AEE3AC1D1306E93300812B28 /* up_arrow.png in Resources */, + AEE3AC1F1306E98000812B28 /* down_arrow.png in Resources */, + AEE3AC461306EC8400812B28 /* bullseye.png in Resources */, + AE17AFF71345D641009E07B2 /* Reflection.png in Resources */, + AE94EEB113A5FD1A00D2312E /* alignment.png in Resources */, + AE94EEB313A5FD3600D2312E /* custom.png in Resources */, + F0AA6D8B1500B3E300C62DC4 /* 151-telescope@2x.png in Resources */, + F0AA6D911500B4AF00C62DC4 /* customViewController.xib in Resources */, + F0AA6D941500BB8B00C62DC4 /* 07-map-marker.png in Resources */, + F0AA6D951500BB8B00C62DC4 /* 07-map-marker@2x.png in Resources */, + F0AA6D981500BBB200C62DC4 /* 06-magnify.png in Resources */, + F0AA6D991500BBB200C62DC4 /* 06-magnify@2x.png in Resources */, + F0BE02BB1500DC5E00C1B787 /* Settings.bundle in Resources */, + F0BE02BF1500E31A00C1B787 /* customViewController-iPad.xib in Resources */, + F091923C1500F03B0041F853 /* mount.png in Resources */, + F06BE23A15121FB4003B5AC4 /* catalogus.sqlite in Resources */, + F06BE24F151330B6003B5AC4 /* NGCZoekFormulierViewController.xib in Resources */, + F06F88421519EA52001316C7 /* NGCZoekFormulierViewController-iPad.xib in Resources */, + FECD9993167A45CC00E99712 /* Default-568h@2x.png in Resources */, + FE13042716FC75E7005661F5 /* Icon-72.png in Resources */, + FE13042816FC75E7005661F5 /* Icon-72@2x.png in Resources */, + FE13042916FC75E7005661F5 /* Icon-Small-50.png in Resources */, + FE13042A16FC75E7005661F5 /* Icon-Small-50@2x.png in Resources */, + FE13042B16FC75E7005661F5 /* Icon-Small.png in Resources */, + FE13042C16FC75E7005661F5 /* Icon-Small@2x.png in Resources */, + FE13042D16FC75E7005661F5 /* Icon.png in Resources */, + FE13042E16FC75E7005661F5 /* Icon@2x.png in Resources */, + FE13042F16FC75E7005661F5 /* iTunesArtwork in Resources */, + FE13043016FC75E7005661F5 /* iTunesArtwork@2x in Resources */, + FE13043216FC76AD005661F5 /* Cadeau - iPushTo - Background - iPhone5.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1D60588E0D05DD3D006BFB54 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1D60589B0D05DD56006BFB54 /* main.m in Sources */, + 1D3623260D0F684500981E51 /* OrientationAppDelegate.m in Sources */, + 28D7ACF80DDB3853001CB0EB /* OrientationViewController.m in Sources */, + AED1392612E9BC7700485B82 /* MyCLController.m in Sources */, + AE0F3C2212F9593900D45DF6 /* MessierZoekFormulierViewController.m in Sources */, + AEC021DC12F97648004FD467 /* MySingleton.m in Sources */, + F0AA6D901500B4AF00C62DC4 /* customViewController.m in Sources */, + F0AA6DA01500BCEA00C62DC4 /* GradientButton.m in Sources */, + F06BE2451512234A003B5AC4 /* catalogus.m in Sources */, + F06BE24E151330B6003B5AC4 /* NGCZoekFormulierViewController.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 1D6058940D05DD3E006BFB54 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + CLANG_ENABLE_OBJC_ARC = YES; + CODE_SIGN_IDENTITY = "iPhone Developer: Norbert Schmidt (5ETE5VMV5Y)"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Norbert Schmidt (5ETE5VMV5Y)"; + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Push To_Prefix.pch"; + INFOPLIST_FILE = "Push To-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 4.3; + PRODUCT_NAME = "Push To"; + PROVISIONING_PROFILE = "638D4ABA-E5CB-4E42-86A9-245E3BD111F3"; + "PROVISIONING_PROFILE[sdk=iphoneos*]" = "638D4ABA-E5CB-4E42-86A9-245E3BD111F3"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 1D6058950D05DD3E006BFB54 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + CLANG_ENABLE_OBJC_ARC = YES; + CODE_SIGN_IDENTITY = "iPhone Developer: Norbert Schmidt (5ETE5VMV5Y)"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Norbert Schmidt (5ETE5VMV5Y)"; + COPY_PHASE_STRIP = YES; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Push To_Prefix.pch"; + INFOPLIST_FILE = "Push To-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 4.3; + PRODUCT_NAME = "Push To"; + PROVISIONING_PROFILE = "638D4ABA-E5CB-4E42-86A9-245E3BD111F3"; + "PROVISIONING_PROFILE[sdk=iphoneos*]" = "638D4ABA-E5CB-4E42-86A9-245E3BD111F3"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + AED840C512FAF51C003CC4F0 /* Distribution */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + CODE_SIGN_IDENTITY = "iPhone Distribution: DDQ"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; + GCC_C_LANGUAGE_STANDARD = c99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 4.3; + ONLY_ACTIVE_ARCH = NO; + PRODUCT_NAME = "Push To"; + PROVISIONING_PROFILE = "2E6BCD69-0D6E-4F5B-9C4C-0B67614D4954"; + "PROVISIONING_PROFILE[sdk=iphoneos*]" = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Distribution; + }; + AED840C612FAF51C003CC4F0 /* Distribution */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + CLANG_ENABLE_OBJC_ARC = YES; + CODE_SIGN_IDENTITY = "iPhone Developer: Norbert Schmidt (5ETE5VMV5Y)"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Norbert Schmidt (5ETE5VMV5Y)"; + COPY_PHASE_STRIP = YES; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Push To_Prefix.pch"; + INFOPLIST_FILE = "Push To-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 4.3; + PRODUCT_NAME = "Push To"; + PROVISIONING_PROFILE = "638D4ABA-E5CB-4E42-86A9-245E3BD111F3"; + "PROVISIONING_PROFILE[sdk=iphoneos*]" = "638D4ABA-E5CB-4E42-86A9-245E3BD111F3"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Distribution; + }; + C01FCF4F08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + CODE_SIGN_IDENTITY = "iPhone Distribution: DDQ"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; + GCC_C_LANGUAGE_STANDARD = c99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 4.3; + ONLY_ACTIVE_ARCH = NO; + PRODUCT_NAME = "Push To"; + PROVISIONING_PROFILE = "2E6BCD69-0D6E-4F5B-9C4C-0B67614D4954"; + "PROVISIONING_PROFILE[sdk=iphoneos*]" = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + C01FCF5008A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + CODE_SIGN_IDENTITY = "iPhone Distribution: DDQ"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; + GCC_C_LANGUAGE_STANDARD = c99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 4.3; + ONLY_ACTIVE_ARCH = NO; + PRODUCT_NAME = "Push To"; + PROVISIONING_PROFILE = "2E6BCD69-0D6E-4F5B-9C4C-0B67614D4954"; + "PROVISIONING_PROFILE[sdk=iphoneos*]" = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "Push To" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1D6058940D05DD3E006BFB54 /* Debug */, + 1D6058950D05DD3E006BFB54 /* Release */, + AED840C612FAF51C003CC4F0 /* Distribution */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Push To" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + AED840C512FAF51C003CC4F0 /* Distribution */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/Push To.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Push To.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100755 index 0000000..5f74625 --- /dev/null +++ b/Push To.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Push To.xcodeproj/project.xcworkspace/xcuserdata/Norbert.xcuserdatad/UserInterfaceState.xcuserstate b/Push To.xcodeproj/project.xcworkspace/xcuserdata/Norbert.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100755 index 0000000..28c6f5f --- /dev/null +++ b/Push To.xcodeproj/project.xcworkspace/xcuserdata/Norbert.xcuserdatad/UserInterfaceState.xcuserstate @@ -0,0 +1,2572 @@ + + + + + $archiver + NSKeyedArchiver + $objects + + $null + + $class + + CF$UID + 38 + + NS.keys + + + CF$UID + 2 + + + CF$UID + 3 + + + NS.objects + + + CF$UID + 4 + + + CF$UID + 89 + + + + IDEWorkspaceDocument + 33EA027B-D2BB-4DCE-AC8E-566BFBCA228C + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 5 + + + CF$UID + 6 + + + CF$UID + 7 + + + CF$UID + 8 + + + CF$UID + 9 + + + CF$UID + 10 + + + CF$UID + 11 + + + CF$UID + 12 + + + CF$UID + 13 + + + NS.objects + + + CF$UID + 14 + + + CF$UID + 15 + + + CF$UID + 73 + + + CF$UID + 74 + + + CF$UID + 79 + + + CF$UID + 82 + + + CF$UID + 83 + + + CF$UID + 14 + + + CF$UID + 14 + + + + BreakpointsActivated + DefaultEditorStatesForURLs + DebuggingWindowBehavior + ActiveRunDestination + ActiveScheme + DocumentWindows + RecentEditorDocumentURLs + AppFocusInMiniDebugging + MiniDebuggingConsole + + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 16 + + + CF$UID + 17 + + + NS.objects + + + CF$UID + 18 + + + CF$UID + 56 + + + + Xcode.Xcode3ProjectSupport.EditorDocument.Xcode3Project + Xcode.IDEKit.EditorDocument.SourceCode + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 19 + + + NS.objects + + + CF$UID + 23 + + + + + $class + + CF$UID + 22 + + NS.base + + CF$UID + 0 + + NS.relative + + CF$UID + 20 + + + + $class + + CF$UID + 21 + + NS.string + file://localhost/Users/Norbert/Documents/IOSProjects/ipushto/iPushTo.xcodeproj/ + + + $classes + + NSMutableString + NSString + NSObject + + $classname + NSMutableString + + + $classes + + NSURL + NSObject + + $classname + NSURL + + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 24 + + + CF$UID + 25 + + + CF$UID + 26 + + + CF$UID + 27 + + + CF$UID + 28 + + + NS.objects + + + CF$UID + 29 + + + CF$UID + 30 + + + CF$UID + 43 + + + CF$UID + 44 + + + CF$UID + 55 + + + + Xcode3ProjectEditorPreviousProjectEditorClass + Xcode3ProjectEditor.sourceList.splitview + Xcode3ProjectEditorPreviousTargetEditorClass + Xcode3ProjectEditorSelectedDocumentLocations + Xcode3ProjectEditor_Xcode3TargetEditor + Xcode3ProjectInfoEditor + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 31 + + + NS.objects + + + CF$UID + 32 + + + + DVTSplitViewItems + + $class + + CF$UID + 41 + + NS.objects + + + CF$UID + 33 + + + CF$UID + 39 + + + + + $class + + CF$UID + 38 + + NS.keys + + + CF$UID + 34 + + + CF$UID + 35 + + + NS.objects + + + CF$UID + 36 + + + CF$UID + 37 + + + + DVTIdentifier + DVTViewMagnitude + + 162 + + $classes + + NSDictionary + NSObject + + $classname + NSDictionary + + + $class + + CF$UID + 38 + + NS.keys + + + CF$UID + 34 + + + CF$UID + 35 + + + NS.objects + + + CF$UID + 36 + + + CF$UID + 40 + + + + 978 + + $classes + + NSMutableArray + NSArray + NSObject + + $classname + NSMutableArray + + + $classes + + NSMutableDictionary + NSDictionary + NSObject + + $classname + NSMutableDictionary + + Xcode3TargetEditor + + $class + + CF$UID + 54 + + NS.objects + + + CF$UID + 45 + + + + + $class + + CF$UID + 53 + + documentURL + + CF$UID + 46 + + selection + + CF$UID + 48 + + timestamp + + CF$UID + 47 + + + file://localhost/Users/Norbert/Documents/IOSProjects/ipushto/iPushTo.xcodeproj/ + 321535592.74008 + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 49 + + + CF$UID + 50 + + + NS.objects + + + CF$UID + 51 + + + CF$UID + 52 + + + + Editor + Target + Xcode3TargetEditor + iPushTo + + $classes + + Xcode3ProjectDocumentLocation + DVTDocumentLocation + NSObject + + $classname + Xcode3ProjectDocumentLocation + + + $classes + + NSArray + NSObject + + $classname + NSArray + + + $class + + CF$UID + 42 + + NS.keys + + NS.objects + + + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 57 + + + CF$UID + 59 + + + NS.objects + + + CF$UID + 61 + + + CF$UID + 69 + + + + + $class + + CF$UID + 22 + + NS.base + + CF$UID + 0 + + NS.relative + + CF$UID + 58 + + + + $class + + CF$UID + 21 + + NS.string + file://localhost/Users/Norbert/Documents/IOSProjects/ipushto/Classes/OrientationAppDelegate.m + + + $class + + CF$UID + 22 + + NS.base + + CF$UID + 0 + + NS.relative + + CF$UID + 60 + + + + $class + + CF$UID + 21 + + NS.string + file://localhost/Users/Norbert/Documents/IOSProjects/ipushto/Classes/OrientationAppDelegate.h + + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 62 + + + CF$UID + 63 + + + CF$UID + 64 + + + CF$UID + 65 + + + NS.objects + + + CF$UID + 66 + + + CF$UID + 67 + + + CF$UID + 14 + + + CF$UID + 68 + + + + PrimaryDocumentTimestamp + PrimaryDocumentVisibleCharacterRange + HideAllIssues + PrimaryDocumentSelectedCharacterRange + 321535603.89190102 + {0, 704} + {497, 62} + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 62 + + + CF$UID + 63 + + + CF$UID + 64 + + + CF$UID + 65 + + + NS.objects + + + CF$UID + 70 + + + CF$UID + 71 + + + CF$UID + 14 + + + CF$UID + 72 + + + + 321535598.87872201 + {0, 511} + {0, 0} + 0 + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 75 + + + CF$UID + 76 + + + NS.objects + + + CF$UID + 77 + + + CF$UID + 78 + + + + IDEDeviceLocation + IDEDeviceArchitecture + dvtdevice-iphone:4239725a440c0de3a753aab0b2044175fedf54c4 + armv7 + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 80 + + + NS.objects + + + CF$UID + 81 + + + + IDENameString + iPushTo + + $class + + CF$UID + 41 + + NS.objects + + + CF$UID + 3 + + + + + $class + + CF$UID + 41 + + NS.objects + + + CF$UID + 84 + + + CF$UID + 86 + + + CF$UID + 88 + + + + + $class + + CF$UID + 22 + + NS.base + + CF$UID + 0 + + NS.relative + + CF$UID + 85 + + + file://localhost/Users/Norbert/Documents/IOSProjects/ipushto/Classes/OrientationAppDelegate.m + + $class + + CF$UID + 22 + + NS.base + + CF$UID + 0 + + NS.relative + + CF$UID + 87 + + + file://localhost/Users/Norbert/Documents/IOSProjects/ipushto/Classes/OrientationAppDelegate.h + + $class + + CF$UID + 22 + + NS.base + + CF$UID + 0 + + NS.relative + + CF$UID + 46 + + + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 90 + + + CF$UID + 91 + + + CF$UID + 92 + + + CF$UID + 93 + + + CF$UID + 94 + + + CF$UID + 95 + + + NS.objects + + + CF$UID + 96 + + + CF$UID + 239 + + + CF$UID + 105 + + + CF$UID + 90 + + + CF$UID + 240 + + + CF$UID + 3 + + + + IDEWorkspaceTabController_B4817180-C1B4-445B-A09C-E24D59768973 + IDEOrderedWorkspaceTabControllers + IDEWindowToolbarIsVisible + IDEActiveWorkspaceTabController + IDEWindowFrame + IDEWorkspaceWindowControllerUniqueIdentifier + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 97 + + + CF$UID + 98 + + + CF$UID + 99 + + + CF$UID + 100 + + + CF$UID + 101 + + + CF$UID + 102 + + + CF$UID + 103 + + + CF$UID + 104 + + + NS.objects + + + CF$UID + 73 + + + CF$UID + 105 + + + CF$UID + 106 + + + CF$UID + 107 + + + CF$UID + 113 + + + CF$UID + 135 + + + CF$UID + 14 + + + CF$UID + 144 + + + + AssistantEditorsLayout + IDEShowNavigator + IDETabLabel + IDEWorkspaceTabControllerUtilityAreaSplitView + IDENavigatorArea + IDEWorkspaceTabControllerDesignAreaSplitView + IDEShowUtilities + IDEEditorArea + + OrientationAppDelegate.m + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 31 + + + NS.objects + + + CF$UID + 108 + + + + + $class + + CF$UID + 41 + + NS.objects + + + CF$UID + 109 + + + CF$UID + 111 + + + + + $class + + CF$UID + 38 + + NS.keys + + + CF$UID + 34 + + + CF$UID + 35 + + + NS.objects + + + CF$UID + 36 + + + CF$UID + 110 + + + + 652 + + $class + + CF$UID + 38 + + NS.keys + + + CF$UID + 34 + + + CF$UID + 35 + + + NS.objects + + + CF$UID + 36 + + + CF$UID + 112 + + + + 224 + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 114 + + + CF$UID + 115 + + + NS.objects + + + CF$UID + 115 + + + CF$UID + 116 + + + + SelectedNavigator + Xcode.IDEKit.Navigator.Structure + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 117 + + + CF$UID + 118 + + + CF$UID + 119 + + + CF$UID + 120 + + + CF$UID + 121 + + + CF$UID + 122 + + + CF$UID + 123 + + + NS.objects + + + CF$UID + 124 + + + CF$UID + 14 + + + CF$UID + 125 + + + CF$UID + 14 + + + CF$UID + 14 + + + CF$UID + 127 + + + CF$UID + 132 + + + + IDEVisibleRect + IDEUnsavedDocumentFilteringEnabled + IDENavigatorExpandedItemsBeforeFilteringSet + IDERecentDocumentFilteringEnabled + IDESCMStatusFilteringEnabled + IDESelectedObjects + IDEExpandedItemsSet + {{0, 0}, {259, 832}} + + $class + + CF$UID + 126 + + NS.objects + + + + $classes + + NSSet + NSObject + + $classname + NSSet + + + $class + + CF$UID + 54 + + NS.objects + + + CF$UID + 128 + + + + + $class + + CF$UID + 41 + + NS.objects + + + CF$UID + 129 + + + CF$UID + 130 + + + CF$UID + 131 + + + + iPushTo + Classes + OrientationAppDelegate.m + + $class + + CF$UID + 126 + + NS.objects + + + CF$UID + 133 + + + CF$UID + 134 + + + + + $class + + CF$UID + 41 + + NS.objects + + + CF$UID + 129 + + + + + $class + + CF$UID + 41 + + NS.objects + + + CF$UID + 129 + + + CF$UID + 130 + + + + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 31 + + + NS.objects + + + CF$UID + 136 + + + + + $class + + CF$UID + 41 + + NS.objects + + + CF$UID + 137 + + + CF$UID + 139 + + + CF$UID + 141 + + + + + $class + + CF$UID + 38 + + NS.keys + + + CF$UID + 34 + + + CF$UID + 35 + + + NS.objects + + + CF$UID + 101 + + + CF$UID + 138 + + + + 260 + + $class + + CF$UID + 38 + + NS.keys + + + CF$UID + 34 + + + CF$UID + 35 + + + NS.objects + + + CF$UID + 104 + + + CF$UID + 140 + + + + 1140 + + $class + + CF$UID + 38 + + NS.keys + + + CF$UID + 34 + + + CF$UID + 35 + + + NS.objects + + + CF$UID + 142 + + + CF$UID + 143 + + + + IDEUtilitiesArea + 260 + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 145 + + + CF$UID + 146 + + + CF$UID + 147 + + + CF$UID + 148 + + + CF$UID + 149 + + + CF$UID + 150 + + + CF$UID + 151 + + + CF$UID + 152 + + + NS.objects + + + CF$UID + 153 + + + CF$UID + 170 + + + CF$UID + 203 + + + CF$UID + 105 + + + CF$UID + 73 + + + CF$UID + 230 + + + CF$UID + 238 + + + CF$UID + 14 + + + + layoutTree + IDEEditorMode_Standard + IDEEDitorArea_DebugArea + IDEShowEditor + EditorMode + DebuggerSplitView + DefaultPersistentRepresentations + ShowDebuggerArea + + $class + + CF$UID + 169 + + geniusEditorContextNode + + CF$UID + 0 + + primaryEditorContextNode + + CF$UID + 154 + + rootLayoutTreeNode + + CF$UID + 166 + + + + $class + + CF$UID + 168 + + children + + CF$UID + 0 + + contentType + 1 + documentArchivableRepresentation + + CF$UID + 155 + + orientation + 0 + parent + + CF$UID + 166 + + + + $class + + CF$UID + 165 + + DocumentLocation + + CF$UID + 163 + + DomainIdentifier + + CF$UID + 156 + + IdentifierPath + + CF$UID + 157 + + IndexOfDocumentIdentifier + + CF$UID + 73 + + + Xcode.IDENavigableItemDomain.WorkspaceStructure + + $class + + CF$UID + 54 + + NS.objects + + + CF$UID + 158 + + + CF$UID + 160 + + + CF$UID + 161 + + + + + $class + + CF$UID + 159 + + Identifier + + CF$UID + 131 + + + + $classes + + IDEArchivableStringIndexPair + NSObject + + $classname + IDEArchivableStringIndexPair + + + $class + + CF$UID + 159 + + Identifier + + CF$UID + 130 + + + + $class + + CF$UID + 159 + + Identifier + + CF$UID + 162 + + + iPushTo + + $class + + CF$UID + 164 + + documentURL + + CF$UID + 58 + + timestamp + + CF$UID + 0 + + + + $classes + + DVTDocumentLocation + NSObject + + $classname + DVTDocumentLocation + + + $classes + + IDENavigableItemArchivableRepresentation + NSObject + + $classname + IDENavigableItemArchivableRepresentation + + + $class + + CF$UID + 168 + + children + + CF$UID + 167 + + contentType + 0 + documentArchivableRepresentation + + CF$UID + 0 + + orientation + 0 + parent + + CF$UID + 0 + + + + $class + + CF$UID + 54 + + NS.objects + + + CF$UID + 154 + + + + + $classes + + IDEWorkspaceTabControllerLayoutTreeNode + NSObject + + $classname + IDEWorkspaceTabControllerLayoutTreeNode + + + $classes + + IDEWorkspaceTabControllerLayoutTree + NSObject + + $classname + IDEWorkspaceTabControllerLayoutTree + + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 171 + + + NS.objects + + + CF$UID + 172 + + + + EditorLayout_PersistentRepresentation + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 173 + + + NS.objects + + + CF$UID + 174 + + + + Main + + $class + + CF$UID + 38 + + NS.keys + + + CF$UID + 175 + + + CF$UID + 176 + + + CF$UID + 177 + + + NS.objects + + + CF$UID + 178 + + + CF$UID + 73 + + + CF$UID + 201 + + + + EditorLayout_StateSavingStateDictionaries + EditorLayout_Selected + EditorLayout_Geometry + + $class + + CF$UID + 54 + + NS.objects + + + CF$UID + 179 + + + + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 180 + + + CF$UID + 181 + + + CF$UID + 182 + + + CF$UID + 183 + + + CF$UID + 184 + + + CF$UID + 185 + + + CF$UID + 186 + + + NS.objects + + + CF$UID + 187 + + + CF$UID + 188 + + + CF$UID + 194 + + + CF$UID + 198 + + + CF$UID + 131 + + + CF$UID + 17 + + + CF$UID + 199 + + + + FileDataType + ArchivableRepresentation + EditorState + NavigableItemName + DocumentNavigableItemName + DocumentExtensionIdentifier + DocumentURL + public.objective-c-source + + $class + + CF$UID + 165 + + DocumentLocation + + CF$UID + 163 + + DomainIdentifier + + CF$UID + 156 + + IdentifierPath + + CF$UID + 189 + + IndexOfDocumentIdentifier + + CF$UID + 73 + + + + $class + + CF$UID + 54 + + NS.objects + + + CF$UID + 190 + + + CF$UID + 191 + + + CF$UID + 192 + + + + + $class + + CF$UID + 159 + + Identifier + + CF$UID + 131 + + + + $class + + CF$UID + 159 + + Identifier + + CF$UID + 130 + + + + $class + + CF$UID + 159 + + Identifier + + CF$UID + 193 + + + iPushTo + + $class + + CF$UID + 38 + + NS.keys + + + CF$UID + 62 + + + CF$UID + 63 + + + CF$UID + 64 + + + CF$UID + 65 + + + NS.objects + + + CF$UID + 195 + + + CF$UID + 196 + + + CF$UID + 14 + + + CF$UID + 197 + + + + 321535603.89274102 + {0, 704} + {497, 62} + -applicationDidFinishLaunching: + + $class + + CF$UID + 22 + + NS.base + + CF$UID + 0 + + NS.relative + + CF$UID + 200 + + + file://localhost/Users/Norbert/Documents/IOSProjects/ipushto/Classes/OrientationAppDelegate.m + + $class + + CF$UID + 54 + + NS.objects + + + CF$UID + 202 + + + + {{0, 0}, {1140, 876}} + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 204 + + + CF$UID + 205 + + + CF$UID + 206 + + + CF$UID + 207 + + + CF$UID + 208 + + + CF$UID + 209 + + + NS.objects + + + CF$UID + 210 + + + CF$UID + 211 + + + CF$UID + 213 + + + CF$UID + 210 + + + CF$UID + 216 + + + CF$UID + 224 + + + + LayoutFocusMode + console + variables + LayoutMode + IDEDebugArea_SplitView + IDEDebuggerAreaSplitView + 1 + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 212 + + + NS.objects + + + CF$UID + 73 + + + + ConsoleFilterMode + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 214 + + + NS.objects + + + CF$UID + 215 + + + + DBGVariablesViewFilterMode + 2 + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 31 + + + NS.objects + + + CF$UID + 217 + + + + + $class + + CF$UID + 41 + + NS.objects + + + CF$UID + 218 + + + CF$UID + 221 + + + + + $class + + CF$UID + 38 + + NS.keys + + + CF$UID + 34 + + + CF$UID + 35 + + + NS.objects + + + CF$UID + 219 + + + CF$UID + 220 + + + + VariablesView + 298 + + $class + + CF$UID + 38 + + NS.keys + + + CF$UID + 34 + + + CF$UID + 35 + + + NS.objects + + + CF$UID + 222 + + + CF$UID + 223 + + + + ConsoleArea + 841 + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 31 + + + NS.objects + + + CF$UID + 225 + + + + + $class + + CF$UID + 41 + + NS.objects + + + CF$UID + 226 + + + CF$UID + 228 + + + + + $class + + CF$UID + 38 + + NS.keys + + + CF$UID + 34 + + + CF$UID + 35 + + + NS.objects + + + CF$UID + 219 + + + CF$UID + 227 + + + + 298 + + $class + + CF$UID + 38 + + NS.keys + + + CF$UID + 34 + + + CF$UID + 35 + + + NS.objects + + + CF$UID + 222 + + + CF$UID + 229 + + + + 841 + + $class + + CF$UID + 42 + + NS.keys + + + CF$UID + 31 + + + NS.objects + + + CF$UID + 231 + + + + + $class + + CF$UID + 41 + + NS.objects + + + CF$UID + 232 + + + CF$UID + 235 + + + + + $class + + CF$UID + 38 + + NS.keys + + + CF$UID + 34 + + + CF$UID + 35 + + + NS.objects + + + CF$UID + 233 + + + CF$UID + 234 + + + + IDEEditor + 203 + + $class + + CF$UID + 38 + + NS.keys + + + CF$UID + 34 + + + CF$UID + 35 + + + NS.objects + + + CF$UID + 236 + + + CF$UID + 237 + + + + IDEDebuggerArea + 115 + + $class + + CF$UID + 42 + + NS.keys + + NS.objects + + + + $class + + CF$UID + 54 + + NS.objects + + + CF$UID + 90 + + + + {{163, 8}, {1400, 952}} + + $top + + State + + CF$UID + 1 + + + $version + 100000 + + diff --git a/Push To.xcodeproj/project.xcworkspace/xcuserdata/nop.xcuserdatad/UserInterfaceState.xcuserstate b/Push To.xcodeproj/project.xcworkspace/xcuserdata/nop.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100755 index 0000000..d9e0252 Binary files /dev/null and b/Push To.xcodeproj/project.xcworkspace/xcuserdata/nop.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Push To.xcodeproj/project.xcworkspace/xcuserdata/nop.xcuserdatad/WorkspaceSettings.xcsettings b/Push To.xcodeproj/project.xcworkspace/xcuserdata/nop.xcuserdatad/WorkspaceSettings.xcsettings new file mode 100755 index 0000000..6ff33e6 --- /dev/null +++ b/Push To.xcodeproj/project.xcworkspace/xcuserdata/nop.xcuserdatad/WorkspaceSettings.xcsettings @@ -0,0 +1,10 @@ + + + + + IDEWorkspaceUserSettings_HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges + + IDEWorkspaceUserSettings_SnapshotAutomaticallyBeforeSignificantChanges + + + diff --git a/Push To.xcodeproj/project.xcworkspace/xcuserdata/norbertschmidt.xcuserdatad/UserInterfaceState.xcuserstate b/Push To.xcodeproj/project.xcworkspace/xcuserdata/norbertschmidt.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..bd94e3a Binary files /dev/null and b/Push To.xcodeproj/project.xcworkspace/xcuserdata/norbertschmidt.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Push To.xcodeproj/sean.mode1v3 b/Push To.xcodeproj/sean.mode1v3 new file mode 100755 index 0000000..d2bf476 --- /dev/null +++ b/Push To.xcodeproj/sean.mode1v3 @@ -0,0 +1,1431 @@ + + + + + ActivePerspectiveName + Project + AllowedModules + + + BundleLoadPath + + MaxInstances + n + Module + PBXSmartGroupTreeModule + Name + Groups and Files Outline View + + + BundleLoadPath + + MaxInstances + n + Module + PBXNavigatorGroup + Name + Editor + + + BundleLoadPath + + MaxInstances + n + Module + XCTaskListModule + Name + Task List + + + BundleLoadPath + + MaxInstances + n + Module + XCDetailModule + Name + File and Smart Group Detail Viewer + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXBuildResultsModule + Name + Detailed Build Results Viewer + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXProjectFindModule + Name + Project Batch Find Tool + + + BundleLoadPath + + MaxInstances + n + Module + XCProjectFormatConflictsModule + Name + Project Format Conflicts List + + + BundleLoadPath + + MaxInstances + n + Module + PBXBookmarksModule + Name + Bookmarks Tool + + + BundleLoadPath + + MaxInstances + n + Module + PBXClassBrowserModule + Name + Class Browser + + + BundleLoadPath + + MaxInstances + n + Module + PBXCVSModule + Name + Source Code Control Tool + + + BundleLoadPath + + MaxInstances + n + Module + PBXDebugBreakpointsModule + Name + Debug Breakpoints Tool + + + BundleLoadPath + + MaxInstances + n + Module + XCDockableInspector + Name + Inspector + + + BundleLoadPath + + MaxInstances + n + Module + PBXOpenQuicklyModule + Name + Open Quickly Tool + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXDebugSessionModule + Name + Debugger + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXDebugCLIModule + Name + Debug Console + + + BundleLoadPath + + MaxInstances + n + Module + XCSnapshotModule + Name + Snapshots Tool + + + BundlePath + /Developer/Library/PrivateFrameworks/DevToolsInterface.framework/Resources + Description + DefaultDescriptionKey + DockingSystemVisible + + Extension + mode1v3 + FavBarConfig + + PBXProjectModuleGUID + 14D0289B0FE53B2300B33B5E + XCBarModuleItemNames + + XCBarModuleItems + + + FirstTimeWindowDisplayed + + Identifier + com.apple.perspectives.project.mode1v3 + MajorVersion + 33 + MinorVersion + 0 + Name + Default + Notifications + + OpenEditors + + PerspectiveWidths + + -1 + -1 + + Perspectives + + + ChosenToolbarItems + + active-target-popup + active-buildstyle-popup + action + NSToolbarFlexibleSpaceItem + servicesModuleproject + clean + buildOrClean + build-and-goOrGo + com.apple.ide.PBXToolbarStopButton + toggle-editor + servicesModuleclasses + debugger-fix-and-continue + servicesModuledebug + com.apple.ide.XCBreakpointsToolbarItem + servicesModuleCVS + servicesModuleRefactoring + researchAssistant + NSToolbarFlexibleSpaceItem + servicesModulehelp + com.apple.pbx.toolbar.searchfield + + ControllerClassBaseName + + IconName + WindowOfProjectWithEditor + Identifier + perspective.project + IsVertical + + Layout + + + ContentConfiguration + + PBXBottomSmartGroupGIDs + + 1C37FBAC04509CD000000102 + 1C37FAAC04509CD000000102 + 1C08E77C0454961000C914BD + 1C37FABC05509CD000000102 + 1C37FABC05539CD112110102 + E2644B35053B69B200211256 + 1C37FABC04509CD000100104 + 1CC0EA4004350EF90044410B + 1CC0EA4004350EF90041110B + + PBXProjectModuleGUID + 1CE0B1FE06471DED0097A5F4 + PBXProjectModuleLabel + Files + PBXProjectStructureProvided + yes + PBXSmartGroupTreeModuleColumnData + + PBXSmartGroupTreeModuleColumnWidthsKey + + 287 + + PBXSmartGroupTreeModuleColumnsKey_v4 + + MainColumn + + + PBXSmartGroupTreeModuleOutlineStateKey_v7 + + PBXSmartGroupTreeModuleOutlineStateExpansionKey + + 29B97314FDCFA39411CA2CEA + 080E96DDFE201D6D7F000001 + 29B97315FDCFA39411CA2CEA + 29B97317FDCFA39411CA2CEA + 29B97323FDCFA39411CA2CEA + 19C28FACFE9D520D11CA2CBB + 1C37FABC05509CD000000102 + + PBXSmartGroupTreeModuleOutlineStateSelectionKey + + + 4 + 1 + 0 + + + PBXSmartGroupTreeModuleOutlineStateVisibleRectKey + {{0, 0}, {287, 1010}} + + PBXTopSmartGroupGIDs + + XCIncludePerspectivesSwitch + + XCSharingToken + com.apple.Xcode.GFSharingToken + + GeometryConfiguration + + Frame + {{0, 0}, {304, 1028}} + GroupTreeTableConfiguration + + MainColumn + 287 + + RubberWindowFrame + 1011 489 1220 1069 0 0 2560 1578 + + Module + PBXSmartGroupTreeModule + Proportion + 304pt + + + Dock + + + BecomeActive + + ContentConfiguration + + PBXProjectModuleGUID + 1CE0B20306471E060097A5F4 + PBXProjectModuleLabel + OrientationViewController.h + PBXSplitModuleInNavigatorKey + + Split0 + + PBXProjectModuleGUID + 1CE0B20406471E060097A5F4 + PBXProjectModuleLabel + OrientationViewController.h + _historyCapacity + 0 + bookmark + 14D028AD0FE5701100B33B5E + history + + 14D028860FE53B2300B33B5E + 14D028870FE53B2300B33B5E + 14D028880FE53B2300B33B5E + 14D028890FE53B2300B33B5E + 14D028A50FE56FC000B33B5E + 14D028A60FE56FC000B33B5E + + prevStack + + 14D0288C0FE53B2300B33B5E + 14D0288D0FE53B2300B33B5E + 14D0288E0FE53B2300B33B5E + 14D0288F0FE53B2300B33B5E + 14D028900FE53B2300B33B5E + 14D028910FE53B2300B33B5E + 14D028920FE53B2300B33B5E + 14D028930FE53B2300B33B5E + 14D028940FE53B2300B33B5E + 14D028950FE53B2300B33B5E + 14D028960FE53B2300B33B5E + 14D028970FE53B2300B33B5E + 14D028A70FE56FC000B33B5E + 14D028A80FE56FC000B33B5E + 14D028A90FE56FC000B33B5E + + + SplitCount + 1 + + StatusBarVisibility + + + GeometryConfiguration + + Frame + {{0, 0}, {911, 850}} + RubberWindowFrame + 1011 489 1220 1069 0 0 2560 1578 + + Module + PBXNavigatorGroup + Proportion + 850pt + + + ContentConfiguration + + PBXProjectModuleGUID + 1CE0B20506471E060097A5F4 + PBXProjectModuleLabel + Detail + + GeometryConfiguration + + Frame + {{0, 855}, {911, 173}} + RubberWindowFrame + 1011 489 1220 1069 0 0 2560 1578 + + Module + XCDetailModule + Proportion + 173pt + + + Proportion + 911pt + + + Name + Project + ServiceClasses + + XCModuleDock + PBXSmartGroupTreeModule + XCModuleDock + PBXNavigatorGroup + XCDetailModule + + TableOfContents + + 14D028990FE53B2300B33B5E + 1CE0B1FE06471DED0097A5F4 + 14D0289A0FE53B2300B33B5E + 1CE0B20306471E060097A5F4 + 1CE0B20506471E060097A5F4 + + ToolbarConfiguration + xcode.toolbar.config.defaultV3 + + + ControllerClassBaseName + + IconName + WindowOfProject + Identifier + perspective.morph + IsVertical + 0 + Layout + + + BecomeActive + 1 + ContentConfiguration + + PBXBottomSmartGroupGIDs + + 1C37FBAC04509CD000000102 + 1C37FAAC04509CD000000102 + 1C08E77C0454961000C914BD + 1C37FABC05509CD000000102 + 1C37FABC05539CD112110102 + E2644B35053B69B200211256 + 1C37FABC04509CD000100104 + 1CC0EA4004350EF90044410B + 1CC0EA4004350EF90041110B + + PBXProjectModuleGUID + 11E0B1FE06471DED0097A5F4 + PBXProjectModuleLabel + Files + PBXProjectStructureProvided + yes + PBXSmartGroupTreeModuleColumnData + + PBXSmartGroupTreeModuleColumnWidthsKey + + 186 + + PBXSmartGroupTreeModuleColumnsKey_v4 + + MainColumn + + + PBXSmartGroupTreeModuleOutlineStateKey_v7 + + PBXSmartGroupTreeModuleOutlineStateExpansionKey + + 29B97314FDCFA39411CA2CEA + 1C37FABC05509CD000000102 + + PBXSmartGroupTreeModuleOutlineStateSelectionKey + + + 0 + + + PBXSmartGroupTreeModuleOutlineStateVisibleRectKey + {{0, 0}, {186, 337}} + + PBXTopSmartGroupGIDs + + XCIncludePerspectivesSwitch + 1 + XCSharingToken + com.apple.Xcode.GFSharingToken + + GeometryConfiguration + + Frame + {{0, 0}, {203, 355}} + GroupTreeTableConfiguration + + MainColumn + 186 + + RubberWindowFrame + 373 269 690 397 0 0 1440 878 + + Module + PBXSmartGroupTreeModule + Proportion + 100% + + + Name + Morph + PreferredWidth + 300 + ServiceClasses + + XCModuleDock + PBXSmartGroupTreeModule + + TableOfContents + + 11E0B1FE06471DED0097A5F4 + + ToolbarConfiguration + xcode.toolbar.config.default.shortV3 + + + PerspectivesBarVisible + + ShelfIsVisible + + SourceDescription + file at '/Developer/Library/PrivateFrameworks/DevToolsInterface.framework/Resources/XCPerspectivesSpecificationMode1.xcperspec' + StatusbarIsVisible + + TimeStamp + 0.0 + ToolbarDisplayMode + 1 + ToolbarIsVisible + + ToolbarSizeMode + 1 + Type + Perspectives + UpdateMessage + The Default Workspace in this version of Xcode now includes support to hide and show the detail view (what has been referred to as the "Metro-Morph" feature). You must discard your current Default Workspace settings and update to the latest Default Workspace in order to gain this feature. Do you wish to update to the latest Workspace defaults for project '%@'? + WindowJustification + 5 + WindowOrderList + + 14D0289C0FE53B2300B33B5E + 14D0289D0FE53B2300B33B5E + 1CD10A99069EF8BA00B06720 + 14D028720FE5377000B33B5E + 1C78EAAD065D492600B07095 + /Users/sean/Source/iphone-book/0849 - Chapter 17/projects/Orientation/Orientation.xcodeproj + + WindowString + 1011 489 1220 1069 0 0 2560 1578 + WindowToolsV3 + + + FirstTimeWindowDisplayed + + Identifier + windowTool.build + IsVertical + + Layout + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1CD0528F0623707200166675 + PBXProjectModuleLabel + + StatusBarVisibility + + + GeometryConfiguration + + Frame + {{0, 0}, {500, 218}} + RubberWindowFrame + 1086 803 500 500 0 0 2560 1578 + + Module + PBXNavigatorGroup + Proportion + 218pt + + + ContentConfiguration + + PBXProjectModuleGUID + XCMainBuildResultsModuleGUID + PBXProjectModuleLabel + Build + XCBuildResultsTrigger_Collapse + 1021 + XCBuildResultsTrigger_Open + 1011 + + GeometryConfiguration + + Frame + {{0, 223}, {500, 236}} + RubberWindowFrame + 1086 803 500 500 0 0 2560 1578 + + Module + PBXBuildResultsModule + Proportion + 236pt + + + Proportion + 459pt + + + Name + Build Results + ServiceClasses + + PBXBuildResultsModule + + StatusbarIsVisible + + TableOfContents + + 14D028720FE5377000B33B5E + 14D028730FE5377000B33B5E + 1CD0528F0623707200166675 + XCMainBuildResultsModuleGUID + + ToolbarConfiguration + xcode.toolbar.config.buildV3 + WindowString + 1086 803 500 500 0 0 2560 1578 + WindowToolGUID + 14D028720FE5377000B33B5E + WindowToolIsVisible + + + + FirstTimeWindowDisplayed + + Identifier + windowTool.debugger + IsVertical + + Layout + + + Dock + + + ContentConfiguration + + Debugger + + HorizontalSplitView + + _collapsingFrameDimension + 0.0 + _indexOfCollapsedView + 0 + _percentageOfCollapsedView + 0.0 + isCollapsed + yes + sizes + + {{0, 0}, {316, 185}} + {{316, 0}, {378, 185}} + + + VerticalSplitView + + _collapsingFrameDimension + 0.0 + _indexOfCollapsedView + 0 + _percentageOfCollapsedView + 0.0 + isCollapsed + yes + sizes + + {{0, 0}, {694, 185}} + {{0, 185}, {694, 196}} + + + + LauncherConfigVersion + 8 + PBXProjectModuleGUID + 1C162984064C10D400B95A72 + PBXProjectModuleLabel + Debug - GLUTExamples (Underwater) + + GeometryConfiguration + + DebugConsoleVisible + None + DebugConsoleWindowFrame + {{200, 200}, {500, 300}} + DebugSTDIOWindowFrame + {{200, 200}, {500, 300}} + Frame + {{0, 0}, {694, 381}} + PBXDebugSessionStackFrameViewKey + + DebugVariablesTableConfiguration + + Name + 120 + Value + 85 + Summary + 148 + + Frame + {{316, 0}, {378, 185}} + RubberWindowFrame + 1086 881 694 422 0 0 2560 1578 + + RubberWindowFrame + 1086 881 694 422 0 0 2560 1578 + + Module + PBXDebugSessionModule + Proportion + 381pt + + + Proportion + 381pt + + + Name + Debugger + ServiceClasses + + PBXDebugSessionModule + + StatusbarIsVisible + + TableOfContents + + 1CD10A99069EF8BA00B06720 + 14D028740FE5377000B33B5E + 1C162984064C10D400B95A72 + 14D028750FE5377000B33B5E + 14D028760FE5377000B33B5E + 14D028770FE5377000B33B5E + 14D028780FE5377000B33B5E + 14D028790FE5377000B33B5E + + ToolbarConfiguration + xcode.toolbar.config.debugV3 + WindowString + 1086 881 694 422 0 0 2560 1578 + WindowToolGUID + 1CD10A99069EF8BA00B06720 + WindowToolIsVisible + + + + Identifier + windowTool.find + Layout + + + Dock + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1CDD528C0622207200134675 + PBXProjectModuleLabel + <No Editor> + PBXSplitModuleInNavigatorKey + + Split0 + + PBXProjectModuleGUID + 1CD0528D0623707200166675 + + SplitCount + 1 + + StatusBarVisibility + 1 + + GeometryConfiguration + + Frame + {{0, 0}, {781, 167}} + RubberWindowFrame + 62 385 781 470 0 0 1440 878 + + Module + PBXNavigatorGroup + Proportion + 781pt + + + Proportion + 50% + + + BecomeActive + 1 + ContentConfiguration + + PBXProjectModuleGUID + 1CD0528E0623707200166675 + PBXProjectModuleLabel + Project Find + + GeometryConfiguration + + Frame + {{8, 0}, {773, 254}} + RubberWindowFrame + 62 385 781 470 0 0 1440 878 + + Module + PBXProjectFindModule + Proportion + 50% + + + Proportion + 428pt + + + Name + Project Find + ServiceClasses + + PBXProjectFindModule + + StatusbarIsVisible + 1 + TableOfContents + + 1C530D57069F1CE1000CFCEE + 1C530D58069F1CE1000CFCEE + 1C530D59069F1CE1000CFCEE + 1CDD528C0622207200134675 + 1C530D5A069F1CE1000CFCEE + 1CE0B1FE06471DED0097A5F4 + 1CD0528E0623707200166675 + + WindowString + 62 385 781 470 0 0 1440 878 + WindowToolGUID + 1C530D57069F1CE1000CFCEE + WindowToolIsVisible + 0 + + + Identifier + MENUSEPARATOR + + + FirstTimeWindowDisplayed + + Identifier + windowTool.debuggerConsole + IsVertical + + Layout + + + Dock + + + BecomeActive + + ContentConfiguration + + PBXProjectModuleGUID + 1C78EAAC065D492600B07095 + PBXProjectModuleLabel + Debugger Console + + GeometryConfiguration + + Frame + {{0, 0}, {650, 209}} + RubberWindowFrame + 872 1106 650 250 0 0 2560 1578 + + Module + PBXDebugCLIModule + Proportion + 209pt + + + Proportion + 209pt + + + Name + Debugger Console + ServiceClasses + + PBXDebugCLIModule + + StatusbarIsVisible + + TableOfContents + + 1C78EAAD065D492600B07095 + 14D0287A0FE5377000B33B5E + 1C78EAAC065D492600B07095 + + ToolbarConfiguration + xcode.toolbar.config.consoleV3 + WindowString + 872 1106 650 250 0 0 2560 1578 + WindowToolGUID + 1C78EAAD065D492600B07095 + WindowToolIsVisible + + + + Identifier + windowTool.snapshots + Layout + + + Dock + + + Module + XCSnapshotModule + Proportion + 100% + + + Proportion + 100% + + + Name + Snapshots + ServiceClasses + + XCSnapshotModule + + StatusbarIsVisible + Yes + ToolbarConfiguration + xcode.toolbar.config.snapshots + WindowString + 315 824 300 550 0 0 1440 878 + WindowToolIsVisible + Yes + + + Identifier + windowTool.scm + Layout + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1C78EAB2065D492600B07095 + PBXProjectModuleLabel + <No Editor> + PBXSplitModuleInNavigatorKey + + Split0 + + PBXProjectModuleGUID + 1C78EAB3065D492600B07095 + + SplitCount + 1 + + StatusBarVisibility + 1 + + GeometryConfiguration + + Frame + {{0, 0}, {452, 0}} + RubberWindowFrame + 743 379 452 308 0 0 1280 1002 + + Module + PBXNavigatorGroup + Proportion + 0pt + + + BecomeActive + 1 + ContentConfiguration + + PBXProjectModuleGUID + 1CD052920623707200166675 + PBXProjectModuleLabel + SCM + + GeometryConfiguration + + ConsoleFrame + {{0, 259}, {452, 0}} + Frame + {{0, 7}, {452, 259}} + RubberWindowFrame + 743 379 452 308 0 0 1280 1002 + TableConfiguration + + Status + 30 + FileName + 199 + Path + 197.0950012207031 + + TableFrame + {{0, 0}, {452, 250}} + + Module + PBXCVSModule + Proportion + 262pt + + + Proportion + 266pt + + + Name + SCM + ServiceClasses + + PBXCVSModule + + StatusbarIsVisible + 1 + TableOfContents + + 1C78EAB4065D492600B07095 + 1C78EAB5065D492600B07095 + 1C78EAB2065D492600B07095 + 1CD052920623707200166675 + + ToolbarConfiguration + xcode.toolbar.config.scm + WindowString + 743 379 452 308 0 0 1280 1002 + + + Identifier + windowTool.breakpoints + IsVertical + 0 + Layout + + + Dock + + + BecomeActive + 1 + ContentConfiguration + + PBXBottomSmartGroupGIDs + + 1C77FABC04509CD000000102 + + PBXProjectModuleGUID + 1CE0B1FE06471DED0097A5F4 + PBXProjectModuleLabel + Files + PBXProjectStructureProvided + no + PBXSmartGroupTreeModuleColumnData + + PBXSmartGroupTreeModuleColumnWidthsKey + + 168 + + PBXSmartGroupTreeModuleColumnsKey_v4 + + MainColumn + + + PBXSmartGroupTreeModuleOutlineStateKey_v7 + + PBXSmartGroupTreeModuleOutlineStateExpansionKey + + 1C77FABC04509CD000000102 + + PBXSmartGroupTreeModuleOutlineStateSelectionKey + + + 0 + + + PBXSmartGroupTreeModuleOutlineStateVisibleRectKey + {{0, 0}, {168, 350}} + + PBXTopSmartGroupGIDs + + XCIncludePerspectivesSwitch + 0 + + GeometryConfiguration + + Frame + {{0, 0}, {185, 368}} + GroupTreeTableConfiguration + + MainColumn + 168 + + RubberWindowFrame + 315 424 744 409 0 0 1440 878 + + Module + PBXSmartGroupTreeModule + Proportion + 185pt + + + ContentConfiguration + + PBXProjectModuleGUID + 1CA1AED706398EBD00589147 + PBXProjectModuleLabel + Detail + + GeometryConfiguration + + Frame + {{190, 0}, {554, 368}} + RubberWindowFrame + 315 424 744 409 0 0 1440 878 + + Module + XCDetailModule + Proportion + 554pt + + + Proportion + 368pt + + + MajorVersion + 3 + MinorVersion + 0 + Name + Breakpoints + ServiceClasses + + PBXSmartGroupTreeModule + XCDetailModule + + StatusbarIsVisible + 1 + TableOfContents + + 1CDDB66807F98D9800BB5817 + 1CDDB66907F98D9800BB5817 + 1CE0B1FE06471DED0097A5F4 + 1CA1AED706398EBD00589147 + + ToolbarConfiguration + xcode.toolbar.config.breakpointsV3 + WindowString + 315 424 744 409 0 0 1440 878 + WindowToolGUID + 1CDDB66807F98D9800BB5817 + WindowToolIsVisible + 1 + + + Identifier + windowTool.debugAnimator + Layout + + + Dock + + + Module + PBXNavigatorGroup + Proportion + 100% + + + Proportion + 100% + + + Name + Debug Visualizer + ServiceClasses + + PBXNavigatorGroup + + StatusbarIsVisible + 1 + ToolbarConfiguration + xcode.toolbar.config.debugAnimatorV3 + WindowString + 100 100 700 500 0 0 1280 1002 + + + Identifier + windowTool.bookmarks + Layout + + + Dock + + + Module + PBXBookmarksModule + Proportion + 100% + + + Proportion + 100% + + + Name + Bookmarks + ServiceClasses + + PBXBookmarksModule + + StatusbarIsVisible + 0 + WindowString + 538 42 401 187 0 0 1280 1002 + + + Identifier + windowTool.projectFormatConflicts + Layout + + + Dock + + + Module + XCProjectFormatConflictsModule + Proportion + 100% + + + Proportion + 100% + + + Name + Project Format Conflicts + ServiceClasses + + XCProjectFormatConflictsModule + + StatusbarIsVisible + 0 + WindowContentMinSize + 450 300 + WindowString + 50 850 472 307 0 0 1440 877 + + + Identifier + windowTool.classBrowser + Layout + + + Dock + + + BecomeActive + 1 + ContentConfiguration + + OptionsSetName + Hierarchy, all classes + PBXProjectModuleGUID + 1CA6456E063B45B4001379D8 + PBXProjectModuleLabel + Class Browser - NSObject + + GeometryConfiguration + + ClassesFrame + {{0, 0}, {374, 96}} + ClassesTreeTableConfiguration + + PBXClassNameColumnIdentifier + 208 + PBXClassBookColumnIdentifier + 22 + + Frame + {{0, 0}, {630, 331}} + MembersFrame + {{0, 105}, {374, 395}} + MembersTreeTableConfiguration + + PBXMemberTypeIconColumnIdentifier + 22 + PBXMemberNameColumnIdentifier + 216 + PBXMemberTypeColumnIdentifier + 97 + PBXMemberBookColumnIdentifier + 22 + + PBXModuleWindowStatusBarHidden2 + 1 + RubberWindowFrame + 385 179 630 352 0 0 1440 878 + + Module + PBXClassBrowserModule + Proportion + 332pt + + + Proportion + 332pt + + + Name + Class Browser + ServiceClasses + + PBXClassBrowserModule + + StatusbarIsVisible + 0 + TableOfContents + + 1C0AD2AF069F1E9B00FABCE6 + 1C0AD2B0069F1E9B00FABCE6 + 1CA6456E063B45B4001379D8 + + ToolbarConfiguration + xcode.toolbar.config.classbrowser + WindowString + 385 179 630 352 0 0 1440 878 + WindowToolGUID + 1C0AD2AF069F1E9B00FABCE6 + WindowToolIsVisible + 0 + + + Identifier + windowTool.refactoring + IncludeInToolsMenu + 0 + Layout + + + Dock + + + BecomeActive + 1 + GeometryConfiguration + + Frame + {0, 0}, {500, 335} + RubberWindowFrame + {0, 0}, {500, 335} + + Module + XCRefactoringModule + Proportion + 100% + + + Proportion + 100% + + + Name + Refactoring + ServiceClasses + + XCRefactoringModule + + WindowString + 200 200 500 356 0 0 1920 1200 + + + + diff --git a/Push To.xcodeproj/sean.pbxuser b/Push To.xcodeproj/sean.pbxuser new file mode 100755 index 0000000..c201173 --- /dev/null +++ b/Push To.xcodeproj/sean.pbxuser @@ -0,0 +1,371 @@ +// !$*UTF8*$! +{ + 14D028560FE5206A00B33B5E /* Orientation */ = { + isa = PBXExecutable; + activeArgIndices = ( + ); + argumentStrings = ( + ); + autoAttachOnCrash = 1; + breakpointsEnabled = 0; + configStateDict = { + }; + customDataFormattersEnabled = 1; + debuggerPlugin = GDBDebugging; + disassemblyDisplayState = 0; + dylibVariantSuffix = ""; + enableDebugStr = 1; + environmentEntries = ( + ); + executableSystemSymbolLevel = 0; + executableUserSymbolLevel = 0; + libgmallocEnabled = 0; + name = Orientation; + savedGlobals = { + }; + sourceDirectories = ( + ); + }; + 14D0285F0FE5208E00B33B5E /* Source Control */ = { + isa = PBXSourceControlManager; + fallbackIsa = XCSourceControlManager; + isSCMEnabled = 0; + scmConfiguration = { + }; + }; + 14D028600FE5208E00B33B5E /* Code sense */ = { + isa = PBXCodeSenseManager; + indexTemplatePath = ""; + }; + 14D028860FE53B2300B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 1D3623240D0F684500981E51 /* OrientationAppDelegate.h */; + name = "OrientationAppDelegate.h: 5"; + rLen = 0; + rLoc = 85; + rType = 0; + vrLen = 503; + vrLoc = 0; + }; + 14D028870FE53B2300B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 1D3623250D0F684500981E51 /* OrientationAppDelegate.m */; + name = "OrientationAppDelegate.m: 5"; + rLen = 0; + rLoc = 85; + rType = 0; + vrLen = 638; + vrLoc = 0; + }; + 14D028880FE53B2300B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 32CA4F630368D1EE00C91783 /* Orientation_Prefix.pch */; + name = "Orientation_Prefix.pch: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 191; + vrLoc = 0; + }; + 14D028890FE53B2300B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 29B97316FDCFA39411CA2CEA /* main.m */; + name = "main.m: 5"; + rLen = 0; + rLoc = 67; + rType = 0; + vrLen = 365; + vrLoc = 0; + }; + 14D0288C0FE53B2300B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 28D7ACF70DDB3853001CB0EB /* OrientationViewController.m */; + name = "OrientationViewController.m: 13"; + rLen = 0; + rLoc = 874; + rType = 0; + vrLen = 1449; + vrLoc = 0; + }; + 14D0288D0FE53B2300B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 28D7ACF60DDB3853001CB0EB /* OrientationViewController.h */; + name = "OrientationViewController.h: 17"; + rLen = 0; + rLoc = 357; + rType = 0; + vrLen = 338; + vrLoc = 0; + }; + 14D0288E0FE53B2300B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 28D7ACF70DDB3853001CB0EB /* OrientationViewController.m */; + name = "OrientationViewController.m: 9"; + rLen = 0; + rLoc = 194; + rType = 0; + vrLen = 1449; + vrLoc = 0; + }; + 14D0288F0FE53B2300B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 1D3623240D0F684500981E51 /* OrientationAppDelegate.h */; + name = "OrientationAppDelegate.h: 5"; + rLen = 0; + rLoc = 85; + rType = 0; + vrLen = 503; + vrLoc = 0; + }; + 14D028900FE53B2300B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 1D3623250D0F684500981E51 /* OrientationAppDelegate.m */; + name = "OrientationAppDelegate.m: 5"; + rLen = 0; + rLoc = 85; + rType = 0; + vrLen = 638; + vrLoc = 0; + }; + 14D028910FE53B2300B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 28D7ACF60DDB3853001CB0EB /* OrientationViewController.h */; + name = "OrientationViewController.h: 5"; + rLen = 0; + rLoc = 88; + rType = 0; + vrLen = 337; + vrLoc = 0; + }; + 14D028920FE53B2300B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 28D7ACF70DDB3853001CB0EB /* OrientationViewController.m */; + name = "OrientationViewController.m: 5"; + rLen = 0; + rLoc = 88; + rType = 0; + vrLen = 1448; + vrLoc = 0; + }; + 14D028930FE53B2300B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 32CA4F630368D1EE00C91783 /* Orientation_Prefix.pch */; + name = "Orientation_Prefix.pch: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 191; + vrLoc = 0; + }; + 14D028940FE53B2300B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 29B97316FDCFA39411CA2CEA /* main.m */; + name = "main.m: 5"; + rLen = 0; + rLoc = 67; + rType = 0; + vrLen = 365; + vrLoc = 0; + }; + 14D028950FE53B2300B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 28D7ACF60DDB3853001CB0EB /* OrientationViewController.h */; + name = "OrientationViewController.h: 12"; + rLen = 0; + rLoc = 266; + rType = 0; + vrLen = 365; + vrLoc = 0; + }; + 14D028960FE53B2300B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 28D7ACF70DDB3853001CB0EB /* OrientationViewController.m */; + name = "OrientationViewController.m: 13"; + rLen = 0; + rLoc = 873; + rType = 0; + vrLen = 1431; + vrLoc = 0; + }; + 14D028970FE53B2300B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 28D7ACF60DDB3853001CB0EB /* OrientationViewController.h */; + name = "OrientationViewController.h: 12"; + rLen = 23; + rLoc = 241; + rType = 0; + vrLen = 365; + vrLoc = 0; + }; + 14D028A50FE56FC000B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 28D7ACF70DDB3853001CB0EB /* OrientationViewController.m */; + name = "OrientationViewController.m: 26"; + rLen = 11; + rLoc = 620; + rType = 0; + vrLen = 1539; + vrLoc = 0; + }; + 14D028A60FE56FC000B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 28D7ACF60DDB3853001CB0EB /* OrientationViewController.h */; + name = "OrientationViewController.h: 20"; + rLen = 0; + rLoc = 363; + rType = 0; + vrLen = 363; + vrLoc = 0; + }; + 14D028A70FE56FC000B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 28D7ACF70DDB3853001CB0EB /* OrientationViewController.m */; + name = "OrientationViewController.m: 26"; + rLen = 11; + rLoc = 620; + rType = 0; + vrLen = 1434; + vrLoc = 0; + }; + 14D028A80FE56FC000B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 28D7ACF60DDB3853001CB0EB /* OrientationViewController.h */; + name = "OrientationViewController.h: 20"; + rLen = 0; + rLoc = 363; + rType = 0; + vrLen = 363; + vrLoc = 0; + }; + 14D028A90FE56FC000B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 28D7ACF70DDB3853001CB0EB /* OrientationViewController.m */; + name = "OrientationViewController.m: 26"; + rLen = 11; + rLoc = 620; + rType = 0; + vrLen = 1539; + vrLoc = 0; + }; + 14D028AD0FE5701100B33B5E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 28D7ACF60DDB3853001CB0EB /* OrientationViewController.h */; + name = "OrientationViewController.h: 16"; + rLen = 0; + rLoc = 304; + rType = 0; + vrLen = 363; + vrLoc = 0; + }; + 1D3623240D0F684500981E51 /* OrientationAppDelegate.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {850, 818}}"; + sepNavSelRange = "{85, 0}"; + sepNavVisRange = "{0, 503}"; + }; + }; + 1D3623250D0F684500981E51 /* OrientationAppDelegate.m */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {850, 818}}"; + sepNavSelRange = "{85, 0}"; + sepNavVisRange = "{0, 638}"; + }; + }; + 1D6058900D05DD3D006BFB54 /* Orientation */ = { + activeExec = 0; + executables = ( + 14D028560FE5206A00B33B5E /* Orientation */, + ); + }; + 28D7ACF60DDB3853001CB0EB /* OrientationViewController.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {850, 818}}"; + sepNavSelRange = "{304, 0}"; + sepNavVisRange = "{0, 363}"; + }; + }; + 28D7ACF70DDB3853001CB0EB /* OrientationViewController.m */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {850, 1246}}"; + sepNavSelRange = "{620, 11}"; + sepNavVisRange = "{0, 1539}"; + }; + }; + 29B97313FDCFA39411CA2CEA /* Project object */ = { + activeBuildConfigurationName = Debug; + activeExecutable = 14D028560FE5206A00B33B5E /* Orientation */; + activeSDKPreference = iphonesimulator3.0; + activeTarget = 1D6058900D05DD3D006BFB54 /* Orientation */; + codeSenseManager = 14D028600FE5208E00B33B5E /* Code sense */; + executables = ( + 14D028560FE5206A00B33B5E /* Orientation */, + ); + perUserDictionary = { + PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; + PBXFileTableDataSourceColumnWidthsKey = ( + 20, + 672, + 20, + 48.16259765625, + 43, + 43, + 20, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXFileDataSource_FiletypeID, + PBXFileDataSource_Filename_ColumnID, + PBXFileDataSource_Built_ColumnID, + PBXFileDataSource_ObjectSize_ColumnID, + PBXFileDataSource_Errors_ColumnID, + PBXFileDataSource_Warnings_ColumnID, + PBXFileDataSource_Target_ColumnID, + ); + }; + PBXPerProjectTemplateStateSaveDate = 266674282; + PBXWorkspaceStateSaveDate = 266674282; + }; + perUserProjectItems = { + 14D028860FE53B2300B33B5E /* PBXTextBookmark */ = 14D028860FE53B2300B33B5E /* PBXTextBookmark */; + 14D028870FE53B2300B33B5E /* PBXTextBookmark */ = 14D028870FE53B2300B33B5E /* PBXTextBookmark */; + 14D028880FE53B2300B33B5E /* PBXTextBookmark */ = 14D028880FE53B2300B33B5E /* PBXTextBookmark */; + 14D028890FE53B2300B33B5E /* PBXTextBookmark */ = 14D028890FE53B2300B33B5E /* PBXTextBookmark */; + 14D0288C0FE53B2300B33B5E /* PBXTextBookmark */ = 14D0288C0FE53B2300B33B5E /* PBXTextBookmark */; + 14D0288D0FE53B2300B33B5E /* PBXTextBookmark */ = 14D0288D0FE53B2300B33B5E /* PBXTextBookmark */; + 14D0288E0FE53B2300B33B5E /* PBXTextBookmark */ = 14D0288E0FE53B2300B33B5E /* PBXTextBookmark */; + 14D0288F0FE53B2300B33B5E /* PBXTextBookmark */ = 14D0288F0FE53B2300B33B5E /* PBXTextBookmark */; + 14D028900FE53B2300B33B5E /* PBXTextBookmark */ = 14D028900FE53B2300B33B5E /* PBXTextBookmark */; + 14D028910FE53B2300B33B5E /* PBXTextBookmark */ = 14D028910FE53B2300B33B5E /* PBXTextBookmark */; + 14D028920FE53B2300B33B5E /* PBXTextBookmark */ = 14D028920FE53B2300B33B5E /* PBXTextBookmark */; + 14D028930FE53B2300B33B5E /* PBXTextBookmark */ = 14D028930FE53B2300B33B5E /* PBXTextBookmark */; + 14D028940FE53B2300B33B5E /* PBXTextBookmark */ = 14D028940FE53B2300B33B5E /* PBXTextBookmark */; + 14D028950FE53B2300B33B5E /* PBXTextBookmark */ = 14D028950FE53B2300B33B5E /* PBXTextBookmark */; + 14D028960FE53B2300B33B5E /* PBXTextBookmark */ = 14D028960FE53B2300B33B5E /* PBXTextBookmark */; + 14D028970FE53B2300B33B5E /* PBXTextBookmark */ = 14D028970FE53B2300B33B5E /* PBXTextBookmark */; + 14D028A50FE56FC000B33B5E /* PBXTextBookmark */ = 14D028A50FE56FC000B33B5E /* PBXTextBookmark */; + 14D028A60FE56FC000B33B5E /* PBXTextBookmark */ = 14D028A60FE56FC000B33B5E /* PBXTextBookmark */; + 14D028A70FE56FC000B33B5E /* PBXTextBookmark */ = 14D028A70FE56FC000B33B5E /* PBXTextBookmark */; + 14D028A80FE56FC000B33B5E /* PBXTextBookmark */ = 14D028A80FE56FC000B33B5E /* PBXTextBookmark */; + 14D028A90FE56FC000B33B5E /* PBXTextBookmark */ = 14D028A90FE56FC000B33B5E /* PBXTextBookmark */; + 14D028AD0FE5701100B33B5E /* PBXTextBookmark */ = 14D028AD0FE5701100B33B5E /* PBXTextBookmark */; + }; + sourceControlManager = 14D0285F0FE5208E00B33B5E /* Source Control */; + userBuildSettings = { + }; + }; + 29B97316FDCFA39411CA2CEA /* main.m */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {850, 818}}"; + sepNavSelRange = "{67, 0}"; + sepNavVisRange = "{0, 365}"; + }; + }; + 32CA4F630368D1EE00C91783 /* Orientation_Prefix.pch */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {850, 818}}"; + sepNavSelRange = "{0, 0}"; + sepNavVisRange = "{0, 191}"; + }; + }; +} diff --git a/Push To.xcodeproj/xcuserdata/Norbert.xcuserdatad/xcschemes/iPushTo.xcscheme b/Push To.xcodeproj/xcuserdata/Norbert.xcuserdatad/xcschemes/iPushTo.xcscheme new file mode 100755 index 0000000..ec4a29f --- /dev/null +++ b/Push To.xcodeproj/xcuserdata/Norbert.xcuserdatad/xcschemes/iPushTo.xcscheme @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Push To.xcodeproj/xcuserdata/Norbert.xcuserdatad/xcschemes/xcschememanagement.plist b/Push To.xcodeproj/xcuserdata/Norbert.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100755 index 0000000..9dfed60 --- /dev/null +++ b/Push To.xcodeproj/xcuserdata/Norbert.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,22 @@ + + + + + SchemeUserState + + iPushTo.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 1D6058900D05DD3D006BFB54 + + primary + + + + + diff --git a/Push To.xcodeproj/xcuserdata/nop.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist b/Push To.xcodeproj/xcuserdata/nop.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist new file mode 100644 index 0000000..05301bc --- /dev/null +++ b/Push To.xcodeproj/xcuserdata/nop.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist @@ -0,0 +1,5 @@ + + + diff --git a/Push To.xcodeproj/xcuserdata/nop.xcuserdatad/xcschemes/iPushTo.xcscheme b/Push To.xcodeproj/xcuserdata/nop.xcuserdatad/xcschemes/iPushTo.xcscheme new file mode 100755 index 0000000..0029473 --- /dev/null +++ b/Push To.xcodeproj/xcuserdata/nop.xcuserdatad/xcschemes/iPushTo.xcscheme @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Push To.xcodeproj/xcuserdata/nop.xcuserdatad/xcschemes/xcschememanagement.plist b/Push To.xcodeproj/xcuserdata/nop.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100755 index 0000000..9dfed60 --- /dev/null +++ b/Push To.xcodeproj/xcuserdata/nop.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,22 @@ + + + + + SchemeUserState + + iPushTo.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 1D6058900D05DD3D006BFB54 + + primary + + + + + diff --git a/Push To.xcodeproj/xcuserdata/norbertschmidt.xcuserdatad/xcschemes/Push To.xcscheme b/Push To.xcodeproj/xcuserdata/norbertschmidt.xcuserdatad/xcschemes/Push To.xcscheme new file mode 100644 index 0000000..d20a969 --- /dev/null +++ b/Push To.xcodeproj/xcuserdata/norbertschmidt.xcuserdatad/xcschemes/Push To.xcscheme @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Push To.xcodeproj/xcuserdata/norbertschmidt.xcuserdatad/xcschemes/xcschememanagement.plist b/Push To.xcodeproj/xcuserdata/norbertschmidt.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..b081e40 --- /dev/null +++ b/Push To.xcodeproj/xcuserdata/norbertschmidt.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,22 @@ + + + + + SchemeUserState + + Push To.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 1D6058900D05DD3D006BFB54 + + primary + + + + + diff --git a/Push To_Prefix.pch b/Push To_Prefix.pch new file mode 100755 index 0000000..5a8875d --- /dev/null +++ b/Push To_Prefix.pch @@ -0,0 +1,9 @@ +// +// Prefix header for all source files of the 'Orientation' target in the 'Orientation' project +// + +#ifdef __OBJC__ + #import + #import + #import +#endif diff --git a/Reflection.png b/Reflection.png new file mode 100755 index 0000000..519cd7d Binary files /dev/null and b/Reflection.png differ diff --git a/Resources-iPad/MainWindow-iPad.xib b/Resources-iPad/MainWindow-iPad.xib new file mode 100755 index 0000000..f83fdb8 --- /dev/null +++ b/Resources-iPad/MainWindow-iPad.xib @@ -0,0 +1,414 @@ + + + + 1280 + 11E53 + 2182 + 1138.47 + 569.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 1181 + + + YES + IBProxyObject + IBUITabBarItem + IBUIViewController + IBUICustomObject + IBUITabBarController + IBUIWindow + IBUITabBar + + + YES + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + IBFilesOwner + IBIPadFramework + + + IBFirstResponder + IBIPadFramework + + + IBIPadFramework + + + + 292 + {768, 1024} + + + + 1 + MSAxIDEAA + + NO + NO + + 2 + + IBIPadFramework + YES + + + + + + 1 + 1 + + IBIPadFramework + NO + + + Messier + + NSImage + 06-magnify.png + + IBIPadFramework + + + MessierZoekFormulierViewController-iPad + + 1 + 1 + + IBIPadFramework + NO + + + YES + + Pushto + + Push to + + NSImage + 151-telescope.png + + IBIPadFramework + + + OrientationViewController-iPad + + 1 + 1 + + IBIPadFramework + NO + + + + + NGC + + IBIPadFramework + + + NGCZoekFormulierViewController-iPad + + + 1 + 1 + + IBIPadFramework + NO + + + Custom + + Custom + + NSImage + 07-map-marker.png + + IBIPadFramework + + + YES + + + customViewController-iPad + + 1 + 1 + + IBIPadFramework + NO + + + + + 266 + {{0, 975}, {768, 49}} + + + + 3 + MAA + + IBIPadFramework + + + + + + YES + + + delegate + + + + 4 + + + + window + + + + 14 + + + + tabBarController + + + + 36 + + + + viewController + + + + 11 + + + + + YES + + 0 + + + + + + -1 + + + File's Owner + + + 3 + + + Orientation App Delegate + + + -2 + + + + + 12 + + + + + 28 + + + YES + + + + + + + + + + 29 + + + + + 30 + + + YES + + + + + + 31 + + + YES + + + + + + 32 + + + + + 33 + + + + + 37 + + + YES + + + + + + 38 + + + + + 10 + + + YES + + + + NGCZoekFormulierViewController + + + 42 + + + + + + + YES + + YES + -1.CustomClassName + -1.IBPluginDependency + -2.CustomClassName + -2.IBPluginDependency + 10.CustomClassName + 10.IBLastUsedUIStatusBarStylesToTargetRuntimesMap + 10.IBPluginDependency + 12.IBLastUsedUIStatusBarStylesToTargetRuntimesMap + 12.IBPluginDependency + 28.IBLastUsedUIStatusBarStylesToTargetRuntimesMap + 28.IBPluginDependency + 29.IBPluginDependency + 3.CustomClassName + 3.IBPluginDependency + 30.CustomClassName + 30.IBPluginDependency + 31.CustomClassName + 31.IBPluginDependency + 32.IBPluginDependency + 33.IBPluginDependency + 37.CustomClassName + 37.IBPluginDependency + 38.IBPluginDependency + 42.IBPluginDependency + + + YES + UIApplication + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + NGCZoekFormulierViewController + + IBCocoaTouchFramework + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + IBCocoaTouchFramework + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + IBCocoaTouchFramework + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + OrientationAppDelegate + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + OrientationViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + MessierZoekFormulierViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + customViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + YES + + + + + + YES + + + + + 42 + + + 0 + IBIPadFramework + + com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 + + + YES + 3 + + YES + + YES + 06-magnify.png + 07-map-marker.png + 151-telescope.png + + + YES + {24, 24} + {16, 26} + {23, 24} + + + 1181 + + diff --git a/Settings.bundle/Root.plist b/Settings.bundle/Root.plist new file mode 100644 index 0000000..e969319 --- /dev/null +++ b/Settings.bundle/Root.plist @@ -0,0 +1,21 @@ + + + + + StringsTable + Root + PreferenceSpecifiers + + + Type + PSToggleSwitchSpecifier + Title + Vertical device position + Key + vertical + DefaultValue + + + + + diff --git a/Settings.bundle/en.lproj/Root.strings b/Settings.bundle/en.lproj/Root.strings new file mode 100644 index 0000000..79a3ecb Binary files /dev/null and b/Settings.bundle/en.lproj/Root.strings differ diff --git a/alignment.png b/alignment.png new file mode 100755 index 0000000..cb21c54 Binary files /dev/null and b/alignment.png differ diff --git a/bullseye.png b/bullseye.png new file mode 100755 index 0000000..e04940b Binary files /dev/null and b/bullseye.png differ diff --git a/custom.png b/custom.png new file mode 100755 index 0000000..d37b765 Binary files /dev/null and b/custom.png differ diff --git a/customViewController-iPad.xib b/customViewController-iPad.xib new file mode 100644 index 0000000..76c37f0 --- /dev/null +++ b/customViewController-iPad.xib @@ -0,0 +1,854 @@ + + + + 1552 + 12D78 + 3084 + 1187.37 + 626.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 2083 + + + IBProxyObject + IBUIButton + IBUILabel + IBUISegmentedControl + IBUITextField + IBUIView + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 274 + + + + 292 + {{10, 6}, {301, 420}} + + + + _NS:225 + NO + IBCocoaTouchFramework + 0 + 0 + + 3 + MQA + + + 1 + MC4xOTYwNzg0MzE0IDAuMzA5ODAzOTIxNiAwLjUyMTU2ODYyNzUAA + + + 3 + MC41AA + + + 2 + 2 + + + Helvetica-Bold + 18 + 16 + + + + + 292 + {{83, 20}, {155, 21}} + + + + _NS:328 + NO + YES + 7 + NO + IBCocoaTouchFramework + Enter custom values + + 2 + MSAwIDAAA + + + 1 + 10 + + 1 + 17 + + + Helvetica + 17 + 16 + + + + + 292 + {{20, 80}, {88, 21}} + + + + _NS:328 + NO + YES + 7 + NO + IBCocoaTouchFramework + Object RA: + + 2 + MSAwIDAAA + + + 1 + 10 + + + + + + 292 + {{20, 119}, {91, 21}} + + + + _NS:328 + NO + YES + 7 + NO + IBCocoaTouchFramework + Object Dec: + + + 1 + 10 + + + + + + 292 + {{164, 75}, {54, 31}} + + + + _NS:304 + + 1 + MC41MDg1OTc5OTU5IDAgMAA + + NO + YES + IBCocoaTouchFramework + 0 + + 3 + + 3 + MAA + + 2 + + + YES + 17 + + 4 + IBCocoaTouchFramework + + + 1 + 14 + + + Helvetica + 14 + 16 + + + + + 292 + {{222, 76}, {57, 31}} + + + + _NS:304 + + 2 + MC41MDk4MDM5NTA4IDAgMAA + + NO + YES + IBCocoaTouchFramework + 0 + + 3 + + 3 + MAA + + + YES + 17 + + 4 + IBCocoaTouchFramework + + + + + + + 292 + {{222, 114}, {57, 31}} + + + + _NS:304 + + NO + YES + IBCocoaTouchFramework + 0 + + 3 + + 3 + MAA + + + YES + 17 + + 4 + IBCocoaTouchFramework + + + + + + + 292 + {{165, 114}, {54, 31}} + + + + _NS:304 + + NO + YES + IBCocoaTouchFramework + 0 + + 3 + + 3 + MAA + + + YES + 17 + + 4 + IBCocoaTouchFramework + + + + + + + 292 + {{119, 166}, {83, 37}} + + + _NS:225 + NO + IBCocoaTouchFramework + 0 + 0 + SUBMIT + + + 2 + MSAwIDAAA + + + + 2 + 15 + + + Helvetica-Bold + 15 + 16 + + + + + 292 + {{170, 49}, {42, 21}} + + + + _NS:328 + NO + YES + 7 + NO + IBCocoaTouchFramework + HH + + + 1 + 10 + 1 + + + + + + 292 + {{229, 49}, {42, 21}} + + + + _NS:328 + NO + YES + 7 + NO + IBCocoaTouchFramework + MM + + + 1 + 10 + 1 + + + + + + 292 + {{114, 115}, {47, 30}} + + + + _NS:273 + NO + IBCocoaTouchFramework + 2 + 2 + 0 + + N + S + + + + + + + + + + + {0, 0} + {0, 0} + + + + + + + 2 + MC41MDk4MDM5NTA4IDAgMAA + + + + + 292 + {{293, 19}, {18, 19}} + + + + _NS:225 + NO + 0.20000000298023224 + IBCocoaTouchFramework + 0 + 0 + 3 + YES + + + 1 + MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA + + + + + + + {320, 431} + + + + + 1 + MCAwIDAAA + darkTextColor + + + IBCocoaTouchFramework + + + + + + + view + + + + 3 + + + + txtRAuur + + + + 17 + + + + txtRAminuut + + + + 18 + + + + txtDECuur + + + + 19 + + + + txtDECminuut + + + + 20 + + + + submitButton + + + + 22 + + + + segPlusmin + + + + 24 + + + + hideKeyboardButton + + + + 28 + + + + submitclick + + + 7 + + 21 + + + + hidekeyboard: + + + 7 + + 12 + + + + infoButtonClick: + + + 7 + + 27 + + + + + + 0 + + + + + + 1 + + + + + + + + + + + + + + + + + + + + -1 + + + File's Owner + + + -2 + + + + + 4 + + + + + 5 + + + + + 6 + + + + + 7 + + + + + 8 + + + + + 9 + + + + + 10 + + + + + 13 + + + + + 14 + + + + + 15 + + + + + 16 + + + + + 23 + + + + + 26 + + + + + + + customViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + GradientButton + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + + + 28 + + + + + GradientButton + UIButton + + IBProjectSource + ./Classes/GradientButton.h + + + + OrientationViewController + UIViewController + + UIImageView + UIImageView + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UILabel + UITextView + UILabel + UILabel + UILabel + UITabBar + UILabel + + + + ALTdirectionArrow + UIImageView + + + AZdirectionArrow + UIImageView + + + alt + UILabel + + + az + UILabel + + + constLabel + UILabel + + + horizvertlabel + UILabel + + + latLabel + UILabel + + + longLabel + UILabel + + + objalt + UILabel + + + objaz + UILabel + + + objconstlabel + UILabel + + + objectIDlabel + UILabel + + + objectlabel + UILabel + + + objmagLabel + UILabel + + + objnotes + UITextView + + + objsizeLabel + UILabel + + + objtypeLabel + UILabel + + + radecinfoLabel + UILabel + + + tabBar + UITabBar + + + timeLabel + UILabel + + + + IBProjectSource + ./Classes/OrientationViewController.h + + + + customViewController + UIViewController + + id + id + id + + + + hidekeyboard: + id + + + infoButtonClick: + id + + + submitclick + id + + + + UIButton + UISegmentedControl + GradientButton + UITextField + UITextField + UITextField + UITextField + + + + hideKeyboardButton + UIButton + + + segPlusmin + UISegmentedControl + + + submitButton + GradientButton + + + txtDECminuut + UITextField + + + txtDECuur + UITextField + + + txtRAminuut + UITextField + + + txtRAuur + UITextField + + + + IBProjectSource + ./Classes/customViewController.h + + + + + 0 + IBCocoaTouchFramework + YES + 3 + 2083 + + diff --git a/down_arrow.png b/down_arrow.png new file mode 100755 index 0000000..70ecbfb Binary files /dev/null and b/down_arrow.png differ diff --git a/iTunesArtwork b/iTunesArtwork new file mode 100644 index 0000000..079f137 Binary files /dev/null and b/iTunesArtwork differ diff --git a/iTunesArtwork@2x b/iTunesArtwork@2x new file mode 100644 index 0000000..2e28382 Binary files /dev/null and b/iTunesArtwork@2x differ diff --git a/iconfile.jpg b/iconfile.jpg new file mode 100755 index 0000000..ff41d08 Binary files /dev/null and b/iconfile.jpg differ diff --git a/left_arrow.png b/left_arrow.png new file mode 100755 index 0000000..22417b5 Binary files /dev/null and b/left_arrow.png differ diff --git a/main.m b/main.m new file mode 100755 index 0000000..a70338c --- /dev/null +++ b/main.m @@ -0,0 +1,9 @@ + +#import + +int main(int argc, char *argv[]) { + + int retVal = UIApplicationMain(argc, argv, nil, nil); + + return retVal; +} diff --git a/mount.png b/mount.png new file mode 100644 index 0000000..12b382e Binary files /dev/null and b/mount.png differ diff --git a/right_arrow.png b/right_arrow.png new file mode 100755 index 0000000..110e044 Binary files /dev/null and b/right_arrow.png differ diff --git a/up_arrow.png b/up_arrow.png new file mode 100755 index 0000000..8d276f4 Binary files /dev/null and b/up_arrow.png differ