From b39811e3c5bb33198d2e1e1acce4216b467b83fe Mon Sep 17 00:00:00 2001 From: Alejandro Paredes Alva Date: Mon, 13 May 2013 19:54:41 +0200 Subject: [PATCH 1/2] CopyableLabel in BaseConverter UILabel subclass that lets the user copy its content. Closes #17 --- MATSOL/Classes/BaseConverterViewController.h | 14 ++- MATSOL/Classes/BaseConverterViewController.m | 46 +++++++- .../Localization/en.lproj/BaseConverter.xib | 51 +++++---- .../Localization/es.lproj/BaseConverter.xib | 104 ++++++++++-------- 4 files changed, 140 insertions(+), 75 deletions(-) diff --git a/MATSOL/Classes/BaseConverterViewController.h b/MATSOL/Classes/BaseConverterViewController.h index e94c4b6..eb2ee85 100755 --- a/MATSOL/Classes/BaseConverterViewController.h +++ b/MATSOL/Classes/BaseConverterViewController.h @@ -10,15 +10,19 @@ #import "Conversor.h" #import "MATSOLDefines.h" +@interface CopyableLabel : UILabel + +@end + typedef enum{ MBaseConverterButtonFrom=-1, MBaseConverterButtonTo=-2, MBaseConverterButtonDelete=-3 }MBaseConverterButton; -@interface BaseConverterViewController : UIViewController { - IBOutlet UILabel *fromLabel; - IBOutlet UILabel *toLabel; +@interface BaseConverterViewController : UIViewController { + IBOutlet CopyableLabel *fromLabel; + IBOutlet CopyableLabel *toLabel; IBOutlet UILabel *fromIndicator; IBOutlet UILabel *toIndicator; @@ -33,8 +37,8 @@ typedef enum{ } @property (strong, nonatomic) IBOutlet UIImageView *backgroundImage; -@property (nonatomic, strong) IBOutlet UILabel *fromLabel; -@property (nonatomic, strong) IBOutlet UILabel *toLabel; +@property (nonatomic, strong) IBOutlet CopyableLabel *fromLabel; +@property (nonatomic, strong) IBOutlet CopyableLabel *toLabel; @property (nonatomic, strong) IBOutlet UILabel *fromIndicator; @property (nonatomic, strong) IBOutlet UILabel *toIndicator; @property (nonatomic, strong) NSMutableArray *buttonsConverter; diff --git a/MATSOL/Classes/BaseConverterViewController.m b/MATSOL/Classes/BaseConverterViewController.m index 020d4e9..b9157bb 100644 --- a/MATSOL/Classes/BaseConverterViewController.m +++ b/MATSOL/Classes/BaseConverterViewController.m @@ -8,6 +8,47 @@ #import "BaseConverterViewController.h" +@implementation CopyableLabel +- (BOOL)canPerformAction:(SEL)action withSender:(id)sender { + if(action == @selector(copy:)) { + return YES; + } + else { + return [super canPerformAction:action withSender:sender]; + } +} + +- (BOOL)canBecomeFirstResponder { + return YES; +} + +- (BOOL)becomeFirstResponder { + if([super becomeFirstResponder]) { + return YES; + } + return NO; +} + +- (void)copy:(id)sender { + UIPasteboard *board = [UIPasteboard generalPasteboard]; + [board setString:self.text]; + [self resignFirstResponder]; +} + +- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event { + if([self isFirstResponder]) { + UIMenuController *menu = [UIMenuController sharedMenuController]; + [menu setMenuVisible:NO animated:YES]; + [menu update]; + [self resignFirstResponder]; + } + else if([self becomeFirstResponder]) { + UIMenuController *menu = [UIMenuController sharedMenuController]; + [menu setTargetRect:self.bounds inView:self]; + [menu setMenuVisible:YES animated:YES]; + } +} +@end @implementation BaseConverterViewController @synthesize fromLabel; @@ -123,12 +164,13 @@ - (void)viewDidLoad { //Update the UI [self lockButtons]; - + } + + #pragma mark - #pragma mark Buttons Utilities - -(void)typeStuff:(id)sender{ UIButton *whoAmI=(UIButton *)sender; diff --git a/MATSOL/Localization/en.lproj/BaseConverter.xib b/MATSOL/Localization/en.lproj/BaseConverter.xib index 0df620f..e29db66 100755 --- a/MATSOL/Localization/en.lproj/BaseConverter.xib +++ b/MATSOL/Localization/en.lproj/BaseConverter.xib @@ -1,14 +1,14 @@ - 1536 - 12C60 - 2843 - 1187.34 - 625.00 + 1552 + 12D78 + 3084 + 1187.37 + 626.00 com.apple.InterfaceBuilder.IBCocoaTouchPlugin - 1929 + 2083 YES @@ -63,7 +63,6 @@ NO YES 7 - NO IBCocoaTouchFramework 0 @@ -96,10 +95,10 @@ {{16, 77}, {287, 33}} + NO YES 7 - NO IBCocoaTouchFramework 0 @@ -301,11 +300,6 @@ - - 6 - - - 12 @@ -321,6 +315,11 @@ + + 6 + + + @@ -332,10 +331,12 @@ -2.CustomClassName -2.IBPluginDependency 1.IBPluginDependency + 12.CustomClassName 12.IBPluginDependency 20.IBPluginDependency 21.IBPluginDependency 4.IBPluginDependency + 6.CustomClassName 6.IBPluginDependency @@ -345,10 +346,12 @@ UIResponder com.apple.InterfaceBuilder.IBCocoaTouchPlugin com.apple.InterfaceBuilder.IBCocoaTouchPlugin + CopyableLabel com.apple.InterfaceBuilder.IBCocoaTouchPlugin com.apple.InterfaceBuilder.IBCocoaTouchPlugin com.apple.InterfaceBuilder.IBCocoaTouchPlugin com.apple.InterfaceBuilder.IBCocoaTouchPlugin + CopyableLabel com.apple.InterfaceBuilder.IBCocoaTouchPlugin @@ -364,7 +367,7 @@ - 25 + 33 @@ -397,9 +400,9 @@ YES UIImageView UILabel + CopyableLabel UILabel - UILabel - UILabel + CopyableLabel @@ -424,7 +427,7 @@ fromLabel - UILabel + CopyableLabel toIndicator @@ -432,7 +435,7 @@ toLabel - UILabel + CopyableLabel @@ -441,13 +444,21 @@ ./Classes/BaseConverterViewController.h + + CopyableLabel + UILabel + + IBProjectSource + ./Classes/CopyableLabel.h + + 0 IBCocoaTouchFramework com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS - + com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 @@ -455,6 +466,6 @@ YES 3 - 1929 + 2083 diff --git a/MATSOL/Localization/es.lproj/BaseConverter.xib b/MATSOL/Localization/es.lproj/BaseConverter.xib index 8feef4c..367c620 100755 --- a/MATSOL/Localization/es.lproj/BaseConverter.xib +++ b/MATSOL/Localization/es.lproj/BaseConverter.xib @@ -2,10 +2,10 @@ 1552 - 12C3006 + 12D78 3084 - 1187.34 - 625.00 + 1187.37 + 626.00 com.apple.InterfaceBuilder.IBCocoaTouchPlugin 2083 @@ -15,6 +15,7 @@ IBProxyObject IBUIImageView IBUILabel + IBUITextField IBUIView @@ -53,13 +54,13 @@ YES IBCocoaTouchFramework - + 292 - {{16, 23}, {287, 31}} + {{16, 77}, {287, 33}} - + NO YES 7 @@ -71,12 +72,12 @@ MCAwIDAAA darkTextColor - + 3 MQA 1 - 16 + 10 2 Arial-BoldMT @@ -84,39 +85,19 @@ 2 26 - + Arial-BoldMT 26 16 - - - 292 - {{16, 77}, {287, 33}} - - - NO - YES - 7 - NO - IBCocoaTouchFramework - 0 - - - 1 - 10 - 2 - - - 292 {{11, 10}, {73, 21}} - + NO YES 7 @@ -165,6 +146,35 @@ + + + 292 + {{11, 24}, {292, 30}} + + + + _NS:9 + NO + YES + IBCocoaTouchFramework + 0 + 0 + + 3 + MAA + + 2 + + + 2 + YES + 17 + + IBCocoaTouchFramework + + + + {{0, 64}, {320, 416}} @@ -173,9 +183,7 @@ 3 MQA - - 2 - + 1 @@ -233,14 +241,6 @@ 32 - - - fromLabel - - - - 33 - toLabel @@ -257,6 +257,14 @@ 35 + + + fromLabel + + + + 37 + @@ -289,7 +297,7 @@ - + @@ -314,8 +322,8 @@ - 29 - + 36 + @@ -333,7 +341,7 @@ 26.IBPluginDependency 27.IBPluginDependency 28.IBPluginDependency - 29.IBPluginDependency + 36.IBPluginDependency YES @@ -361,7 +369,7 @@ - 35 + 37 @@ -394,7 +402,7 @@ YES UIImageView UILabel - UILabel + UITextField UILabel UILabel @@ -421,7 +429,7 @@ fromLabel - UILabel + UITextField toIndicator From 462365920f9d7408e5f86fdb49ab16ed7369ab62 Mon Sep 17 00:00:00 2001 From: Santiago Torres Date: Mon, 14 Oct 2013 22:32:56 -0400 Subject: [PATCH 2/2] Separated CopyableLabel to a new module under GIDAUtilities, updated xibs to work on Current and Default Versions --- MATSOL/Classes/BaseConverterViewController.h | 4 +- MATSOL/Classes/BaseConverterViewController.m | 40 -- .../Localization/en.lproj/BaseConverter.xib | 524 +++--------------- .../Localization/en.lproj/BaseConverter.xib | 524 +++--------------- MATSOL/GIDAUtilities/CopyableLabel.h | 13 + MATSOL/GIDAUtilities/CopyableLabel.m | 51 ++ MATSOL/MATSOL.xcodeproj/project.pbxproj | 6 + 7 files changed, 199 insertions(+), 963 deletions(-) create mode 100644 MATSOL/GIDAUtilities/CopyableLabel.h create mode 100644 MATSOL/GIDAUtilities/CopyableLabel.m diff --git a/MATSOL/Classes/BaseConverterViewController.h b/MATSOL/Classes/BaseConverterViewController.h index f355421..8b518a7 100755 --- a/MATSOL/Classes/BaseConverterViewController.h +++ b/MATSOL/Classes/BaseConverterViewController.h @@ -9,10 +9,8 @@ #import #import "Conversor.h" #import "MATSOLDefines.h" +#import "CopyableLabel.h" -@interface CopyableLabel : UILabel - -@end typedef enum{ MBaseConverterButtonFrom=-1, diff --git a/MATSOL/Classes/BaseConverterViewController.m b/MATSOL/Classes/BaseConverterViewController.m index 73ee0bc..e95c235 100644 --- a/MATSOL/Classes/BaseConverterViewController.m +++ b/MATSOL/Classes/BaseConverterViewController.m @@ -8,47 +8,7 @@ #import "BaseConverterViewController.h" -@implementation CopyableLabel -- (BOOL)canPerformAction:(SEL)action withSender:(id)sender { - if(action == @selector(copy:)) { - return YES; - } - else { - return [super canPerformAction:action withSender:sender]; - } -} - -- (BOOL)canBecomeFirstResponder { - return YES; -} - -- (BOOL)becomeFirstResponder { - if([super becomeFirstResponder]) { - return YES; - } - return NO; -} - -- (void)copy:(id)sender { - UIPasteboard *board = [UIPasteboard generalPasteboard]; - [board setString:self.text]; - [self resignFirstResponder]; -} -- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event { - if([self isFirstResponder]) { - UIMenuController *menu = [UIMenuController sharedMenuController]; - [menu setMenuVisible:NO animated:YES]; - [menu update]; - [self resignFirstResponder]; - } - else if([self becomeFirstResponder]) { - UIMenuController *menu = [UIMenuController sharedMenuController]; - [menu setTargetRect:self.bounds inView:self]; - [menu setMenuVisible:YES animated:YES]; - } -} -@end @implementation BaseConverterViewController @synthesize fromLabel; diff --git a/MATSOL/Current/Localization/en.lproj/BaseConverter.xib b/MATSOL/Current/Localization/en.lproj/BaseConverter.xib index 0df620f..611e67b 100755 --- a/MATSOL/Current/Localization/en.lproj/BaseConverter.xib +++ b/MATSOL/Current/Localization/en.lproj/BaseConverter.xib @@ -1,460 +1,64 @@ - - - - 1536 - 12C60 - 2843 - 1187.34 - 625.00 - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - 1929 - - - YES - IBProxyObject - IBUIImageView - IBUILabel - IBUIView - - - YES - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - IBFilesOwner - IBCocoaTouchFramework - - - IBFirstResponder - IBCocoaTouchFramework - - - - 274 - - YES - - - 304 - {320, 416} - - - - NO - YES - 3 - YES - IBCocoaTouchFramework - - - - 292 - {{16, 23}, {287, 31}} - - - - NO - YES - 7 - NO - IBCocoaTouchFramework - 0 - - 1 - MCAwIDAAA - darkTextColor - - - 3 - MQA - - 1 - 16 - 2 - - Arial-BoldMT - Arial - 2 - 26 - - - Arial-BoldMT - 26 - 16 - - - - - 292 - {{16, 77}, {287, 33}} - - - NO - YES - 7 - NO - IBCocoaTouchFramework - 0 - - - 1 - 10 - 2 - - - - - - 292 - {{11, 10}, {73, 21}} - - - - NO - YES - 7 - NO - IBCocoaTouchFramework - From: - - - - 1 - MSAxIDEgMC42AA - lightTextColor - - 1 - 10 - - Helvetica-Bold - Helvetica - 2 - 12 - - - Helvetica-Bold - 12 - 16 - - - - - 292 - {{11, 65}, {73, 21}} - - - - NO - YES - 7 - NO - IBCocoaTouchFramework - To: - - - - 1 - 10 - - - - - {{0, 64}, {320, 416}} - - - - - 3 - MQA - - 2 - - - - 1 - - - 1 - NO - - - IBUIScreenMetrics - - YES - - YES - - - - - YES - {320, 480} - {480, 320} - - - IBCocoaTouchFramework - Retina 3.5 Full Screen - 0 - - IBCocoaTouchFramework - - - - - YES - - - view - - - - 10 - - - - fromLabel - - - - 11 - - - - toLabel - - - - 19 - - - - fromIndicator - - - - 22 - - - - toIndicator - - - - 23 - - - - backgroundImage - - - - 25 - - - - - YES - - 0 - - YES - - - - - - 1 - - - YES - - - - - - - - - - -1 - - - File's Owner - - - -2 - - - - - 4 - - - YES - - - - - 6 - - - - - 12 - - - - - 20 - - - - - 21 - - - - - - - YES - - YES - -1.CustomClassName - -1.IBPluginDependency - -2.CustomClassName - -2.IBPluginDependency - 1.IBPluginDependency - 12.IBPluginDependency - 20.IBPluginDependency - 21.IBPluginDependency - 4.IBPluginDependency - 6.IBPluginDependency - - - YES - BaseConverterViewController - 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 - - - - YES - - - - - - YES - - - - - 25 - - - - YES - - BaseConverterViewController - UIViewController - - fromOrTo: - id - - - fromOrTo: - - fromOrTo: - id - - - - YES - - YES - backgroundImage - fromIndicator - fromLabel - toIndicator - toLabel - - - YES - UIImageView - UILabel - UILabel - UILabel - UILabel - - - - YES - - YES - backgroundImage - fromIndicator - fromLabel - toIndicator - toLabel - - - YES - - backgroundImage - UIImageView - - - fromIndicator - UILabel - - - fromLabel - UILabel - - - toIndicator - UILabel - - - toLabel - UILabel - - - - - IBProjectSource - ./Classes/BaseConverterViewController.h - - - - - 0 - IBCocoaTouchFramework - - com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS - - - - com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 - - - YES - 3 - 1929 - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MATSOL/Default/Localization/en.lproj/BaseConverter.xib b/MATSOL/Default/Localization/en.lproj/BaseConverter.xib index 0df620f..611e67b 100755 --- a/MATSOL/Default/Localization/en.lproj/BaseConverter.xib +++ b/MATSOL/Default/Localization/en.lproj/BaseConverter.xib @@ -1,460 +1,64 @@ - - - - 1536 - 12C60 - 2843 - 1187.34 - 625.00 - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - 1929 - - - YES - IBProxyObject - IBUIImageView - IBUILabel - IBUIView - - - YES - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - IBFilesOwner - IBCocoaTouchFramework - - - IBFirstResponder - IBCocoaTouchFramework - - - - 274 - - YES - - - 304 - {320, 416} - - - - NO - YES - 3 - YES - IBCocoaTouchFramework - - - - 292 - {{16, 23}, {287, 31}} - - - - NO - YES - 7 - NO - IBCocoaTouchFramework - 0 - - 1 - MCAwIDAAA - darkTextColor - - - 3 - MQA - - 1 - 16 - 2 - - Arial-BoldMT - Arial - 2 - 26 - - - Arial-BoldMT - 26 - 16 - - - - - 292 - {{16, 77}, {287, 33}} - - - NO - YES - 7 - NO - IBCocoaTouchFramework - 0 - - - 1 - 10 - 2 - - - - - - 292 - {{11, 10}, {73, 21}} - - - - NO - YES - 7 - NO - IBCocoaTouchFramework - From: - - - - 1 - MSAxIDEgMC42AA - lightTextColor - - 1 - 10 - - Helvetica-Bold - Helvetica - 2 - 12 - - - Helvetica-Bold - 12 - 16 - - - - - 292 - {{11, 65}, {73, 21}} - - - - NO - YES - 7 - NO - IBCocoaTouchFramework - To: - - - - 1 - 10 - - - - - {{0, 64}, {320, 416}} - - - - - 3 - MQA - - 2 - - - - 1 - - - 1 - NO - - - IBUIScreenMetrics - - YES - - YES - - - - - YES - {320, 480} - {480, 320} - - - IBCocoaTouchFramework - Retina 3.5 Full Screen - 0 - - IBCocoaTouchFramework - - - - - YES - - - view - - - - 10 - - - - fromLabel - - - - 11 - - - - toLabel - - - - 19 - - - - fromIndicator - - - - 22 - - - - toIndicator - - - - 23 - - - - backgroundImage - - - - 25 - - - - - YES - - 0 - - YES - - - - - - 1 - - - YES - - - - - - - - - - -1 - - - File's Owner - - - -2 - - - - - 4 - - - YES - - - - - 6 - - - - - 12 - - - - - 20 - - - - - 21 - - - - - - - YES - - YES - -1.CustomClassName - -1.IBPluginDependency - -2.CustomClassName - -2.IBPluginDependency - 1.IBPluginDependency - 12.IBPluginDependency - 20.IBPluginDependency - 21.IBPluginDependency - 4.IBPluginDependency - 6.IBPluginDependency - - - YES - BaseConverterViewController - 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 - - - - YES - - - - - - YES - - - - - 25 - - - - YES - - BaseConverterViewController - UIViewController - - fromOrTo: - id - - - fromOrTo: - - fromOrTo: - id - - - - YES - - YES - backgroundImage - fromIndicator - fromLabel - toIndicator - toLabel - - - YES - UIImageView - UILabel - UILabel - UILabel - UILabel - - - - YES - - YES - backgroundImage - fromIndicator - fromLabel - toIndicator - toLabel - - - YES - - backgroundImage - UIImageView - - - fromIndicator - UILabel - - - fromLabel - UILabel - - - toIndicator - UILabel - - - toLabel - UILabel - - - - - IBProjectSource - ./Classes/BaseConverterViewController.h - - - - - 0 - IBCocoaTouchFramework - - com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS - - - - com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 - - - YES - 3 - 1929 - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MATSOL/GIDAUtilities/CopyableLabel.h b/MATSOL/GIDAUtilities/CopyableLabel.h new file mode 100644 index 0000000..e922c4d --- /dev/null +++ b/MATSOL/GIDAUtilities/CopyableLabel.h @@ -0,0 +1,13 @@ +// +// CopyableLabel.h +// MATSOL +// +// Created by Santiago Torres Arias on 10/14/13. +// +// + +#import + +@interface CopyableLabel : UILabel + +@end \ No newline at end of file diff --git a/MATSOL/GIDAUtilities/CopyableLabel.m b/MATSOL/GIDAUtilities/CopyableLabel.m new file mode 100644 index 0000000..fc34c2e --- /dev/null +++ b/MATSOL/GIDAUtilities/CopyableLabel.m @@ -0,0 +1,51 @@ +// +// CopyableLabel.m +// MATSOL +// +// Created by Santiago Torres Arias on 10/14/13. +// +// + +#import "CopyableLabel.h" + +@implementation CopyableLabel +- (BOOL)canPerformAction:(SEL)action withSender:(id)sender { + if(action == @selector(copy:)) { + return YES; + } + else { + return [super canPerformAction:action withSender:sender]; + } +} + +- (BOOL)canBecomeFirstResponder { + return YES; +} + +- (BOOL)becomeFirstResponder { + if([super becomeFirstResponder]) { + return YES; + } + return NO; +} + +- (void)copy:(id)sender { + UIPasteboard *board = [UIPasteboard generalPasteboard]; + [board setString:self.text]; + [self resignFirstResponder]; +} + +- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event { + if([self isFirstResponder]) { + UIMenuController *menu = [UIMenuController sharedMenuController]; + [menu setMenuVisible:NO animated:YES]; + [menu update]; + [self resignFirstResponder]; + } + else if([self becomeFirstResponder]) { + UIMenuController *menu = [UIMenuController sharedMenuController]; + [menu setTargetRect:self.bounds inView:self]; + [menu setMenuVisible:YES animated:YES]; + } +} +@end \ No newline at end of file diff --git a/MATSOL/MATSOL.xcodeproj/project.pbxproj b/MATSOL/MATSOL.xcodeproj/project.pbxproj index a65736a..a5cf7f6 100644 --- a/MATSOL/MATSOL.xcodeproj/project.pbxproj +++ b/MATSOL/MATSOL.xcodeproj/project.pbxproj @@ -153,6 +153,7 @@ 6CD27C3C1801127600FCE783 /* Solutions.xib in Resources */ = {isa = PBXBuildFile; fileRef = 6CD27BF81801127600FCE783 /* Solutions.xib */; }; 6CD27C3D180112BF00FCE783 /* Current.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 6CD27B961801118200FCE783 /* Current.bundle */; }; 6CD27C401801202700FCE783 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 6CD27B4B1801111700FCE783 /* MainWindow.xib */; }; + 6CD5E275180CDC11006CD4BE /* CopyableLabel.m in Sources */ = {isa = PBXBuildFile; fileRef = 6CD5E274180CDC11006CD4BE /* CopyableLabel.m */; }; 9C1CF818125E9F020060A1B2 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9C1CF817125E9F020060A1B2 /* UIKit.framework */; }; 9C1CF81C125E9F120060A1B2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9C1CF81B125E9F120060A1B2 /* Foundation.framework */; }; 9C1CF820125E9F1E0060A1B2 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9C1CF81F125E9F1E0060A1B2 /* CoreGraphics.framework */; }; @@ -362,6 +363,8 @@ 6CD27BF61801127600FCE783 /* MatrixSheet.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MatrixSheet.xib; sourceTree = ""; }; 6CD27BF71801127600FCE783 /* Slave.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = Slave.xib; sourceTree = ""; }; 6CD27BF81801127600FCE783 /* Solutions.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = Solutions.xib; sourceTree = ""; }; + 6CD5E273180CDC11006CD4BE /* CopyableLabel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CopyableLabel.h; path = GIDAUtilities/CopyableLabel.h; sourceTree = ""; }; + 6CD5E274180CDC11006CD4BE /* CopyableLabel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CopyableLabel.m; path = GIDAUtilities/CopyableLabel.m; sourceTree = ""; }; 9C1CF817125E9F020060A1B2 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 9C1CF81B125E9F120060A1B2 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 9C1CF81F125E9F1E0060A1B2 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; @@ -737,6 +740,8 @@ 507BBC2F171B1AB9001B9079 /* GIDAMatrixCell.m */, 507BBC30171B1AB9001B9079 /* GIDAMatrixViewController.h */, 507BBC31171B1AB9001B9079 /* GIDAMatrixViewController.m */, + 6CD5E273180CDC11006CD4BE /* CopyableLabel.h */, + 6CD5E274180CDC11006CD4BE /* CopyableLabel.m */, ); name = GIDA; sourceTree = ""; @@ -1028,6 +1033,7 @@ BEA18BFF151A7C7300B48EB7 /* Parenthesis.m in Sources */, BEC8D1BE16CE968D00D7C442 /* GIDACalculateString.m in Sources */, 507BBC32171B1AB9001B9079 /* GIDAAlertView.m in Sources */, + 6CD5E275180CDC11006CD4BE /* CopyableLabel.m in Sources */, 507BBC33171B1AB9001B9079 /* GIDAMatrixCell.m in Sources */, 507BBC34171B1AB9001B9079 /* GIDAMatrixViewController.m in Sources */, );