Permalink
Browse files

Initial Commit

  • Loading branch information...
thajcak committed Jul 19, 2012
0 parents commit 0def3a57e1df4ade5bd03eb90096415ac4ce75da
Showing with 34,048 additions and 0 deletions.
  1. +15 −0 .gitignore
  2. +31 −0 CoreData/Address.h
  3. +22 −0 CoreData/Address.m
  4. +32 −0 CoreData/Contact.h
  5. +33 −0 CoreData/Contact.m
  6. +8 −0 CoreData/CoreDataStore.xcdatamodeld/.xccurrentversion
  7. +99 −0 CoreData/CoreDataStore.xcdatamodeld/CoreDataStore.xcdatamodel/contents
  8. +43 −0 CoreData/Lead.h
  9. +42 −0 CoreData/Lead.m
  10. +39 −0 CoreData/Opportunity.h
  11. +31 −0 CoreData/Opportunity.m
  12. +43 −0 CoreData/SalesAccount.h
  13. +30 −0 CoreData/SalesAccount.m
  14. BIN Default-Landscape@2x~ipad.png
  15. BIN Default-Landscape~ipad.png
  16. BIN Default-Portrait@2x~ipad.png
  17. BIN Default-Portrait~ipad.png
  18. BIN Icon-72.png
  19. BIN Icon-72@2x.png
  20. +21 −0 README.md
  21. BIN Resource/Images/compass.png
  22. BIN Resource/Images/compass@2x.png
  23. BIN Resource/Images/contact.png
  24. BIN Resource/Images/contact@2x.png
  25. BIN Resource/Images/favorite.png
  26. BIN Resource/Images/favorite@2x.png
  27. BIN Resource/Images/frame.png
  28. BIN Resource/Images/frame@2x.png
  29. BIN Resource/Images/gplaypattern.png
  30. BIN Resource/Images/gplaypattern@2x.png
  31. BIN Resource/Images/money_bag_dollars.png
  32. BIN Resource/Images/money_bag_dollars@2x.png
  33. BIN Resource/Images/navigation.png
  34. BIN Resource/Images/navigation@2x.png
  35. BIN Resource/Images/px_by_Gre3g.png
  36. BIN Resource/Images/px_by_Gre3g@2x.png
  37. BIN Resource/Images/random_grey_variations.png
  38. BIN Resource/Images/random_grey_variations@2x.png
  39. BIN Resource/Images/strange_bullseyes.png
  40. BIN Resource/Images/strange_bullseyes@2x.png
  41. BIN Resource/Images/tactile_noise.png
  42. BIN Resource/Images/tactile_noise@2x.png
  43. BIN Resource/Images/weather_clear.png
  44. BIN Resource/Images/weather_fog.png
  45. BIN Resource/Images/weather_overcast.png
  46. BIN Resource/Images/weather_showers_scattered.png
  47. +1,295 −0 Sales Mate.xcodeproj/project.pbxproj
  48. +16 −0 Sales Mate/Accounts/AccountContactsTableViewController.h
  49. +113 −0 Sales Mate/Accounts/AccountContactsTableViewController.m
  50. +15 −0 Sales Mate/Accounts/AccountDetailsViewController.h
  51. +294 −0 Sales Mate/Accounts/AccountDetailsViewController.m
  52. +16 −0 Sales Mate/Accounts/AccountOpportunitiesTableViewController.h
  53. +115 −0 Sales Mate/Accounts/AccountOpportunitiesTableViewController.m
  54. +32 −0 Sales Mate/AppDelegate.h
  55. +199 −0 Sales Mate/AppDelegate.m
  56. +16 −0 Sales Mate/Contacts/ContactDetailsViewController.h
  57. +321 −0 Sales Mate/Contacts/ContactDetailsViewController.m
  58. +29 −0 Sales Mate/DataHandler.h
  59. +531 −0 Sales Mate/DataHandler.m
  60. +16 −0 Sales Mate/Leads/LeadDetailsViewController.h
  61. +510 −0 Sales Mate/Leads/LeadDetailsViewController.m
  62. +17 −0 Sales Mate/Leads/LeadsViewController.h
  63. +419 −0 Sales Mate/Leads/LeadsViewController.m
  64. +13 −0 Sales Mate/LoginViewController.h
  65. +43 −0 Sales Mate/LoginViewController.m
  66. +13 −0 Sales Mate/Near Me/NearMeAnnotationView.h
  67. +31 −0 Sales Mate/Near Me/NearMeAnnotationView.m
  68. +16 −0 Sales Mate/Near Me/NearMeViewController.h
  69. +137 −0 Sales Mate/Near Me/NearMeViewController.m
  70. +15 −0 Sales Mate/Opportunities/OpportunitiesViewController.h
  71. +357 −0 Sales Mate/Opportunities/OpportunitiesViewController.m
  72. +16 −0 Sales Mate/Opportunities/OpportunityDetailsViewController.h
  73. +421 −0 Sales Mate/Opportunities/OpportunityDetailsViewController.m
  74. +16 −0 Sales Mate/RootTabBarController.h
  75. +256 −0 Sales Mate/RootTabBarController.m
  76. +54 −0 Sales Mate/Sales Mate-Info.plist
  77. +18 −0 Sales Mate/Sales Mate-Prefix.pch
  78. +94 −0 Sales Mate/Streaming/StreamingApiClient.h
  79. +221 −0 Sales Mate/Streaming/StreamingApiClient.m
  80. +57 −0 Sales Mate/Streaming/UrlConnectionDelegate.h
  81. +99 −0 Sales Mate/Streaming/UrlConnectionDelegate.m
  82. +2 −0 Sales Mate/en.lproj/InfoPlist.strings
  83. +18 −0 Sales Mate/main.m
  84. +21 −0 Third Party/BBlock/UIImage+BBlock.h
  85. +52 −0 Third Party/BBlock/UIImage+BBlock.m
  86. +7 −0 Third Party/BBlock/license
  87. +16 −0 Third Party/DCIntrospect/DCCrossHairView.h
  88. +43 −0 Third Party/DCIntrospect/DCCrossHairView.m
  89. +55 −0 Third Party/DCIntrospect/DCFrameView.h
  90. +234 −0 Third Party/DCIntrospect/DCFrameView.m
  91. +155 −0 Third Party/DCIntrospect/DCIntrospect.h
  92. +1,642 −0 Third Party/DCIntrospect/DCIntrospect.m
  93. +56 −0 Third Party/DCIntrospect/DCIntrospectSettings.h
  94. +34 −0 Third Party/DCIntrospect/DCStatusBarOverlay.h
  95. +107 −0 Third Party/DCIntrospect/DCStatusBarOverlay.m
  96. +19 −0 Third Party/DCIntrospect/license.txt
  97. +875 −0 Third Party/InnerBand/InnerBand.h
  98. +3,002 −0 Third Party/InnerBand/InnerBand.m
  99. +224 −0 Third Party/InnerBand/README.md
  100. +20 −0 Third Party/NGTabBarController/LICENSE
  101. +44 −0 Third Party/NGTabBarController/NGTabBar.h
  102. +404 −0 Third Party/NGTabBarController/NGTabBar.m
  103. +51 −0 Third Party/NGTabBarController/NGTabBarController.h
  104. +713 −0 Third Party/NGTabBarController/NGTabBarController.m
  105. +18 −0 Third Party/NGTabBarController/NGTabBarControllerAnimation.h
  106. +36 −0 Third Party/NGTabBarController/NGTabBarControllerDelegate.h
  107. +24 −0 Third Party/NGTabBarController/NGTabBarItem.h
  108. +191 −0 Third Party/NGTabBarController/NGTabBarItem.m
  109. +25 −0 Third Party/NGTabBarController/NGTabBarPosition.h
  110. +8 −0 Third Party/NGTabBarController/Prefix.pch
  111. +15 −0 Third Party/NGTabBarController/UINavigationController+NGTabBarNavigationDelegate.h
  112. +26 −0 Third Party/NGTabBarController/UINavigationController+NGTabBarNavigationDelegate.m
  113. +21 −0 Third Party/NGTabBarController/UIViewController+NGTabBarItem.h
  114. +30 −0 Third Party/NGTabBarController/UIViewController+NGTabBarItem.m
  115. +9 −0 Third Party/PSStackedView/LICENSE
  116. +61 −0 Third Party/PSStackedView/PSSVContainerView.h
  117. +231 −0 Third Party/PSStackedView/PSSVContainerView.m
  118. +21 −0 Third Party/PSStackedView/PSStackedView.h
  119. +156 −0 Third Party/PSStackedView/PSStackedViewController.h
  120. +1,540 −0 Third Party/PSStackedView/PSStackedViewController.m
  121. +35 −0 Third Party/PSStackedView/PSStackedViewDelegate.h
  122. +72 −0 Third Party/PSStackedView/PSStackedViewGlobal.h
  123. +11 −0 Third Party/PSStackedView/PSStackedViewGlobal.m
  124. +13 −0 Third Party/PSStackedView/PSStackedViewSegue.h
  125. +20 −0 Third Party/PSStackedView/PSStackedViewSegue.m
  126. +23 −0 Third Party/PSStackedView/UIView+PSSizes.h
  127. +93 −0 Third Party/PSStackedView/UIView+PSSizes.m
  128. +26 −0 Third Party/PSStackedView/UIViewController+PSStackedView.h
  129. +51 −0 Third Party/PSStackedView/UIViewController+PSStackedView.m
  130. +24 −0 Third Party/SBJson/LICENSE.md
  131. +67 −0 Third Party/SBJson/NSObject+SBJson.h
  132. +58 −0 Third Party/SBJson/NSObject+SBJson.m
  133. +113 −0 Third Party/SBJson/SBJsonParser.h
  134. +120 −0 Third Party/SBJson/SBJsonParser.m
  135. +136 −0 Third Party/SBJson/SBJsonStreamParser.h
  136. +317 −0 Third Party/SBJson/SBJsonStreamParser.m
  137. +88 −0 Third Party/SBJson/SBJsonStreamParserAdapter.h
  138. +175 −0 Third Party/SBJson/SBJsonStreamParserAdapter.m
  139. +89 −0 Third Party/SBJson/SBJsonStreamParserState.h
  140. +370 −0 Third Party/SBJson/SBJsonStreamParserState.m
  141. +163 −0 Third Party/SBJson/SBJsonStreamWriter.h
  142. +372 −0 Third Party/SBJson/SBJsonStreamWriter.m
  143. +75 −0 Third Party/SBJson/SBJsonStreamWriterState.h
  144. +132 −0 Third Party/SBJson/SBJsonStreamWriterState.m
  145. +70 −0 Third Party/SBJson/SBJsonTokeniser.h
  146. +508 −0 Third Party/SBJson/SBJsonTokeniser.m
  147. +132 −0 Third Party/SBJson/SBJsonWriter.h
  148. +102 −0 Third Party/SBJson/SBJsonWriter.m
  149. +238 −0 Third Party/Salesforce/LICENSE.md
  150. +28 −0 Third Party/Salesforce/RestKit/include/RestKit/CoreData.h
  151. +32 −0 Third Party/Salesforce/RestKit/include/RestKit/Errors.h
  152. +73 −0 Third Party/Salesforce/RestKit/include/RestKit/FileMD5Hash.h
  153. +48 −0 Third Party/Salesforce/RestKit/include/RestKit/FileMD5Hash_Prefix.pch
  154. +186 −0 Third Party/Salesforce/RestKit/include/RestKit/GCOAuth.h
  155. +79 −0 Third Party/Salesforce/RestKit/include/RestKit/ISO8601DateFormatter.h
  156. +251 −0 Third Party/Salesforce/RestKit/include/RestKit/JSONKit.h
  157. +100 −0 Third Party/Salesforce/RestKit/include/RestKit/LCLNSLog.h
  158. +42 −0 Third Party/Salesforce/RestKit/include/RestKit/NSData+Base64.h
  159. +26 −0 Third Party/Salesforce/RestKit/include/RestKit/NSData+MD5.h
  160. +43 −0 Third Party/Salesforce/RestKit/include/RestKit/NSDictionary+RKAdditions.h
  161. +45 −0 Third Party/Salesforce/RestKit/include/RestKit/NSDictionary+RKRequestSerialization.h
  162. +183 −0 Third Party/Salesforce/RestKit/include/RestKit/NSManagedObject+ActiveRecord.h
  163. +26 −0 Third Party/Salesforce/RestKit/include/RestKit/NSString+MD5.h
  164. +137 −0 Third Party/Salesforce/RestKit/include/RestKit/NSString+RestKit.h
  165. +41 −0 Third Party/Salesforce/RestKit/include/RestKit/NSURL+RestKit.h
  166. +29 −0 Third Party/Salesforce/RestKit/include/RestKit/Network.h
  167. +28 −0 Third Party/Salesforce/RestKit/include/RestKit/ObjectMapping.h
  168. +31 −0 Third Party/Salesforce/RestKit/include/RestKit/RKAlert.h
  169. +652 −0 Third Party/Salesforce/RestKit/include/RestKit/RKClient.h
  170. +39 −0 Third Party/Salesforce/RestKit/include/RestKit/RKConfigurationDelegate.h
  171. +30 −0 Third Party/Salesforce/RestKit/include/RestKit/RKDirectory.h
  172. +78 −0 Third Party/Salesforce/RestKit/include/RestKit/RKDotNetDateFormatter.h
  173. +117 −0 Third Party/Salesforce/RestKit/include/RestKit/RKDynamicObjectMapping.h
  174. +35 −0 Third Party/Salesforce/RestKit/include/RestKit/RKErrorMessage.h
  175. +35 −0 Third Party/Salesforce/RestKit/include/RestKit/RKFixCategoryBug.h
  176. +26 −0 Third Party/Salesforce/RestKit/include/RestKit/RKJSONParserJSONKit.h
  177. +167 −0 Third Party/Salesforce/RestKit/include/RestKit/RKLog.h
  178. +35 −0 Third Party/Salesforce/RestKit/include/RestKit/RKMIMETypes.h
  179. +33 −0 Third Party/Salesforce/RestKit/include/RestKit/RKManagedObjectCache.h
  180. +47 −0 Third Party/Salesforce/RestKit/include/RestKit/RKManagedObjectLoader.h
  181. +93 −0 Third Party/Salesforce/RestKit/include/RestKit/RKManagedObjectMapping.h
  182. +30 −0 Third Party/Salesforce/RestKit/include/RestKit/RKManagedObjectMappingOperation.h
  183. +84 −0 Third Party/Salesforce/RestKit/include/RestKit/RKManagedObjectSeeder.h
  184. +149 −0 Third Party/Salesforce/RestKit/include/RestKit/RKManagedObjectStore.h
  185. +38 −0 Third Party/Salesforce/RestKit/include/RestKit/RKManagedObjectThreadSafeInvocation.h
  186. +64 −0 Third Party/Salesforce/RestKit/include/RestKit/RKMappingOperationQueue.h
  187. +36 −0 Third Party/Salesforce/RestKit/include/RestKit/RKNotifications.h
  188. +137 −0 Third Party/Salesforce/RestKit/include/RestKit/RKOAuthClient.h
  189. +49 −0 Third Party/Salesforce/RestKit/include/RestKit/RKObjectAttributeMapping.h
  190. +277 −0 Third Party/Salesforce/RestKit/include/RestKit/RKObjectLoader.h
  191. +31 −0 Third Party/Salesforce/RestKit/include/RestKit/RKObjectLoader_Internals.h
  192. +413 −0 Third Party/Salesforce/RestKit/include/RestKit/RKObjectManager.h
  193. +69 −0 Third Party/Salesforce/RestKit/include/RestKit/RKObjectMapper.h
  194. +29 −0 Third Party/Salesforce/RestKit/include/RestKit/RKObjectMapperError.h
  195. +28 −0 Third Party/Salesforce/RestKit/include/RestKit/RKObjectMapper_Private.h
  196. +571 −0 Third Party/Salesforce/RestKit/include/RestKit/RKObjectMapping.h
  197. +25 −0 Third Party/Salesforce/RestKit/include/RestKit/RKObjectMappingDefinition.h
  198. +103 −0 Third Party/Salesforce/RestKit/include/RestKit/RKObjectMappingOperation.h
  199. +278 −0 Third Party/Salesforce/RestKit/include/RestKit/RKObjectMappingProvider.h
  200. +39 −0 Third Party/Salesforce/RestKit/include/RestKit/RKObjectMappingResult.h
  201. +275 −0 Third Party/Salesforce/RestKit/include/RestKit/RKObjectPaginator.h
  202. +32 −0 Third Party/Salesforce/RestKit/include/RestKit/RKObjectPropertyInspector+CoreData.h
  203. +41 −0 Third Party/Salesforce/RestKit/include/RestKit/RKObjectPropertyInspector.h
  204. +39 −0 Third Party/Salesforce/RestKit/include/RestKit/RKObjectRelationshipMapping.h
  205. +75 −0 Third Party/Salesforce/RestKit/include/RestKit/RKObjectRouter.h
  206. +63 −0 Third Party/Salesforce/RestKit/include/RestKit/RKObjectSerializer.h
  207. +37 −0 Third Party/Salesforce/RestKit/include/RestKit/RKOrderedDictionary.h
  208. +120 −0 Third Party/Salesforce/RestKit/include/RestKit/RKParams.h
  209. +115 −0 Third Party/Salesforce/RestKit/include/RestKit/RKParamsAttachment.h
  210. +36 −0 Third Party/Salesforce/RestKit/include/RestKit/RKParser.h
  211. +65 −0 Third Party/Salesforce/RestKit/include/RestKit/RKParserRegistry.h
  212. +147 −0 Third Party/Salesforce/RestKit/include/RestKit/RKPathMatcher.h
  213. +217 −0 Third Party/Salesforce/RestKit/include/RestKit/RKReachabilityObserver.h
  214. +545 −0 Third Party/Salesforce/RestKit/include/RestKit/RKRequest.h
  215. +72 −0 Third Party/Salesforce/RestKit/include/RestKit/RKRequestCache.h
  216. +241 −0 Third Party/Salesforce/RestKit/include/RestKit/RKRequestQueue.h
  217. +65 −0 Third Party/Salesforce/RestKit/include/RestKit/RKRequestSerializable.h
  218. +50 −0 Third Party/Salesforce/RestKit/include/RestKit/RKRequestSerialization.h
  219. +24 −0 Third Party/Salesforce/RestKit/include/RestKit/RKRequest_Internals.h
  220. +273 −0 Third Party/Salesforce/RestKit/include/RestKit/RKResponse.h
  221. +34 −0 Third Party/Salesforce/RestKit/include/RestKit/RKRouter.h
  222. +94 −0 Third Party/Salesforce/RestKit/include/RestKit/RKSearchEngine.h
  223. +191 −0 Third Party/Salesforce/RestKit/include/RestKit/RKURL.h
  224. +37 −0 Third Party/Salesforce/RestKit/include/RestKit/RKXMLParserLibXML.h
  225. +7 −0 Third Party/Salesforce/RestKit/include/RestKit/RestKit-Prefix.pch
  226. +34 −0 Third Party/Salesforce/RestKit/include/RestKit/RestKit.h
  227. +214 −0 Third Party/Salesforce/RestKit/include/RestKit/SOCKit.h
  228. +28 −0 Third Party/Salesforce/RestKit/include/RestKit/Support.h
  229. +279 −0 Third Party/Salesforce/RestKit/include/RestKit/lcl.h
  230. +59 −0 Third Party/Salesforce/RestKit/include/RestKit/lcl_config_components.h
  231. +69 −0 Third Party/Salesforce/RestKit/include/RestKit/lcl_config_components.template.h
  232. +21 −0 Third Party/Salesforce/RestKit/include/RestKit/lcl_config_extensions.h
  233. +35 −0 Third Party/Salesforce/RestKit/include/RestKit/lcl_config_extensions.template.h
  234. +22 −0 Third Party/Salesforce/RestKit/include/RestKit/lcl_config_logger.h
  235. +80 −0 Third Party/Salesforce/RestKit/include/RestKit/lcl_config_logger.template.h
  236. BIN Third Party/Salesforce/RestKit/libRestKit.a
  237. +241 −0 Third Party/Salesforce/SalesforceOAuth/Headers/SalesforceOAuth/SFOAuthCoordinator.h
  238. +221 −0 Third Party/Salesforce/SalesforceOAuth/Headers/SalesforceOAuth/SFOAuthCredentials.h
  239. BIN Third Party/Salesforce/SalesforceOAuth/Libraries/libSalesforceOAuth.a
  240. +133 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/FMDatabase.h
  241. +102 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/FMResultSet.h
  242. +40 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/NSDictionary+NullHandling.h
  243. +38 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/SFApplication.h
  244. +44 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/SFAuthorizingViewController.h
  245. +126 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/SFIdentityCoordinator.h
  246. +229 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/SFIdentityData.h
  247. +64 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/SFJsonUtils.h
  248. +124 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/SFLogger.h
  249. +143 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/SFNativeRestAppDelegate.h
  250. +29 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/SFNativeRootViewController.h
  251. +241 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/SFOAuthCoordinator.h
  252. +221 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/SFOAuthCredentials.h
  253. +195 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/SFRestAPI+Blocks.h
  254. +124 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/SFRestAPI+QueryBuilder.h
  255. +307 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/SFRestAPI.h
  256. +144 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/SFRestRequest.h
  257. +234 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/SFSmartStore.h
  258. +105 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/SFSoupCursor.h
  259. +81 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/SFSoupIndex.h
  260. +122 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/SFSoupQuerySpec.h
  261. +7 −0 Third Party/Salesforce/SalesforceSDK/include/SalesforceSDK/SalesforceSDKConstants.h
  262. BIN Third Party/Salesforce/SalesforceSDK/libSalesforceSDK.a
  263. +88 −0 Third Party/TSMiniWebBrowser/README.markdown
  264. +85 −0 Third Party/TSMiniWebBrowser/TSMiniWebBrowser.h
  265. +417 −0 Third Party/TSMiniWebBrowser/TSMiniWebBrowser.m
  266. +173 −0 Third Party/TSMiniWebBrowser/TSMiniWebBrowser.xib
  267. BIN Third Party/TSMiniWebBrowser/images/back_icon.png
  268. BIN Third Party/TSMiniWebBrowser/images/back_icon@2x.png
  269. BIN Third Party/TSMiniWebBrowser/images/forward_icon.png
  270. BIN Third Party/TSMiniWebBrowser/images/forward_icon@2x.png
  271. BIN Third Party/TSMiniWebBrowser/images/reload_icon.png
  272. BIN Third Party/TSMiniWebBrowser/images/reload_icon@2x.png
  273. +22 −0 Third Party/XYPieChart/LICENSE.txt
  274. +65 −0 Third Party/XYPieChart/XYPieChart.h
  275. +663 −0 Third Party/XYPieChart/XYPieChart.m
@@ -0,0 +1,15 @@
+# Xcode
+build/*
+*.pbxuser
+!default.pbxuser
+*.mode1v3
+!default.mode1v3
+*.mode2v3
+!default.mode2v3
+*.perspectivev3
+!default.perspectivev3
+*.xcworkspace
+!default.xcworkspace
+xcuserdata
+profile
+*.moved-aside
@@ -0,0 +1,31 @@
+//
+// Address.h
+// Sales Mate
+//
+// Created by Thomas Hajcak Jr on 7/12/12.
+// Copyright (c) 2012 Mavens Consulting, Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <CoreData/CoreData.h>
+
+@class Lead;
+
+@interface Address : NSManagedObject
+
+@property (nonatomic, retain) NSString * street;
+@property (nonatomic, retain) NSString * city;
+@property (nonatomic, retain) NSString * state;
+@property (nonatomic, retain) NSString * postalCode;
+@property (nonatomic, retain) NSString * country;
+@property (nonatomic, retain) NSSet *lead;
+@end
+
+@interface Address (CoreDataGeneratedAccessors)
+
+- (void)addLeadObject:(Lead *)value;
+- (void)removeLeadObject:(Lead *)value;
+- (void)addLead:(NSSet *)values;
+- (void)removeLead:(NSSet *)values;
+
+@end
@@ -0,0 +1,22 @@
+//
+// Address.m
+// Sales Mate
+//
+// Created by Thomas Hajcak Jr on 7/12/12.
+// Copyright (c) 2012 Mavens Consulting, Inc. All rights reserved.
+//
+
+#import "Address.h"
+#import "Lead.h"
+
+
+@implementation Address
+
+@dynamic street;
+@dynamic city;
+@dynamic state;
+@dynamic postalCode;
+@dynamic country;
+@dynamic lead;
+
+@end
@@ -0,0 +1,32 @@
+//
+// Contact.h
+// Sales Mate
+//
+// Created by Thomas Hajcak Jr on 7/17/12.
+// Copyright (c) 2012 Mavens Consulting, Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <CoreData/CoreData.h>
+
+@class Address, Opportunity, SalesAccount;
+
+@interface Contact : NSManagedObject
+
+@property (nonatomic, retain) NSString * descriptionText;
+@property (nonatomic, retain) NSString * email;
+@property (nonatomic, retain) NSString * fax;
+@property (nonatomic, retain) NSNumber * geoLatitude;
+@property (nonatomic, retain) NSNumber * geoLongitude;
+@property (nonatomic, retain) NSString * homePhone;
+@property (nonatomic, retain) NSString * id;
+@property (nonatomic, retain) NSString * mobilePhone;
+@property (nonatomic, retain) NSString * name;
+@property (nonatomic, retain) NSString * phone;
+@property (nonatomic, retain) NSString * role;
+@property (nonatomic, retain) NSString * title;
+@property (nonatomic, retain) SalesAccount *account;
+@property (nonatomic, retain) Address *address;
+@property (nonatomic, retain) Opportunity *opportunity;
+
+@end
@@ -0,0 +1,33 @@
+//
+// Contact.m
+// Sales Mate
+//
+// Created by Thomas Hajcak Jr on 7/17/12.
+// Copyright (c) 2012 Mavens Consulting, Inc. All rights reserved.
+//
+
+#import "Contact.h"
+#import "Address.h"
+#import "Opportunity.h"
+#import "SalesAccount.h"
+
+
+@implementation Contact
+
+@dynamic descriptionText;
+@dynamic email;
+@dynamic fax;
+@dynamic geoLatitude;
+@dynamic geoLongitude;
+@dynamic homePhone;
+@dynamic id;
+@dynamic mobilePhone;
+@dynamic name;
+@dynamic phone;
+@dynamic role;
+@dynamic title;
+@dynamic account;
+@dynamic address;
+@dynamic opportunity;
+
+@end
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>_XCCurrentVersionName</key>
+ <string>CoreDataStore.xcdatamodel</string>
+</dict>
+</plist>
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<model name="" userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="1171" systemVersion="11E53" minimumToolsVersion="Xcode 4.1" macOSVersion="Automatic" iOSVersion="Automatic">
+ <entity name="Address" representedClassName="Address" syncable="YES">
+ <attribute name="city" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="country" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="postalCode" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="state" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="street" optional="YES" attributeType="String" syncable="YES"/>
+ <relationship name="contact" optional="YES" minCount="1" maxCount="1" deletionRule="Nullify" destinationEntity="Contact" inverseName="address" inverseEntity="Contact" syncable="YES"/>
+ <relationship name="lead" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Lead" inverseName="address" inverseEntity="Lead" syncable="YES"/>
+ </entity>
+ <entity name="Contact" representedClassName="Contact" syncable="YES">
+ <attribute name="descriptionText" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="email" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="fax" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="geoLatitude" optional="YES" attributeType="Double" defaultValueString="0.0" syncable="YES"/>
+ <attribute name="geoLongitude" optional="YES" attributeType="Double" defaultValueString="0.0" syncable="YES"/>
+ <attribute name="homePhone" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="id" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="mobilePhone" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="name" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="phone" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="role" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="title" optional="YES" attributeType="String" syncable="YES"/>
+ <relationship name="account" optional="YES" minCount="1" maxCount="1" deletionRule="Nullify" destinationEntity="SalesAccount" inverseName="contacts" inverseEntity="SalesAccount" syncable="YES"/>
+ <relationship name="address" optional="YES" minCount="1" maxCount="1" deletionRule="Nullify" destinationEntity="Address" inverseName="contact" inverseEntity="Address" syncable="YES"/>
+ <relationship name="opportunity" optional="YES" minCount="1" maxCount="1" deletionRule="Nullify" destinationEntity="Opportunity" inverseName="contacts" inverseEntity="Opportunity" syncable="YES"/>
+ </entity>
+ <entity name="Lead" representedClassName="Lead" syncable="YES">
+ <attribute name="annualRevenue" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
+ <attribute name="company" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="createdDate" optional="YES" attributeType="Date" syncable="YES"/>
+ <attribute name="descriptionText" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="doNotCall" optional="YES" attributeType="Boolean" syncable="YES"/>
+ <attribute name="email" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="emailOptOut" optional="YES" attributeType="Boolean" syncable="YES"/>
+ <attribute name="fax" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="faxOptOut" optional="YES" attributeType="Boolean" syncable="YES"/>
+ <attribute name="geoLatitude" optional="YES" attributeType="Double" defaultValueString="0.0" syncable="YES"/>
+ <attribute name="geoLongitude" optional="YES" attributeType="Double" defaultValueString="0.0" syncable="YES"/>
+ <attribute name="id" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="industry" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="lastModifiedDate" optional="YES" attributeType="Date" syncable="YES"/>
+ <attribute name="leadSource" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="leadStatus" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="mapImage" optional="YES" attributeType="Binary" syncable="YES"/>
+ <attribute name="mobilePhone" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="name" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="numberOfEmployees" optional="YES" attributeType="Integer 16" defaultValueString="0" syncable="YES"/>
+ <attribute name="phone" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="rating" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="title" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="website" optional="YES" attributeType="String" syncable="YES"/>
+ <relationship name="address" optional="YES" minCount="1" maxCount="1" deletionRule="Cascade" destinationEntity="Address" inverseName="lead" inverseEntity="Address" syncable="YES"/>
+ <relationship name="owner" optional="YES" minCount="1" maxCount="1" deletionRule="Nullify" destinationEntity="User" inverseName="lead" inverseEntity="User" syncable="YES"/>
+ </entity>
+ <entity name="Opportunity" representedClassName="Opportunity" syncable="YES">
+ <attribute name="amount" optional="YES" attributeType="Double" defaultValueString="0.0" syncable="YES"/>
+ <attribute name="closeDate" optional="YES" attributeType="Date" syncable="YES"/>
+ <attribute name="descriptionText" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="expectedRevenue" optional="YES" attributeType="Integer 32" defaultValueString="0.0" syncable="YES"/>
+ <attribute name="id" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="leadSource" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="name" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="nextStep" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="probability" optional="YES" attributeType="Integer 16" defaultValueString="0" syncable="YES"/>
+ <attribute name="quantity" optional="YES" attributeType="Integer 16" defaultValueString="0" syncable="YES"/>
+ <attribute name="stage" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="type" optional="YES" attributeType="String" syncable="YES"/>
+ <relationship name="account" optional="YES" minCount="1" maxCount="1" deletionRule="Nullify" destinationEntity="SalesAccount" inverseName="opportunities" inverseEntity="SalesAccount" syncable="YES"/>
+ <relationship name="contacts" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Contact" inverseName="opportunity" inverseEntity="Contact" syncable="YES"/>
+ </entity>
+ <entity name="SalesAccount" representedClassName="SalesAccount" syncable="YES">
+ <attribute name="annualRevenue" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
+ <attribute name="descriptionText" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="fax" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="geoLatitude" optional="YES" attributeType="Double" defaultValueString="0.0" syncable="YES"/>
+ <attribute name="geoLongitude" optional="YES" attributeType="Double" defaultValueString="0.0" syncable="YES"/>
+ <attribute name="id" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="industry" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="name" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="phone" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="type" optional="YES" attributeType="String" syncable="YES"/>
+ <attribute name="website" optional="YES" attributeType="String" syncable="YES"/>
+ <relationship name="contacts" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Contact" inverseName="account" inverseEntity="Contact" syncable="YES"/>
+ <relationship name="opportunities" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Opportunity" inverseName="account" inverseEntity="Opportunity" syncable="YES"/>
+ </entity>
+ <entity name="User" syncable="YES">
+ <relationship name="lead" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Lead" inverseName="owner" inverseEntity="Lead" syncable="YES"/>
+ </entity>
+ <elements>
+ <element name="Address" positionX="160" positionY="192" width="128" height="150"/>
+ <element name="Contact" positionX="160" positionY="192" width="128" height="270"/>
+ <element name="Lead" positionX="160" positionY="192" width="128" height="435"/>
+ <element name="Opportunity" positionX="160" positionY="192" width="128" height="255"/>
+ <element name="SalesAccount" positionX="160" positionY="192" width="128" height="240"/>
+ <element name="User" positionX="160" positionY="192" width="128" height="60"/>
+ </elements>
+</model>
@@ -0,0 +1,43 @@
+//
+// Lead.h
+// Sales Mate
+//
+// Created by Thomas Hajcak Jr on 7/18/12.
+// Copyright (c) 2012 Mavens Consulting, Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <CoreData/CoreData.h>
+
+@class Address;
+
+@interface Lead : NSManagedObject
+
+@property (nonatomic, retain) NSNumber * annualRevenue;
+@property (nonatomic, retain) NSString * company;
+@property (nonatomic, retain) NSString * descriptionText;
+@property (nonatomic, retain) NSNumber * doNotCall;
+@property (nonatomic, retain) NSString * email;
+@property (nonatomic, retain) NSNumber * emailOptOut;
+@property (nonatomic, retain) NSString * fax;
+@property (nonatomic, retain) NSNumber * faxOptOut;
+@property (nonatomic, retain) NSNumber * geoLatitude;
+@property (nonatomic, retain) NSNumber * geoLongitude;
+@property (nonatomic, retain) NSString * id;
+@property (nonatomic, retain) NSString * industry;
+@property (nonatomic, retain) NSDate * lastModifiedDate;
+@property (nonatomic, retain) NSString * leadSource;
+@property (nonatomic, retain) NSString * leadStatus;
+@property (nonatomic, retain) NSData * mapImage;
+@property (nonatomic, retain) NSString * mobilePhone;
+@property (nonatomic, retain) NSString * name;
+@property (nonatomic, retain) NSNumber * numberOfEmployees;
+@property (nonatomic, retain) NSString * phone;
+@property (nonatomic, retain) NSString * rating;
+@property (nonatomic, retain) NSString * title;
+@property (nonatomic, retain) NSString * website;
+@property (nonatomic, retain) NSDate * createdDate;
+@property (nonatomic, retain) Address *address;
+@property (nonatomic, retain) NSManagedObject *owner;
+
+@end
@@ -0,0 +1,42 @@
+//
+// Lead.m
+// Sales Mate
+//
+// Created by Thomas Hajcak Jr on 7/18/12.
+// Copyright (c) 2012 Mavens Consulting, Inc. All rights reserved.
+//
+
+#import "Lead.h"
+#import "Address.h"
+
+
+@implementation Lead
+
+@dynamic annualRevenue;
+@dynamic company;
+@dynamic descriptionText;
+@dynamic doNotCall;
+@dynamic email;
+@dynamic emailOptOut;
+@dynamic fax;
+@dynamic faxOptOut;
+@dynamic geoLatitude;
+@dynamic geoLongitude;
+@dynamic id;
+@dynamic industry;
+@dynamic lastModifiedDate;
+@dynamic leadSource;
+@dynamic leadStatus;
+@dynamic mapImage;
+@dynamic mobilePhone;
+@dynamic name;
+@dynamic numberOfEmployees;
+@dynamic phone;
+@dynamic rating;
+@dynamic title;
+@dynamic website;
+@dynamic createdDate;
+@dynamic address;
+@dynamic owner;
+
+@end
@@ -0,0 +1,39 @@
+//
+// Opportunity.h
+// Sales Mate
+//
+// Created by Thomas Hajcak Jr on 7/16/12.
+// Copyright (c) 2012 Mavens Consulting, Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <CoreData/CoreData.h>
+
+@class Contact, SalesAccount;
+
+@interface Opportunity : NSManagedObject
+
+@property (nonatomic, retain) NSNumber * amount;
+@property (nonatomic, retain) NSDate * closeDate;
+@property (nonatomic, retain) NSString * descriptionText;
+@property (nonatomic, retain) NSNumber * expectedRevenue;
+@property (nonatomic, retain) NSString * id;
+@property (nonatomic, retain) NSString * leadSource;
+@property (nonatomic, retain) NSString * name;
+@property (nonatomic, retain) NSString * nextStep;
+@property (nonatomic, retain) NSNumber * probability;
+@property (nonatomic, retain) NSNumber * quantity;
+@property (nonatomic, retain) NSString * stage;
+@property (nonatomic, retain) NSString * type;
+@property (nonatomic, retain) SalesAccount *account;
+@property (nonatomic, retain) NSSet *contacts;
+@end
+
+@interface Opportunity (CoreDataGeneratedAccessors)
+
+- (void)addContactsObject:(Contact *)value;
+- (void)removeContactsObject:(Contact *)value;
+- (void)addContacts:(NSSet *)values;
+- (void)removeContacts:(NSSet *)values;
+
+@end
Oops, something went wrong.

0 comments on commit 0def3a5

Please sign in to comment.