Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

new major version.

all the classes have been arcified, fixed up and made to compile for ios6 and/or osx108
  • Loading branch information...
commit a20bf1f39d39414cc994f044bc21d161643f328d 1 parent e51107d
Dominik Pich authored
Showing with 38,425 additions and 10 deletions.
  1. +405 −0 DDUtils-Common/model/DDASLQuery [ios+osx]/DDASLQuery.xcodeproj/project.pbxproj
  2. +100 −0 DDUtils-Common/model/DDASLQuery [ios+osx]/DDASLQuery/DDASLQuery.h
  3. +153 −0 DDUtils-Common/model/DDASLQuery [ios+osx]/DDASLQuery/DDASLQuery.m
  4. +25 −0 DDUtils-Common/model/DDASLQuery [ios+osx]/DDASLQuery/DDASLQueryMain.m
  5. +13 −0 DDUtils-Common/model/DDASLQuery [ios+osx]/SandboxedDemo/DDAppDelegate.h
  6. +25 −0 DDUtils-Common/model/DDASLQuery [ios+osx]/SandboxedDemo/DDAppDelegate.m
  7. +34 −0 DDUtils-Common/model/DDASLQuery [ios+osx]/SandboxedDemo/SandboxedDemo-Info.plist
  8. +7 −0 DDUtils-Common/model/DDASLQuery [ios+osx]/SandboxedDemo/SandboxedDemo-Prefix.pch
  9. +10 −0 DDUtils-Common/model/DDASLQuery [ios+osx]/SandboxedDemo/SandboxedDemo.entitlements
  10. +29 −0 DDUtils-Common/model/DDASLQuery [ios+osx]/SandboxedDemo/en.lproj/Credits.rtf
  11. +2 −0  DDUtils-Common/model/DDASLQuery [ios+osx]/SandboxedDemo/en.lproj/InfoPlist.strings
  12. +3,128 −0 DDUtils-Common/model/DDASLQuery [ios+osx]/SandboxedDemo/en.lproj/MainMenu.xib
  13. +14 −0 DDUtils-Common/model/DDASLQuery [ios+osx]/SandboxedDemo/main.m
  14. +66 −0 DDUtils-Common/model/DDBonjourServicesBrowser [ios+osx]/DDBonjourServicesBrowser.h
  15. +88 −0 DDUtils-Common/model/DDBonjourServicesBrowser [ios+osx]/DDBonjourServicesBrowser.m
  16. +226 −0 DDUtils-Common/model/DDChecksum [ios+osx]/DDChecksum.xcodeproj/project.pbxproj
  17. +17 −0 DDUtils-Common/model/DDChecksum [ios+osx]/DDChecksum/DDChecksum.h
  18. +54 −0 DDUtils-Common/model/DDChecksum [ios+osx]/DDChecksum/DDChecksum.m
  19. +26 −0 DDUtils-Common/model/DDChecksum [ios+osx]/DDChecksum/DDCheckumMain.m
  20. +19 −0 DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/DDAppDelegate.h
  21. +24 −0 DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/DDAppDelegate.m
  22. +45 −0 DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/DDEmbeddDataReaderIOS-Info.plist
  23. +17 −0 DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/DDEmbeddDataReaderIOS-Prefix.pch
  24. +13 −0 DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/DDViewController.h
  25. +39 −0 DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/DDViewController.m
  26. BIN  DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/Default-568h@2x.png
  27. BIN  DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/Default.png
  28. BIN  DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/Default@2x.png
  29. +18 −0 DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/main.m
  30. +460 −0 DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddedDataReader.xcodeproj/project.pbxproj
  31. +121 −0 DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddedDataReader/DDEmbeddedDataReader.h
  32. +420 −0 DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddedDataReader/DDEmbeddedDataReader.m
  33. +41 −0 DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddedDataReader/DDEmbeddedDataReaderMain.m
  34. +7 −0 DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddedDataReader/DDEmbeddedTestData.txt
  35. BIN  DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddedDataReader/DDEmbeddedTestImage.png
  36. +8 −0 DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddedDataReader/DDEmbeddedTestInfo.plist
  37. +30 −0 DDUtils-Common/model/DDFilterableArray [ios+osx]/DDFilterableArray.h
  38. +126 −0 DDUtils-Common/model/DDFilterableArray [ios+osx]/DDFilterableArray.m
  39. +246 −0 DDUtils-Common/model/DDFilterableArray [ios+osx]/filterableArrayDemo.xcodeproj/project.pbxproj
  40. +86 −0 DDUtils-Common/model/DDFilterableArray [ios+osx]/filterableArrayDemo/main.m
  41. +316 −0 DDUtils-Common/model/DDRecentItemsManager [ios+osx]/DDRecentItemsManager.xcodeproj/project.pbxproj
  42. +51 −0 DDUtils-Common/model/DDRecentItemsManager [ios+osx]/DDRecentItemsManager/DDRecentItemsManager.h
  43. +116 −0 DDUtils-Common/model/DDRecentItemsManager [ios+osx]/DDRecentItemsManager/DDRecentItemsManager.m
  44. +21 −0 DDUtils-Common/model/DDRecentItemsManager [ios+osx]/DDRecentItemsManagerDemo/DDAppDelegate.h
  45. +47 −0 DDUtils-Common/model/DDRecentItemsManager [ios+osx]/DDRecentItemsManagerDemo/DDAppDelegate.m
  46. +34 −0 ...ls-Common/model/DDRecentItemsManager [ios+osx]/DDRecentItemsManagerDemo/DDRecentItemsManagerDemo-Info.plist
  47. +7 −0 ...ls-Common/model/DDRecentItemsManager [ios+osx]/DDRecentItemsManagerDemo/DDRecentItemsManagerDemo-Prefix.pch
  48. +29 −0 DDUtils-Common/model/DDRecentItemsManager [ios+osx]/DDRecentItemsManagerDemo/en.lproj/Credits.rtf
  49. +2 −0  DDUtils-Common/model/DDRecentItemsManager [ios+osx]/DDRecentItemsManagerDemo/en.lproj/InfoPlist.strings
  50. +3,928 −0 DDUtils-Common/model/DDRecentItemsManager [ios+osx]/DDRecentItemsManagerDemo/en.lproj/MainMenu.xib
  51. +14 −0 DDUtils-Common/model/DDRecentItemsManager [ios+osx]/DDRecentItemsManagerDemo/main.m
  52. +23 −0 DDUtils-Common/model/DDSocialMessenger [ios+osx]/DDSocialMessenger.h
  53. +133 −0 DDUtils-Common/model/DDSocialMessenger [ios+osx]/DDSocialMessenger.m
  54. +31 −0 DDUtils-Common/model/DDXMLValidator [ios + osx]/DDXMLValidator/DDXMLValidator.h
  55. +257 −0 DDUtils-Common/model/DDXMLValidator [ios + osx]/DDXMLValidator/DDXMLValidator.m
  56. +272 −0 DDUtils-Common/model/DDXMLValidator [ios + osx]/DDXMLValidatorDemo.xcodeproj/project.pbxproj
  57. +36 −0 DDUtils-Common/model/DDXMLValidator [ios + osx]/DDXMLValidatorDemo/main.m
  58. +22 −0 DDUtils-Common/model/DDXMLValidator [ios + osx]/test.xml
  59. +27 −0 DDUtils-Common/model/DDXMLValidator [ios + osx]/test.xsd
  60. +42 −0 DDUtils-Common/model/M42AbstractCoreDataStack [ios+osx]/M42AbstractCoreDataStack.h
  61. +216 −0 DDUtils-Common/model/M42AbstractCoreDataStack [ios+osx]/M42AbstractCoreDataStack.m
  62. +225 −0 DDUtils-Common/model/M42RandomIndexPermutation [ios+osx]/M42RandomIndexPermutation.xcodeproj/project.pbxproj
  63. +25 −0 ...ils-Common/model/M42RandomIndexPermutation [ios+osx]/M42RandomIndexPermutation/M42RandomIndexPermutation.h
  64. +90 −0 ...ils-Common/model/M42RandomIndexPermutation [ios+osx]/M42RandomIndexPermutation/M42RandomIndexPermutation.m
  65. +40 −0 ...Common/model/M42RandomIndexPermutation [ios+osx]/M42RandomIndexPermutation/M42RandomIndexPermutationMain.m
  66. +19 −0 DDUtils-Common/model/NSArray+DDPerformAfterDelay [ios+osx]/NSArray+DDPerformAfterDelay.h
  67. +49 −0 DDUtils-Common/model/NSArray+DDPerformAfterDelay [ios+osx]/NSArray+DDPerformAfterDelay.m
  68. +16 −0 DDUtils-Common/model/NSDictionary+PostData [ios + osx]/NSDictionary+PostData.h
  69. +66 −0 DDUtils-Common/model/NSDictionary+PostData [ios + osx]/NSDictionary+PostData.m
  70. +14 −0 ...del/NSManagedObjectContext+RefreshObjectRecursive [ios+osx]/NSManagedObjectContext+RefreshObjectRecursive.h
  71. +55 −0 ...del/NSManagedObjectContext+RefreshObjectRecursive [ios+osx]/NSManagedObjectContext+RefreshObjectRecursive.m
  72. +240 −0 DDUtils-Common/model/NSObject+DDDump [ios+osx]/NSObject+DDDump.xcodeproj/project.pbxproj
  73. +20 −0 DDUtils-Common/model/NSObject+DDDump [ios+osx]/NSObject+DDDump/NSObject+DDDump.h
  74. +141 −0 DDUtils-Common/model/NSObject+DDDump [ios+osx]/NSObject+DDDump/NSObject+DDDump.m
  75. +20 −0 DDUtils-Common/model/NSObject+DDDump [ios+osx]/NSObject+DDDump/NSObject+DDDumpMain.m
  76. +240 −0 DDUtils-Common/model/NSObject+MethodSwizzle [ios+osx]/MethodSwizzleDemo.xcodeproj/project.pbxproj
  77. +43 −0 DDUtils-Common/model/NSObject+MethodSwizzle [ios+osx]/MethodSwizzleDemo/MethodSwizzleDemoMain.m
  78. +22 −0 DDUtils-Common/model/NSObject+MethodSwizzle [ios+osx]/NSObject+MethodSwizzle.h
  79. +58 −0 DDUtils-Common/model/NSObject+MethodSwizzle [ios+osx]/NSObject+MethodSwizzle.m
  80. +25 −0 DDUtils-Common/model/NSObject+TransparentKVC [ios+osx]/Demo/DemoDataStructures.h
  81. +79 −0 DDUtils-Common/model/NSObject+TransparentKVC [ios+osx]/Demo/DemoMain.m
  82. +13 −0 DDUtils-Common/model/NSObject+TransparentKVC [ios+osx]/NSObject+TransparentKVC.h
  83. +87 −0 DDUtils-Common/model/NSObject+TransparentKVC [ios+osx]/NSObject+TransparentKVC.m
  84. +432 −0 DDUtils-Common/model/NSObject+TransparentKVC [ios+osx]/TransparentKVC.xcodeproj/project.pbxproj
  85. +15 −0 DDUtils-Common/model/NSOperation+Duration [ios+osx]/NSOperation+Duration.h
  86. +98 −0 DDUtils-Common/model/NSOperation+Duration [ios+osx]/NSOperation+Duration.m
  87. +257 −0 DDUtils-Common/model/NSOperation+Duration [ios+osx]/NSOperationTimingTest.xcodeproj/project.pbxproj
  88. +133 −0 ...ils-Common/model/NSOperation+Duration [ios+osx]/NSOperationTimingTest/AFNetworking/AFHTTPRequestOperation.h
  89. +341 −0 ...ils-Common/model/NSOperation+Duration [ios+osx]/NSOperationTimingTest/AFNetworking/AFHTTPRequestOperation.m
  90. +295 −0 ...s-Common/model/NSOperation+Duration [ios+osx]/NSOperationTimingTest/AFNetworking/AFURLConnectionOperation.h
  91. +649 −0 ...s-Common/model/NSOperation+Duration [ios+osx]/NSOperationTimingTest/AFNetworking/AFURLConnectionOperation.m
  92. +75 −0 DDUtils-Common/model/NSOperation+Duration [ios+osx]/NSOperationTimingTest/main.m
  93. +15 −0 DDUtils-Common/model/NSOperation+UserInfo [ios+osx]/NSOperation+UserInfo.h
  94. +24 −0 DDUtils-Common/model/NSOperation+UserInfo [ios+osx]/NSOperation+UserInfo.m
  95. +257 −0 DDUtils-Common/model/NSOperation+UserInfo [ios+osx]/NSOperationUserInfoDemo.xcodeproj/project.pbxproj
  96. +133 −0 ...s-Common/model/NSOperation+UserInfo [ios+osx]/NSOperationUserInfoDemo/AFNetworking/AFHTTPRequestOperation.h
  97. +341 −0 ...s-Common/model/NSOperation+UserInfo [ios+osx]/NSOperationUserInfoDemo/AFNetworking/AFHTTPRequestOperation.m
  98. +295 −0 ...Common/model/NSOperation+UserInfo [ios+osx]/NSOperationUserInfoDemo/AFNetworking/AFURLConnectionOperation.h
  99. +649 −0 ...Common/model/NSOperation+UserInfo [ios+osx]/NSOperationUserInfoDemo/AFNetworking/AFURLConnectionOperation.m
  100. +77 −0 DDUtils-Common/model/NSOperation+UserInfo [ios+osx]/NSOperationUserInfoDemo/main.m
  101. +17 −0 DDUtils-Common/model/NSString+Entities [ios+osx]/NSMutableString+Entities.h
  102. +33 −0 DDUtils-Common/model/NSString+Entities [ios+osx]/NSMutableString+Entities.m
  103. +17 −0 DDUtils-Common/model/NSString+Entities [ios+osx]/NSString+Entities.h
  104. +27 −0 DDUtils-Common/model/NSString+Entities [ios+osx]/NSString+Entities.m
  105. +225 −0 DDUtils-Common/model/NSString+ValidateEmail [ios+osx]/NSString+ValidateEmail.xcodeproj/project.pbxproj
  106. +16 −0 DDUtils-Common/model/NSString+ValidateEmail [ios+osx]/NSString+ValidateEmail/NSString+ValidateEmail.h
  107. +83 −0 DDUtils-Common/model/NSString+ValidateEmail [ios+osx]/NSString+ValidateEmail/NSString+ValidateEmail.m
  108. +35 −0 DDUtils-Common/model/NSString+ValidateEmail [ios+osx]/NSString+ValidateEmail/ValidateEmailMain.m
  109. +229 −0 DDUtils-Common/model/NSString+advancedSplit [ios+osx]/NSString+advancedSplit.xcodeproj/project.pbxproj
  110. +27 −0 DDUtils-Common/model/NSString+advancedSplit [ios+osx]/NSString+advancedSplit/NSString+advancedSplit.h
  111. +91 −0 DDUtils-Common/model/NSString+advancedSplit [ios+osx]/NSString+advancedSplit/NSString+advancedSplit.m
  112. +16 −0 DDUtils-Common/model/NSString+advancedSplit [ios+osx]/NSString+advancedSplit/NSString+advancedSplitOLD.h
  113. +64 −0 DDUtils-Common/model/NSString+advancedSplit [ios+osx]/NSString+advancedSplit/NSString+advancedSplitOLD.m
  114. +45 −0 DDUtils-Common/model/NSString+advancedSplit [ios+osx]/NSString+advancedSplit/main.m
  115. +17 −0 DDUtils-Common/model/SKPaymentQueue+TransactionForProduct [ios+osx]/SKPaymentQueue+TransactionForProduct.h
  116. +40 −0 DDUtils-Common/model/SKPaymentQueue+TransactionForProduct [ios+osx]/SKPaymentQueue+TransactionForProduct.m
  117. +18 −0 DDUtils-Common/ui/DDRectUtilities [ios+osx]/DDRectUtilities.h
  118. +91 −0 DDUtils-Common/ui/DDRectUtilities [ios+osx]/DDRectUtilities.m
  119. +22 −0 DDUtils-Common/ui/NSAttributedString+DDConvenience [ios+osx]/NSAttributedString+DDConvenience.h
  120. +40 −0 DDUtils-Common/ui/NSAttributedString+DDConvenience [ios+osx]/NSAttributedString+DDConvenience.m
  121. +7 −0 DDUtils-IOS/model/DDMicBlowDetector [ios]/.gitignore
  122. +31 −0 DDUtils-IOS/model/DDMicBlowDetector [ios]/DDMicBlowDetector/DDMicBlowDetector.h
  123. +175 −0 DDUtils-IOS/model/DDMicBlowDetector [ios]/DDMicBlowDetector/DDMicBlowDetector.m
  124. BIN  DDUtils-IOS/model/DDMicBlowDetector [ios]/demo/Default-568h@2x.png
  125. BIN  DDUtils-IOS/model/DDMicBlowDetector [ios]/demo/Default.png
  126. BIN  DDUtils-IOS/model/DDMicBlowDetector [ios]/demo/Default@2x.png
  127. +2,071 −0 DDUtils-IOS/model/DDMicBlowDetector [ios]/demo/MainWindow.xib
  128. +30 −0 DDUtils-IOS/model/DDMicBlowDetector [ios]/demo/MicBlow-Info.plist
  129. +263 −0 DDUtils-IOS/model/DDMicBlowDetector [ios]/demo/MicBlow.xcodeproj/project.pbxproj
  130. +17 −0 DDUtils-IOS/model/DDMicBlowDetector [ios]/demo/MicBlowAppDelegate.h
  131. +36 −0 DDUtils-IOS/model/DDMicBlowDetector [ios]/demo/MicBlowAppDelegate.m
  132. +12 −0 DDUtils-IOS/model/DDMicBlowDetector [ios]/demo/MicBlowViewController.h
  133. +106 −0 DDUtils-IOS/model/DDMicBlowDetector [ios]/demo/MicBlowViewController.m
  134. +8 −0 DDUtils-IOS/model/DDMicBlowDetector [ios]/demo/MicBlow_Prefix.pch
  135. +17 −0 DDUtils-IOS/model/DDMicBlowDetector [ios]/demo/main.m
  136. +19 −0 DDUtils-IOS/model/UIFont+RegisterURL [ios]/UIFont+RegisterURL.h
  137. +80 −0 DDUtils-IOS/model/UIFont+RegisterURL [ios]/UIFont+RegisterURL.m
  138. +20 −0 DDUtils-IOS/ui (Disabled)/M42ClickableImagview & Label [ios]/M42ClickableImageView.h
  139. +26 −0 DDUtils-IOS/ui (Disabled)/M42ClickableImagview & Label [ios]/M42ClickableImageView.m
  140. +17 −0 DDUtils-IOS/ui (Disabled)/M42ClickableImagview & Label [ios]/M42ClickableLabel.h
  141. +28 −0 DDUtils-IOS/ui (Disabled)/M42ClickableImagview & Label [ios]/M42ClickableLabel.m
  142. +22 −0 DDUtils-IOS/ui/CalTodoServicesViewController [ios]/CalTodoServicesViewController.h
  143. +118 −0 DDUtils-IOS/ui/CalTodoServicesViewController [ios]/CalTodoServicesViewController.m
  144. +45 −0 DDUtils-IOS/ui/M42ActionSheet [ios]/M42ActionSheet.h
  145. +449 −0 DDUtils-IOS/ui/M42ActionSheet [ios]/M42ActionSheet.m
  146. +17 −0 DDUtils-IOS/ui/M42ActionSheet [ios]/M42ClickableImageView.h
  147. +29 −0 DDUtils-IOS/ui/M42ActionSheet [ios]/M42ClickableImageView.m
  148. +17 −0 DDUtils-IOS/ui/M42ActionSheet [ios]/M42ClickableLabel.h
  149. +29 −0 DDUtils-IOS/ui/M42ActionSheet [ios]/M42ClickableLabel.m
  150. +59 −0 DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/all-wcprops
  151. +334 −0 DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/entries
  152. +5 −0 DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/prop-base/button_blue.png.svn-base
  153. +5 −0 DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/prop-base/button_darkGray.png.svn-base
  154. +5 −0 DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/prop-base/button_green.png.svn-base
  155. +5 −0 DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/prop-base/button_lightGray.png.svn-base
  156. +5 −0 DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/prop-base/button_red.png.svn-base
  157. +5 −0 DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/prop-base/iPad-sheet_footer.png.svn-base
  158. +5 −0 DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/prop-base/iPad-sheet_header.png.svn-base
  159. +5 −0 DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/prop-base/iPad-sheet_side.png.svn-base
  160. +5 −0 DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/prop-base/sheet_header.png.svn-base
  161. BIN  DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/text-base/button_blue.png.svn-base
  162. BIN  DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/text-base/button_darkGray.png.svn-base
  163. BIN  DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/text-base/button_green.png.svn-base
  164. BIN  DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/text-base/button_lightGray.png.svn-base
  165. BIN  DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/text-base/button_red.png.svn-base
  166. BIN  DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/text-base/iPad-sheet_footer.png.svn-base
  167. BIN  DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/text-base/iPad-sheet_header.png.svn-base
  168. BIN  DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/text-base/iPad-sheet_side.png.svn-base
  169. BIN  DDUtils-IOS/ui/M42ActionSheet [ios]/resources/.svn/text-base/sheet_header.png.svn-base
  170. BIN  DDUtils-IOS/ui/M42ActionSheet [ios]/resources/button_blue.png
  171. BIN  DDUtils-IOS/ui/M42ActionSheet [ios]/resources/button_darkGray.png
  172. BIN  DDUtils-IOS/ui/M42ActionSheet [ios]/resources/button_green.png
  173. BIN  DDUtils-IOS/ui/M42ActionSheet [ios]/resources/button_lightGray.png
  174. BIN  DDUtils-IOS/ui/M42ActionSheet [ios]/resources/button_red.png
  175. BIN  DDUtils-IOS/ui/M42ActionSheet [ios]/resources/iPad-sheet_footer.png
  176. BIN  DDUtils-IOS/ui/M42ActionSheet [ios]/resources/iPad-sheet_header.png
  177. BIN  DDUtils-IOS/ui/M42ActionSheet [ios]/resources/iPad-sheet_side.png
  178. BIN  DDUtils-IOS/ui/M42ActionSheet [ios]/resources/sheet_header.png
  179. +19 −0 DDUtils-IOS/ui/M42LoadingScreenViewController [ios]/M42LoadingScreenViewController.h
  180. +71 −0 DDUtils-IOS/ui/M42LoadingScreenViewController [ios]/M42LoadingScreenViewController.m
  181. +27 −0 DDUtils-IOS/ui/M42PieChartView [ios]/M42PieChartView.h
  182. +117 −0 DDUtils-IOS/ui/M42PieChartView [ios]/M42PieChartView.m
  183. BIN  DDUtils-IOS/ui/M42PieChartView [ios]/resources/chart_overlay.png
  184. BIN  DDUtils-IOS/ui/M42PieChartView [ios]/resources/chart_overlay@2x.png
  185. +14 −0 DDUtils-IOS/ui/M42TabBarController [ios]/M42TabBarController.h
  186. +78 −0 DDUtils-IOS/ui/M42TabBarController [ios]/M42TabBarController.m
  187. +25 −0 DDUtils-IOS/ui/M42WebViewController [ios]/M42WebViewController.h
  188. +144 −0 DDUtils-IOS/ui/M42WebViewController [ios]/M42WebViewController.m
  189. +42 −0 DDUtils-IOS/ui/M42WebviewTableViewCell [ios]/M42WebviewTableViewCell.h
  190. +143 −0 DDUtils-IOS/ui/M42WebviewTableViewCell [ios]/M42WebviewTableViewCell.m
  191. +299 −0 DDUtils-IOS/ui/M42WebviewTableViewCell [ios]/M42WebviewTableViewCellDemo.xcodeproj/project.pbxproj
  192. +15 −0 DDUtils-IOS/ui/M42WebviewTableViewCell [ios]/M42WebviewTableViewCellDemo/AppDelegate.h
  193. +22 −0 DDUtils-IOS/ui/M42WebviewTableViewCell [ios]/M42WebviewTableViewCellDemo/AppDelegate.m
  194. +50 −0 ...ils-IOS/ui/M42WebviewTableViewCell [ios]/M42WebviewTableViewCellDemo/M42WebviewTableViewCellDemo-Info.plist
  195. +16 −0 ...ils-IOS/ui/M42WebviewTableViewCell [ios]/M42WebviewTableViewCellDemo/M42WebviewTableViewCellDemo-Prefix.pch
  196. +48 −0 DDUtils-IOS/ui/M42WebviewTableViewCell [ios]/M42WebviewTableViewCellDemo/Main.storyboard
  197. +13 −0 DDUtils-IOS/ui/M42WebviewTableViewCell [ios]/M42WebviewTableViewCellDemo/MasterViewController.h
  198. +91 −0 DDUtils-IOS/ui/M42WebviewTableViewCell [ios]/M42WebviewTableViewCellDemo/MasterViewController.m
  199. +18 −0 DDUtils-IOS/ui/M42WebviewTableViewCell [ios]/M42WebviewTableViewCellDemo/main.m
  200. +13 −0 DDUtils-IOS/ui/UIAlertView+UserInfo [ios]/UIAlertView+UserInfo.h
  201. +24 −0 DDUtils-IOS/ui/UIAlertView+UserInfo [ios]/UIAlertView+UserInfo.m
  202. +39 −0 DDUtils-IOS/ui/UIImage+DDBadge [ios]/UIImage+DDBadge.h
  203. +126 −0 DDUtils-IOS/ui/UIImage+DDBadge [ios]/UIImage+DDBadge.m
  204. +19 −0 DDUtils-IOS/ui/UIImage+DefaultImage [ios]/UIImage+DefaultImage.h
  205. +46 −0 DDUtils-IOS/ui/UIImage+DefaultImage [ios]/UIImage+DefaultImage.m
  206. +14 −0 DDUtils-IOS/ui/UIView+Border [ios]/UIView+Border.h
  207. +29 −0 DDUtils-IOS/ui/UIView+Border [ios]/UIView+Border.m
  208. +15 −0 DDUtils-IOS/ui/UIView+RenderedImage [ios]/UIView+RenderedImage.h
  209. +23 −0 DDUtils-IOS/ui/UIView+RenderedImage [ios]/UIView+RenderedImage.m
  210. +24 −0 DDUtils-IOS/ui/UIView+findSubview [ios]/UIView+findSubview.h
  211. +67 −0 DDUtils-IOS/ui/UIView+findSubview [ios]/UIView+findSubview.m
  212. +23 −0 DDUtils-OSX/model (Disabled)/DDUserNotificationCenterMonitor [osx]/DDUserNotificationCenterMonitor.h
  213. +118 −0 DDUtils-OSX/model (Disabled)/DDUserNotificationCenterMonitor [osx]/DDUserNotificationCenterMonitor.m
  214. +16 −0 DDUtils-OSX/model (Disabled)/NSFileManager+Count [osx]/NSFileManager+Count.h
  215. +34 −0 DDUtils-OSX/model (Disabled)/NSFileManager+Count [osx]/NSFileManager+Count.m
  216. +29 −0 DDUtils-OSX/model/DBPrefsWindowController [osx]/DBPrefsWindowController.h
  217. +330 −0 DDUtils-OSX/model/DBPrefsWindowController [osx]/DBPrefsWindowController.m
  218. +40 −0 DDUtils-OSX/model/DDLMUService [osx]/DDLMUService.h
  219. +232 −0 DDUtils-OSX/model/DDLMUService [osx]/DDLMUService.m
  220. +12 −0 DDUtils-OSX/model/DDOpenAtLoginController [osx]/DDOpenAtLoginController.h
  221. +86 −0 DDUtils-OSX/model/DDOpenAtLoginController [osx]/DDOpenAtLoginController.m
  222. +265 −0 DDUtils-OSX/model/DDPowerMonitor [osx]/DDPowerMonitor.xcodeproj/project.pbxproj
  223. +47 −0 DDUtils-OSX/model/DDPowerMonitor [osx]/DDPowerMonitor/DDPowerMonitor.h
  224. +186 −0 DDUtils-OSX/model/DDPowerMonitor [osx]/DDPowerMonitor/DDPowerMonitor.m
  225. +9 −0 DDUtils-OSX/model/DDPowerMonitor [osx]/DDPowerMonitorDemo/PowerMonitor-Prefix.pch
  226. +55 −0 DDUtils-OSX/model/DDPowerMonitor [osx]/DDPowerMonitorDemo/main.m
  227. +235 −0 DDUtils-OSX/model/DDTask [osx]/DDTask.xcodeproj/project.pbxproj
  228. +58 −0 DDUtils-OSX/model/DDTask [osx]/DDTask/DDTask.h
  229. +122 −0 DDUtils-OSX/model/DDTask [osx]/DDTask/DDTask.m
  230. +73 −0 DDUtils-OSX/model/DDTask [osx]/DDTask/DDTaskMain.m
  231. +226 −0 DDUtils-OSX/model/DDXcodeProject [osx]/DDXcodeProjectFile.xcodeproj/project.pbxproj
  232. +39 −0 DDUtils-OSX/model/DDXcodeProject [osx]/DDXcodeProjectFile/DDXcodeProjectFile.h
  233. +242 −0 DDUtils-OSX/model/DDXcodeProject [osx]/DDXcodeProjectFile/DDXcodeProjectFile.m
  234. +34 −0 DDUtils-OSX/model/DDXcodeProject [osx]/DDXcodeProjectFile/DDXcodeProjectFileMain.m
  235. +31 −0 DDUtils-OSX/model/NSWorkspace+runFileAtPath [osx]/NSWorkspace+runFileAtPath.h
  236. +88 −0 DDUtils-OSX/model/NSWorkspace+runFileAtPath [osx]/NSWorkspace+runFileAtPath.m
  237. +334 −0 DDUtils-OSX/ui/DDAddressPicker [osx]/DDAddressPicker.xcodeproj/project.pbxproj
  238. +399 −0 DDUtils-OSX/ui/DDAddressPicker [osx]/DDAddressPicker/AddressPicker.xib
  239. +62 −0 DDUtils-OSX/ui/DDAddressPicker [osx]/DDAddressPicker/DDAddressPicker.h
  240. +109 −0 DDUtils-OSX/ui/DDAddressPicker [osx]/DDAddressPicker/DDAddressPicker.m
  241. +19 −0 DDUtils-OSX/ui/DDAddressPicker [osx]/DDAddressPicker/NSView+findSubview.h
  242. +49 −0 DDUtils-OSX/ui/DDAddressPicker [osx]/DDAddressPicker/NSView+findSubview.m
  243. +34 −0 DDUtils-OSX/ui/DDAddressPicker [osx]/DDAddressPickerDemo/DDAddressPickerDemo-Info.plist
  244. +7 −0 DDUtils-OSX/ui/DDAddressPicker [osx]/DDAddressPickerDemo/DDAddressPickerDemo-Prefix.pch
  245. +21 −0 DDUtils-OSX/ui/DDAddressPicker [osx]/DDAddressPickerDemo/DDAppDelegate.h
  246. +39 −0 DDUtils-OSX/ui/DDAddressPicker [osx]/DDAddressPickerDemo/DDAppDelegate.m
  247. +29 −0 DDUtils-OSX/ui/DDAddressPicker [osx]/DDAddressPickerDemo/en.lproj/Credits.rtf
  248. +2 −0  DDUtils-OSX/ui/DDAddressPicker [osx]/DDAddressPickerDemo/en.lproj/InfoPlist.strings
  249. +3,443 −0 DDUtils-OSX/ui/DDAddressPicker [osx]/DDAddressPickerDemo/en.lproj/MainMenu.xib
  250. +14 −0 DDUtils-OSX/ui/DDAddressPicker [osx]/DDAddressPickerDemo/main.m
  251. +16 −0 DDUtils-OSX/ui/M42PinchableWebView [osx]/M42PinchableWebView.h
  252. +28 −0 DDUtils-OSX/ui/M42PinchableWebView [osx]/M42PinchableWebView.m
  253. +19 −0 DDUtils-OSX/ui/NSView+findSubview [osx]/NSView+findSubview.h
  254. +49 −0 DDUtils-OSX/ui/NSView+findSubview [osx]/NSView+findSubview.m
  255. +19 −0 DDUtils-OSX/ui/NSWindow+Fade [osx]/NSWindow+Fade.h
  256. +48 −0 DDUtils-OSX/ui/NSWindow+Fade [osx]/NSWindow+Fade.m
  257. +16 −0 DDUtils-OSX/ui/NSWindow+localize [osx]/NSWindow+localize.h
  258. +49 −0 DDUtils-OSX/ui/NSWindow+localize [osx]/NSWindow+localize.m
  259. +28 −0 DDUtils-OSX/ui/NSWorkspace+IconBadging [osx]/NSWorkspace+IconBadging/NSWorkspace+IconBadging.h
  260. +409 −0 DDUtils-OSX/ui/NSWorkspace+IconBadging [osx]/NSWorkspace+IconBadging/NSWorkspace+IconBadging.m
  261. +323 −0 DDUtils-OSX/ui/NSWorkspace+IconBadging [osx]/NSWorkspace+IconBadgingDemo.xcodeproj/project.pbxproj
  262. BIN  DDUtils-OSX/ui/NSWorkspace+IconBadging [osx]/NSWorkspace+IconBadgingDemo/BadgeIcons/folderbadge_error.icns
  263. BIN  DDUtils-OSX/ui/NSWorkspace+IconBadging [osx]/NSWorkspace+IconBadgingDemo/BadgeIcons/folderbadge_sync.icns
  264. BIN  DDUtils-OSX/ui/NSWorkspace+IconBadging [osx]/NSWorkspace+IconBadgingDemo/BadgeIcons/folderbadge_update.icns
  265. +19 −0 DDUtils-OSX/ui/NSWorkspace+IconBadging [osx]/NSWorkspace+IconBadgingDemo/DDAppDelegate.h
  266. +53 −0 DDUtils-OSX/ui/NSWorkspace+IconBadging [osx]/NSWorkspace+IconBadgingDemo/DDAppDelegate.m
  267. BIN  DDUtils-OSX/ui/NSWorkspace+IconBadging [osx]/NSWorkspace+IconBadgingDemo/IconsToBeBadged/Appicon.icns
  268. BIN  DDUtils-OSX/ui/NSWorkspace+IconBadging [osx]/NSWorkspace+IconBadgingDemo/IconsToBeBadged/Contacts.icns
  269. BIN  DDUtils-OSX/ui/NSWorkspace+IconBadging [osx]/NSWorkspace+IconBadgingDemo/IconsToBeBadged/Dropbox.icns
  270. +34 −0 ...ils-OSX/ui/NSWorkspace+IconBadging [osx]/NSWorkspace+IconBadgingDemo/NSWorkspace+IconBadgingDemo-Info.plist
  271. +7 −0 ...ils-OSX/ui/NSWorkspace+IconBadging [osx]/NSWorkspace+IconBadgingDemo/NSWorkspace+IconBadgingDemo-Prefix.pch
  272. +29 −0 DDUtils-OSX/ui/NSWorkspace+IconBadging [osx]/NSWorkspace+IconBadgingDemo/en.lproj/Credits.rtf
  273. +2 −0  DDUtils-OSX/ui/NSWorkspace+IconBadging [osx]/NSWorkspace+IconBadgingDemo/en.lproj/InfoPlist.strings
  274. +3,513 −0 DDUtils-OSX/ui/NSWorkspace+IconBadging [osx]/NSWorkspace+IconBadgingDemo/en.lproj/MainMenu.xib
  275. +14 −0 DDUtils-OSX/ui/NSWorkspace+IconBadging [osx]/NSWorkspace+IconBadgingDemo/main.m
  276. +2,012 −0 DDUtils.xcodeproj/project.pbxproj
  277. +59 −0 DDUtils.xcodeproj/xcshareddata/xcschemes/DDUtils-IOS.xcscheme
  278. +59 −0 DDUtils.xcodeproj/xcshareddata/xcschemes/DDUtils-OSX.xcscheme
  279. +19 −10 README.md
View
405 DDUtils-Common/model/DDASLQuery [ios+osx]/DDASLQuery.xcodeproj/project.pbxproj
@@ -0,0 +1,405 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ B42754DA15814C3A00328308 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B42754D915814C3A00328308 /* Foundation.framework */; };
+ B42754EB15814C8C00328308 /* DDASLQueryMain.m in Sources */ = {isa = PBXBuildFile; fileRef = B42754E815814C8C00328308 /* DDASLQueryMain.m */; };
+ B42754EC15814C8C00328308 /* DDASLQuery.m in Sources */ = {isa = PBXBuildFile; fileRef = B42754EA15814C8C00328308 /* DDASLQuery.m */; };
+ B43C61641602011E00977E34 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B43C61631602011E00977E34 /* Cocoa.framework */; };
+ B43C616E1602011E00977E34 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = B43C616C1602011E00977E34 /* InfoPlist.strings */; };
+ B43C61701602011E00977E34 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = B43C616F1602011E00977E34 /* main.m */; };
+ B43C61741602011E00977E34 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = B43C61721602011E00977E34 /* Credits.rtf */; };
+ B43C61771602011E00977E34 /* DDAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = B43C61761602011E00977E34 /* DDAppDelegate.m */; };
+ B43C617A1602011E00977E34 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = B43C61781602011E00977E34 /* MainMenu.xib */; };
+ B43C617F160201A400977E34 /* DDASLQuery.m in Sources */ = {isa = PBXBuildFile; fileRef = B42754EA15814C8C00328308 /* DDASLQuery.m */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ B42754D315814C3A00328308 /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = /usr/share/man/man1/;
+ dstSubfolderSpec = 0;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 1;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ B42754D515814C3A00328308 /* DDASLQuery */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = DDASLQuery; sourceTree = BUILT_PRODUCTS_DIR; };
+ B42754D915814C3A00328308 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ B42754E815814C8C00328308 /* DDASLQueryMain.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DDASLQueryMain.m; sourceTree = "<group>"; };
+ B42754E915814C8C00328308 /* DDASLQuery.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DDASLQuery.h; sourceTree = "<group>"; };
+ B42754EA15814C8C00328308 /* DDASLQuery.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DDASLQuery.m; sourceTree = "<group>"; };
+ B43C61611602011E00977E34 /* SandboxedDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SandboxedDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ B43C61631602011E00977E34 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
+ B43C61661602011E00977E34 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
+ B43C61671602011E00977E34 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
+ B43C61681602011E00977E34 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ B43C616B1602011E00977E34 /* SandboxedDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "SandboxedDemo-Info.plist"; sourceTree = "<group>"; };
+ B43C616D1602011E00977E34 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ B43C616F1602011E00977E34 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ B43C61711602011E00977E34 /* SandboxedDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SandboxedDemo-Prefix.pch"; sourceTree = "<group>"; };
+ B43C61731602011E00977E34 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = "<group>"; };
+ B43C61751602011E00977E34 /* DDAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DDAppDelegate.h; sourceTree = "<group>"; };
+ B43C61761602011E00977E34 /* DDAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DDAppDelegate.m; sourceTree = "<group>"; };
+ B43C61791602011E00977E34 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; };
+ B43C61801602039B00977E34 /* SandboxedDemo.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = SandboxedDemo.entitlements; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ B42754D215814C3A00328308 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ B42754DA15814C3A00328308 /* Foundation.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ B43C615E1602011E00977E34 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ B43C61641602011E00977E34 /* Cocoa.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ B42754CA15814C3A00328308 = {
+ isa = PBXGroup;
+ children = (
+ B42754E715814C8C00328308 /* DDASLQuery */,
+ B43C61691602011E00977E34 /* SandboxedDemo */,
+ B42754D815814C3A00328308 /* Frameworks */,
+ B42754D615814C3A00328308 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ B42754D615814C3A00328308 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ B42754D515814C3A00328308 /* DDASLQuery */,
+ B43C61611602011E00977E34 /* SandboxedDemo.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ B42754D815814C3A00328308 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ B42754D915814C3A00328308 /* Foundation.framework */,
+ B43C61631602011E00977E34 /* Cocoa.framework */,
+ B43C61651602011E00977E34 /* Other Frameworks */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ B42754E715814C8C00328308 /* DDASLQuery */ = {
+ isa = PBXGroup;
+ children = (
+ B42754E815814C8C00328308 /* DDASLQueryMain.m */,
+ B42754E915814C8C00328308 /* DDASLQuery.h */,
+ B42754EA15814C8C00328308 /* DDASLQuery.m */,
+ );
+ path = DDASLQuery;
+ sourceTree = "<group>";
+ };
+ B43C61651602011E00977E34 /* Other Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ B43C61661602011E00977E34 /* AppKit.framework */,
+ B43C61671602011E00977E34 /* CoreData.framework */,
+ B43C61681602011E00977E34 /* Foundation.framework */,
+ );
+ name = "Other Frameworks";
+ sourceTree = "<group>";
+ };
+ B43C61691602011E00977E34 /* SandboxedDemo */ = {
+ isa = PBXGroup;
+ children = (
+ B43C61801602039B00977E34 /* SandboxedDemo.entitlements */,
+ B43C61751602011E00977E34 /* DDAppDelegate.h */,
+ B43C61761602011E00977E34 /* DDAppDelegate.m */,
+ B43C61781602011E00977E34 /* MainMenu.xib */,
+ B43C616A1602011E00977E34 /* Supporting Files */,
+ );
+ path = SandboxedDemo;
+ sourceTree = "<group>";
+ };
+ B43C616A1602011E00977E34 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ B43C616B1602011E00977E34 /* SandboxedDemo-Info.plist */,
+ B43C616C1602011E00977E34 /* InfoPlist.strings */,
+ B43C616F1602011E00977E34 /* main.m */,
+ B43C61711602011E00977E34 /* SandboxedDemo-Prefix.pch */,
+ B43C61721602011E00977E34 /* Credits.rtf */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ B42754D415814C3A00328308 /* DDASLQuery */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = B42754E415814C3A00328308 /* Build configuration list for PBXNativeTarget "DDASLQuery" */;
+ buildPhases = (
+ B42754D115814C3A00328308 /* Sources */,
+ B42754D215814C3A00328308 /* Frameworks */,
+ B42754D315814C3A00328308 /* CopyFiles */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = DDASLQuery;
+ productName = M42ASLQuery;
+ productReference = B42754D515814C3A00328308 /* DDASLQuery */;
+ productType = "com.apple.product-type.tool";
+ };
+ B43C61601602011E00977E34 /* SandboxedDemo */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = B43C617D1602011E00977E34 /* Build configuration list for PBXNativeTarget "SandboxedDemo" */;
+ buildPhases = (
+ B43C615D1602011E00977E34 /* Sources */,
+ B43C615E1602011E00977E34 /* Frameworks */,
+ B43C615F1602011E00977E34 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = SandboxedDemo;
+ productName = SandboxedDemo;
+ productReference = B43C61611602011E00977E34 /* SandboxedDemo.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ B42754CC15814C3A00328308 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0430;
+ ORGANIZATIONNAME = "doo GmbH";
+ };
+ buildConfigurationList = B42754CF15814C3A00328308 /* Build configuration list for PBXProject "DDASLQuery" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = B42754CA15814C3A00328308;
+ productRefGroup = B42754D615814C3A00328308 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ B42754D415814C3A00328308 /* DDASLQuery */,
+ B43C61601602011E00977E34 /* SandboxedDemo */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ B43C615F1602011E00977E34 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ B43C616E1602011E00977E34 /* InfoPlist.strings in Resources */,
+ B43C61741602011E00977E34 /* Credits.rtf in Resources */,
+ B43C617A1602011E00977E34 /* MainMenu.xib in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ B42754D115814C3A00328308 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ B42754EB15814C8C00328308 /* DDASLQueryMain.m in Sources */,
+ B42754EC15814C8C00328308 /* DDASLQuery.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ B43C615D1602011E00977E34 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ B43C61701602011E00977E34 /* main.m in Sources */,
+ B43C61771602011E00977E34 /* DDAppDelegate.m in Sources */,
+ B43C617F160201A400977E34 /* DDASLQuery.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ B43C616C1602011E00977E34 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ B43C616D1602011E00977E34 /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+ B43C61721602011E00977E34 /* Credits.rtf */ = {
+ isa = PBXVariantGroup;
+ children = (
+ B43C61731602011E00977E34 /* en */,
+ );
+ name = Credits.rtf;
+ sourceTree = "<group>";
+ };
+ B43C61781602011E00977E34 /* MainMenu.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ B43C61791602011E00977E34 /* en */,
+ );
+ name = MainMenu.xib;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ B42754E215814C3A00328308 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ COPY_PHASE_STRIP = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = macosx;
+ };
+ name = Debug;
+ };
+ B42754E315814C3A00328308 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ COPY_PHASE_STRIP = YES;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ SDKROOT = macosx;
+ };
+ name = Release;
+ };
+ B42754E515814C3A00328308 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ PRODUCT_NAME = DDASLQuery;
+ };
+ name = Debug;
+ };
+ B42754E615814C3A00328308 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ PRODUCT_NAME = DDASLQuery;
+ };
+ name = Release;
+ };
+ B43C617B1602011E00977E34 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ CODE_SIGN_ENTITLEMENTS = SandboxedDemo/SandboxedDemo.entitlements;
+ CODE_SIGN_IDENTITY = "Mac Developer";
+ COMBINE_HIDPI_IMAGES = YES;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "SandboxedDemo/SandboxedDemo-Prefix.pch";
+ INFOPLIST_FILE = "SandboxedDemo/SandboxedDemo-Info.plist";
+ MACOSX_DEPLOYMENT_TARGET = 10.8;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ B43C617C1602011E00977E34 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ CODE_SIGN_ENTITLEMENTS = SandboxedDemo/SandboxedDemo.entitlements;
+ CODE_SIGN_IDENTITY = "Mac Developer";
+ COMBINE_HIDPI_IMAGES = YES;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "SandboxedDemo/SandboxedDemo-Prefix.pch";
+ INFOPLIST_FILE = "SandboxedDemo/SandboxedDemo-Info.plist";
+ MACOSX_DEPLOYMENT_TARGET = 10.8;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ B42754CF15814C3A00328308 /* Build configuration list for PBXProject "DDASLQuery" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ B42754E215814C3A00328308 /* Debug */,
+ B42754E315814C3A00328308 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ B42754E415814C3A00328308 /* Build configuration list for PBXNativeTarget "DDASLQuery" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ B42754E515814C3A00328308 /* Debug */,
+ B42754E615814C3A00328308 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ B43C617D1602011E00977E34 /* Build configuration list for PBXNativeTarget "SandboxedDemo" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ B43C617B1602011E00977E34 /* Debug */,
+ B43C617C1602011E00977E34 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = B42754CC15814C3A00328308 /* Project object */;
+}
View
100 DDUtils-Common/model/DDASLQuery [ios+osx]/DDASLQuery/DDASLQuery.h
@@ -0,0 +1,100 @@
+//
+// M42ReadLog.h
+// Medikamente
+//
+// Created by Dominik Pich on 2/27/11.
+// Copyright 2011 Medicus 42 GmbH. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+/** @file DDASLQuery.h */
+
+/**
+ * this object wraps ONE query against the built-in OS ASL log library.
+ * The query is mutable and can be executed many times.
+ * @warning the results of executes are not cached.
+ * @warning this class is not feature-complete and only reflects part of the ASL C library
+ */
+@interface DDASLQuery : NSObject
+{
+}
+
+/**
+ * The maximum number of seconds to go back in time
+ * @warning if nil, any message EVER matches
+ */
+@property(nonatomic, assign) NSTimeInterval seconds;
+
+/**
+ * the identifier the log entries must have
+ * Typically this is a processes name (often, same as executable)
+ * @warning if nil, any message matches
+ * @warning this class is limited
+ */
+@property(nonatomic, copy) NSString* identifier;
+
+/**
+ * the minimum 'severity' that messages must have to be matched.
+ * @warning It is ignored only when set to NSNotFound
+ */
+@property(nonatomic, assign) NSInteger minimumLogLevel;
+
+/**
+ * executes the asl query previously set up.
+ * @param returnDicts the class can return the results in two ways. Either as individual dictionaries (@see asl.h for keys) or as one string where each log message is one line
+ * @return an array of dictionaries or one string with N lines
+ */
+- (id)execute:(BOOL)returnDicts; //array of dicts / string;
+
+/**
+ * inits the query directly setting the search parameters
+ * @param seconds The maximum number of seconds to go back in time
+ * @param ident the identifier the log entries must have
+ * @param level the minimum 'severity' that messages must have to be matched.
+ * @return self or nil
+ */
+- (id)initSince:(NSTimeInterval)seconds
+ withIdentifier:(NSString*)ident
+ andMinLevel:(NSInteger)level;
+
+//---
+
+/**
+ * directly inits and executes a Query to ASL. It returns Dicitionaries for the entries that match
+ * @param seconds The maximum number of seconds to go back in time
+ * @param ident the identifier the log entries must have
+ * @param level the minimum 'severity' that messages must have to be matched.
+ * @return an array of dictionaries (@see asl.h for keys)
+ */
++ (NSArray*)entriesSince:(NSTimeInterval)seconds
+ withIdentifier:(NSString*)ident
+ andMinLevel:(NSInteger)level;
+
+/**
+ * directly inits and executes a Query to ASL. It returns Dicitionaries for the entries that match
+ * @param seconds The maximum number of seconds to go back in time
+ * @param ident the identifier the log entries must have
+ * @param level the minimum 'severity' that messages must have to be matched.
+ * @return one string where each log message is one line
+ */
++ (NSString*)stringSince:(NSTimeInterval)seconds
+ withIdentifier:(NSString*)ident
+ andMinLevel:(NSInteger)level;
+
+//many more thinkable, write can be done too
+//'DEMO'
+
+/**
+ * directly inits and executes a Query to ASL. It returns Dicitionaries for the entries with an identifier equal to current CFBundleName and which were logged in the last 24h
+ * @return an array of dictionaries (@see asl.h for keys)
+ */
++(NSArray*)appLogEntriesForLastDay;
+
+/**
+ * directly inits and executes a Query to ASL. It returns Dicitionaries for the entries with an identifier equal to current CFBundleName and which were logged in the last hour
+ * @return one string where each log message is one line
+ */
++(NSString*)appLogStringForLastHour;
+
+@end
View
153 DDUtils-Common/model/DDASLQuery [ios+osx]/DDASLQuery/DDASLQuery.m
@@ -0,0 +1,153 @@
+//
+// M42ReadLog.m
+// Medikamente
+//
+// Created by Dominik Pich on 2/27/11.
+// Copyright 2011 Medicus 42 GmbH. All rights reserved.
+//
+
+#import "DDASLQuery.h"
+#include <asl.h>
+
+@implementation DDASLQuery
+
+@synthesize seconds;
+@synthesize identifier;
+@synthesize minimumLogLevel;
+
+- (id)execute:(BOOL)returnDicts { //array of dicts / string;
+ aslmsg query = asl_new(ASL_TYPE_QUERY);
+
+ //criteria
+ if(identifier) {
+ asl_set_query(query, ASL_KEY_SENDER, [identifier UTF8String], ASL_QUERY_OP_EQUAL);
+ }
+
+ if(seconds) {
+ NSDate *startDate = [NSDate dateWithTimeIntervalSinceNow:-seconds];
+ NSString *logSince = [NSString stringWithFormat:@"%.0f", [startDate timeIntervalSince1970]];
+ asl_set_query(query, ASL_KEY_TIME, [logSince UTF8String], ASL_QUERY_OP_GREATER_EQUAL);
+ }
+
+ if(minimumLogLevel != NSNotFound) {
+ NSString *minLevel = nil;//[NSString stringWithFormat:@"%u", (flag ? ASL_LEVEL_ERR : ASL_LEVEL_NOTICE)];
+ asl_set_query(query, ASL_KEY_LEVEL, [minLevel UTF8String], ASL_QUERY_OP_LESS_EQUAL | ASL_QUERY_OP_NUMERIC);
+ }
+
+ //read
+ aslresponse r = asl_search(NULL, query);
+ asl_free(query);
+
+ NSMutableArray *dicts;
+ NSMutableString *string;
+ if(returnDicts) {
+ dicts = [NSMutableArray arrayWithCapacity:100];
+ string = nil;
+ }
+ else {
+ string = [NSMutableString stringWithCapacity:1000];
+ }
+
+ //convert each
+ aslmsg m = NULL;
+ while (NULL != (m = aslresponse_next(r)))
+ {
+ int i;
+ const char *key;
+ const char *val;
+ const char *sender = NULL;
+ const char *message = NULL;
+ const char *time = NULL;
+
+ NSMutableDictionary *dict;
+ if(returnDicts) {
+ dict = [[NSMutableDictionary alloc] init];
+ }
+
+ for (i = 0; (NULL != (key = asl_key(m, i))); i++)
+ {
+ if(returnDicts) {
+ val = asl_get(m, key);
+
+ [dict setObject:[NSString stringWithCString:val encoding:NSUTF8StringEncoding]
+ forKey:[NSString stringWithCString:key encoding:NSUTF8StringEncoding]];
+ }
+ else {
+ if(strcmp(key, ASL_KEY_SENDER)==0) {
+ sender = asl_get(m, key);
+ }
+ else if(strcmp(key, ASL_KEY_MSG)==0) {
+ message = asl_get(m, key);
+ }
+ else if(strcmp(key, ASL_KEY_TIME)==0) {
+ time = asl_get(m, key);
+ }
+ }
+
+ }
+
+ if(returnDicts) {
+ [dicts addObject:[NSDictionary dictionaryWithDictionary:dict]];
+ //[dict release];
+ }
+ else {
+ if(sender && message && time)
+ [string appendFormat:@"[%@] %s: %s\n", [NSDate dateWithTimeIntervalSince1970:atof(time)], sender, message];
+ else
+ [string appendString:@"???\n"];
+ }
+ }
+ aslresponse_free(r);
+
+ if(returnDicts) {
+ return dicts;
+ }
+ else {
+ return string;
+ }
+}
+
+- (id)initSince:(NSTimeInterval)secs
+ withIdentifier:(NSString *)ident
+ andMinLevel:(NSInteger)level {
+ self = [super init];
+ if(self) {
+ self.seconds = secs;
+ self.identifier = ident;
+ self.minimumLogLevel = level;
+ }
+ return self;
+}
+
+#pragma mark helpers
+
++ (NSArray*)entriesSince:(NSTimeInterval)seconds
+ withIdentifier:(NSString*)ident
+ andMinLevel:(NSInteger)level
+{
+ DDASLQuery *query = [[DDASLQuery alloc] initSince:seconds withIdentifier:ident andMinLevel:level];
+ return [query execute:YES];
+}
+
++ (NSString*)stringSince:(NSTimeInterval)seconds
+ withIdentifier:(NSString*)ident
+ andMinLevel:(NSInteger)level
+{
+ DDASLQuery *query = [[DDASLQuery alloc] initSince:seconds withIdentifier:ident andMinLevel:level];
+ return [query execute:NO];
+}
+
++(NSArray*)appLogEntriesForLastDay
+{
+ id i = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleName"];
+ NSTimeInterval t = 60*60*24;
+ return [DDASLQuery entriesSince:t withIdentifier:i andMinLevel:NSNotFound];
+}
+
++(NSString*)appLogStringForLastHour {
+ id i = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleName"];
+ NSTimeInterval t = 60*60*24;
+ return [DDASLQuery stringSince:t withIdentifier:i andMinLevel:NSNotFound];
+}
+
+@end
View
25 DDUtils-Common/model/DDASLQuery [ios+osx]/DDASLQuery/DDASLQueryMain.m
@@ -0,0 +1,25 @@
+//
+// main.m
+// M42ASLQuery
+//
+// Created by Dominik Pich on 07.06.12.
+// Copyright (c) 2012 doo GmbH. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import "DDASLQuery.h"
+
+int main(int argc, const char * argv[])
+{
+
+ @autoreleasepool {
+ id identifier = @"doo";
+
+ //AS STRING
+ NSLog(@"str: %@", [DDASLQuery stringSince:24*60*60 withIdentifier:identifier andMinLevel:NSNotFound]);
+// //OR DICTS :)
+ NSLog(@"dict %@", [DDASLQuery entriesSince:0 withIdentifier:identifier andMinLevel:NSNotFound]);
+ }
+ return 0;
+}
+
View
13 DDUtils-Common/model/DDASLQuery [ios+osx]/SandboxedDemo/DDAppDelegate.h
@@ -0,0 +1,13 @@
+//
+// DDAppDelegate.h
+// SandboxedDemo
+//
+// Created by Dominik Pich on 9/13/12.
+// Copyright (c) 2012 doo GmbH. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+@interface DDAppDelegate : NSObject <NSApplicationDelegate>
+
+@end
View
25 DDUtils-Common/model/DDASLQuery [ios+osx]/SandboxedDemo/DDAppDelegate.m
@@ -0,0 +1,25 @@
+//
+// DDAppDelegate.m
+// SandboxedDemo
+//
+// Created by Dominik Pich on 9/13/12.
+// Copyright (c) 2012 doo GmbH. All rights reserved.
+//
+
+#import "DDAppDelegate.h"
+#import "DDASLQuery.h"
+
+@implementation DDAppDelegate
+
+- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
+{
+ //DOESNT WORK when sandboxed, works if not
+ //also if identifier == own process or just using facility_key
+
+ id identifier = @"doo";
+
+ NSLog(@"str: %@", [DDASLQuery stringSince:24*60*60 withIdentifier:identifier andMinLevel:NSNotFound]);
+ [NSApp terminate:nil];
+}
+
+@end
View
34 DDUtils-Common/model/DDASLQuery [ios+osx]/SandboxedDemo/SandboxedDemo-Info.plist
@@ -0,0 +1,34 @@
+<?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>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIconFile</key>
+ <string></string>
+ <key>CFBundleIdentifier</key>
+ <string>info.pich.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1</string>
+ <key>LSMinimumSystemVersion</key>
+ <string>${MACOSX_DEPLOYMENT_TARGET}</string>
+ <key>NSHumanReadableCopyright</key>
+ <string>Copyright © 2012 doo GmbH. All rights reserved.</string>
+ <key>NSMainNibFile</key>
+ <string>MainMenu</string>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+</dict>
+</plist>
View
7 DDUtils-Common/model/DDASLQuery [ios+osx]/SandboxedDemo/SandboxedDemo-Prefix.pch
@@ -0,0 +1,7 @@
+//
+// Prefix header for all source files of the 'SandboxedDemo' target in the 'SandboxedDemo' project
+//
+
+#ifdef __OBJC__
+ #import <Cocoa/Cocoa.h>
+#endif
View
10 DDUtils-Common/model/DDASLQuery [ios+osx]/SandboxedDemo/SandboxedDemo.entitlements
@@ -0,0 +1,10 @@
+<?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>com.apple.security.app-sandbox</key>
+ <true/>
+ <key>com.apple.security.temporary-exception.files.absolute-path.read-only</key>
+ <string>/</string>
+</dict>
+</plist>
View
29 DDUtils-Common/model/DDASLQuery [ios+osx]/SandboxedDemo/en.lproj/Credits.rtf
@@ -0,0 +1,29 @@
+{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
+{\colortbl;\red255\green255\blue255;}
+\paperw9840\paperh8400
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
+
+\f0\b\fs24 \cf0 Engineering:
+\b0 \
+ Some people\
+\
+
+\b Human Interface Design:
+\b0 \
+ Some other people\
+\
+
+\b Testing:
+\b0 \
+ Hopefully not nobody\
+\
+
+\b Documentation:
+\b0 \
+ Whoever\
+\
+
+\b With special thanks to:
+\b0 \
+ Mom\
+}
View
2  DDUtils-Common/model/DDASLQuery [ios+osx]/SandboxedDemo/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
View
3,128 DDUtils-Common/model/DDASLQuery [ios+osx]/SandboxedDemo/en.lproj/MainMenu.xib
3,128 additions, 0 deletions not shown
View
14 DDUtils-Common/model/DDASLQuery [ios+osx]/SandboxedDemo/main.m
@@ -0,0 +1,14 @@
+//
+// main.m
+// SandboxedDemo
+//
+// Created by Dominik Pich on 9/13/12.
+// Copyright (c) 2012 doo GmbH. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+int main(int argc, char *argv[])
+{
+ return NSApplicationMain(argc, (const char **)argv);
+}
View
66 DDUtils-Common/model/DDBonjourServicesBrowser [ios+osx]/DDBonjourServicesBrowser.h
@@ -0,0 +1,66 @@
+//
+// DDBonjourServicesBrowser.h
+// calTodo
+//
+// Created by Dominik Pich on 15.10.08.
+// Copyright 2008 __MyCompanyName__. All rights reserved.
+//
+#import <Foundation/Foundation.h>
+
+#if TARGET_OS_IPHONE
+#import <UIKit/UIKit.h>
+#else
+#import <Cocoa/Cocoa.h>
+#endif
+
+/** @file DDBonjourServicesBrowser.h */
+
+/**
+ * name of notification sent by the browser when it finds new services / discards some
+ */
+extern NSString *DDBonjourServicesBrowserDidChangeServices;
+
+/**
+ * Class that can monitor the network and search/listen for bonjour services of a specific type
+ */
+@interface DDBonjourServicesBrowser : NSObject<NSNetServiceBrowserDelegate, NSNetServiceDelegate> {
+ NSString *type;
+ NSMutableArray *services;
+ NSNetServiceBrowser *browser;
+
+ NSNetService *stopAfterResoleOf;
+}
+/**
+ * the shared browser instance to use. Normally only one instance is needed because only one service type is interesting.
+ * @return the share browser
+ */
++ (id)defaultBrowser;
+
+/**
+ * starts the monitor for a certain type. stopping any the old search, discarding old array
+ * @param type the type of the services to search for
+ */
+- (void)beginSearchForType:(NSString*)aName;
+
+/**
+ * starts the monitor for a certain type. stopping any the old search, discarding old array
+ * @warning The Type is taken from the type property of the class.
+ */
+- (void)beginSearch;
+
+/**
+ * stops any search that's currently in progress BUT does not release the services array.
+ */
+- (void)stopSearch;
+
+/**
+ * the type of service this listener is interested in.
+ * @warning setting it while browser is started has no effect.
+ */
+@property(copy) NSString *type;
+
+/**
+ * Instances of NSNetService for every service that gets found.
+ */
+@property(readonly) NSMutableArray *services;
+@end
View
88 DDUtils-Common/model/DDBonjourServicesBrowser [ios+osx]/DDBonjourServicesBrowser.m
@@ -0,0 +1,88 @@
+//
+// DDBonjourServicesBrowser.m
+// calTodo
+//
+// Created by Dominik Pich on 15.10.08.
+// Copyright 2008 __MyCompanyName__. All rights reserved.
+//
+
+#import "DDBonjourServicesBrowser.h"
+
+NSString *DDBonjourServicesBrowserDidChangeServices = @"DDBonjourServicesBrowserDidChangeServices";
+
+static DDBonjourServicesBrowser *defaultBrowser;
+
+@implementation DDBonjourServicesBrowser
+
+@synthesize type;
+@synthesize services;
+
++ (id)defaultBrowser {
+ if(!defaultBrowser) {
+ defaultBrowser = [[[self class] alloc] init];
+ }
+ return defaultBrowser;
+}
+
+-(void)dealloc {
+ [self stopSearch];
+}
+
+- (void)beginSearchForType:(NSString*)aName {
+ [self stopSearch];
+ browser = [[NSNetServiceBrowser alloc] init];
+ browser.delegate = self;
+
+ services = [[NSMutableArray alloc] init];
+ [[NSNotificationCenter defaultCenter] postNotificationName:DDBonjourServicesBrowserDidChangeServices object:self];
+
+ [browser searchForServicesOfType:aName inDomain:@""];
+}
+
+- (void)beginSearch {
+ [self beginSearchForType:self.type];
+}
+
+- (void)stopSearch {
+ [browser stop];
+ browser = nil;
+}
+#pragma mark Net Service Browser Delegate Methods
+
+-(void)netServiceBrowser:(NSNetServiceBrowser *)aBrowser didFindService:(NSNetService *)aService moreComing:(BOOL)more {
+ //you can resolve in delegate
+ if(!more) {
+ stopAfterResoleOf = aService;
+ }
+ [self performSelector:@selector(resolveService:) withObject:aService afterDelay:0.5];
+}
+
+- (void)netServiceBrowser:(NSNetServiceBrowser *)aNetServiceBrowser didRemoveService:(NSNetService *)aNetService moreComing:(BOOL)moreComing {
+ [services removeObject:aNetService];
+ [[NSNotificationCenter defaultCenter] postNotificationName:DDBonjourServicesBrowserDidChangeServices object:self];
+}
+
+#pragma mark Net Service Delegate Methods
+
+- (void)resolveService:(NSNetService *)aService {
+ [aService setDelegate:self];
+ [aService resolveWithTimeout:120];
+}
+
+-(void)netServiceDidResolveAddress:(NSNetService *)aService {
+ [services addObject:aService];
+ [[NSNotificationCenter defaultCenter] postNotificationName:DDBonjourServicesBrowserDidChangeServices object:self];
+ if(stopAfterResoleOf == aService) {
+ stopAfterResoleOf = nil;
+ [self stopSearch];
+ }
+}
+
+-(void)netService:(NSNetService *)aService didNotResolve:(NSDictionary *)errorDict {
+ if(stopAfterResoleOf == aService) {
+ stopAfterResoleOf = nil;
+ [self stopSearch];
+ }
+}
+
+@end
View
226 DDUtils-Common/model/DDChecksum [ios+osx]/DDChecksum.xcodeproj/project.pbxproj
@@ -0,0 +1,226 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ B42E57A215813C1F00341FCE /* DDChecksum.m in Sources */ = {isa = PBXBuildFile; fileRef = B42E57A015813C1F00341FCE /* DDChecksum.m */; };
+ B42E57A315813C1F00341FCE /* DDCheckumMain.m in Sources */ = {isa = PBXBuildFile; fileRef = B42E57A115813C1F00341FCE /* DDCheckumMain.m */; };
+ B44FAAF61580EF180026A6D6 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B44FAAF51580EF180026A6D6 /* Foundation.framework */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ B44FAAEF1580EF180026A6D6 /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = /usr/share/man/man1/;
+ dstSubfolderSpec = 0;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 1;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ B42E579F15813C1F00341FCE /* DDChecksum.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DDChecksum.h; sourceTree = "<group>"; };
+ B42E57A015813C1F00341FCE /* DDChecksum.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DDChecksum.m; sourceTree = "<group>"; };
+ B42E57A115813C1F00341FCE /* DDCheckumMain.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DDCheckumMain.m; sourceTree = "<group>"; };
+ B44FAAF11580EF180026A6D6 /* DDChecksum */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = DDChecksum; sourceTree = BUILT_PRODUCTS_DIR; };
+ B44FAAF51580EF180026A6D6 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ B44FAAEE1580EF180026A6D6 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ B44FAAF61580EF180026A6D6 /* Foundation.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ B42E579E15813C1F00341FCE /* DDChecksum */ = {
+ isa = PBXGroup;
+ children = (
+ B42E579F15813C1F00341FCE /* DDChecksum.h */,
+ B42E57A015813C1F00341FCE /* DDChecksum.m */,
+ B42E57A115813C1F00341FCE /* DDCheckumMain.m */,
+ );
+ path = DDChecksum;
+ sourceTree = "<group>";
+ };
+ B44FAAE61580EF180026A6D6 = {
+ isa = PBXGroup;
+ children = (
+ B42E579E15813C1F00341FCE /* DDChecksum */,
+ B44FAAF41580EF180026A6D6 /* Frameworks */,
+ B44FAAF21580EF180026A6D6 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ B44FAAF21580EF180026A6D6 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ B44FAAF11580EF180026A6D6 /* DDChecksum */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ B44FAAF41580EF180026A6D6 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ B44FAAF51580EF180026A6D6 /* Foundation.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ B44FAAF01580EF180026A6D6 /* DDChecksum */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = B44FAB001580EF180026A6D6 /* Build configuration list for PBXNativeTarget "DDChecksum" */;
+ buildPhases = (
+ B44FAAED1580EF180026A6D6 /* Sources */,
+ B44FAAEE1580EF180026A6D6 /* Frameworks */,
+ B44FAAEF1580EF180026A6D6 /* CopyFiles */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = DDChecksum;
+ productName = DDDChecksum;
+ productReference = B44FAAF11580EF180026A6D6 /* DDChecksum */;
+ productType = "com.apple.product-type.tool";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ B44FAAE81580EF180026A6D6 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0430;
+ ORGANIZATIONNAME = "doo GmbH";
+ };
+ buildConfigurationList = B44FAAEB1580EF180026A6D6 /* Build configuration list for PBXProject "DDChecksum" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = B44FAAE61580EF180026A6D6;
+ productRefGroup = B44FAAF21580EF180026A6D6 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ B44FAAF01580EF180026A6D6 /* DDChecksum */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXSourcesBuildPhase section */
+ B44FAAED1580EF180026A6D6 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ B42E57A215813C1F00341FCE /* DDChecksum.m in Sources */,
+ B42E57A315813C1F00341FCE /* DDCheckumMain.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+ B44FAAFE1580EF180026A6D6 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ COPY_PHASE_STRIP = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = macosx;
+ };
+ name = Debug;
+ };
+ B44FAAFF1580EF180026A6D6 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ COPY_PHASE_STRIP = YES;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ SDKROOT = macosx;
+ };
+ name = Release;
+ };
+ B44FAB011580EF180026A6D6 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ PRODUCT_NAME = DDChecksum;
+ };
+ name = Debug;
+ };
+ B44FAB021580EF180026A6D6 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ PRODUCT_NAME = DDChecksum;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ B44FAAEB1580EF180026A6D6 /* Build configuration list for PBXProject "DDChecksum" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ B44FAAFE1580EF180026A6D6 /* Debug */,
+ B44FAAFF1580EF180026A6D6 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ B44FAB001580EF180026A6D6 /* Build configuration list for PBXNativeTarget "DDChecksum" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ B44FAB011580EF180026A6D6 /* Debug */,
+ B44FAB021580EF180026A6D6 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = B44FAAE81580EF180026A6D6 /* Project object */;
+}
View
17 DDUtils-Common/model/DDChecksum [ios+osx]/DDChecksum/DDChecksum.h
@@ -0,0 +1,17 @@
+//
+// DDChecksum.h
+// Created by Dominik Pich on 26.03.11.
+//
+#import <Foundation/Foundation.h>
+
+typedef enum _DDChecksumType {
+ DDChecksumTypeMD5,
+ DDChecksumTypeSha512
+ /*...any CC algo can be used*/
+} DDChecksumType;
+
+@interface DDChecksum : NSObject
+
++ (NSString *)checksum:(DDChecksumType)type forData:(NSData*)data;
+
+@end
View
54 DDUtils-Common/model/DDChecksum [ios+osx]/DDChecksum/DDChecksum.m
@@ -0,0 +1,54 @@
+//
+// DDChecksum.m
+// Created by Dominik Pich on 26.03.11.
+//
+#import "DDChecksum.h"
+#import <CommonCrypto/CommonDigest.h>
+
+@implementation DDChecksum
+
+#pragma mark sha
+
++ (NSString *)hexForDigest:(unsigned char*)ret ofLength:(int)l
+{
+ if(ret && l>0)
+ {
+ NSMutableString* output = [NSMutableString stringWithCapacity:l * 2];
+
+ for(int i = 0; i < l; i++)
+ [output appendFormat:@"%02x", ret[i]];
+
+ return output;
+ }
+ return nil;
+}
+
++ (NSString *)checksum:(DDChecksumType)type forData:(NSData *)data
+{
+ unsigned char *ret = nil;
+ int l = 0;
+
+ switch (type) {
+ case DDChecksumTypeSha512:
+ {
+ l = CC_SHA512_DIGEST_LENGTH;
+ unsigned char digest[CC_SHA512_DIGEST_LENGTH];
+ ret = CC_SHA512([data bytes], (CC_LONG)[data length], digest);
+ break;
+ }
+
+ case DDChecksumTypeMD5:
+ {
+ l = CC_MD5_DIGEST_LENGTH;
+ unsigned char digest[CC_MD5_DIGEST_LENGTH];
+ ret = CC_MD5([data bytes], (CC_LONG)[data length], digest);
+ }
+
+ default:
+ break;
+ }
+
+ return [self hexForDigest:ret ofLength:l];
+}
+
+@end
View
26 DDUtils-Common/model/DDChecksum [ios+osx]/DDChecksum/DDCheckumMain.m
@@ -0,0 +1,26 @@
+//
+// main.m
+// DDDChecksum
+//
+// Created by Dominik Pich on 07.06.12.
+// Copyright (c) 2012 doo GmbH. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import "DDChecksum.h"
+
+int main(int argc, const char * argv[])
+{
+
+ @autoreleasepool {
+ id str = @"Hello World";
+ id d = [str dataUsingEncoding:NSUTF8StringEncoding];
+
+ id s = [DDChecksum checksum:DDChecksumTypeMD5 forData:d];
+ id s2 = [DDChecksum checksum:DDChecksumTypeSha512 forData:d];
+
+ NSLog(@"%@:\nmd5 %@\nsha 512: %@", str, s, s2);
+ }
+ return 0;
+}
+
View
19 DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/DDAppDelegate.h
@@ -0,0 +1,19 @@
+//
+// DDAppDelegate.h
+// DDEmbeddDataReaderIOS
+//
+// Created by Dominik Pich on 02.03.13.
+// Copyright (c) 2013 doo GmbH. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@class DDViewController;
+
+@interface DDAppDelegate : UIResponder <UIApplicationDelegate>
+
+@property (strong, nonatomic) UIWindow *window;
+
+@property (strong, nonatomic) DDViewController *viewController;
+
+@end
View
24 DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/DDAppDelegate.m
@@ -0,0 +1,24 @@
+//
+// DDAppDelegate.m
+// DDEmbeddDataReaderIOS
+//
+// Created by Dominik Pich on 02.03.13.
+// Copyright (c) 2013 doo GmbH. All rights reserved.
+//
+
+#import "DDAppDelegate.h"
+
+#import "DDViewController.h"
+
+@implementation DDAppDelegate
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
+{
+ self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
+ self.viewController = [[DDViewController alloc] initWithNibName:nil bundle:nil];
+ self.window.rootViewController = self.viewController;
+ [self.window makeKeyAndVisible];
+ return YES;
+}
+
+@end
View
45 ...del/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/DDEmbeddDataReaderIOS-Info.plist
@@ -0,0 +1,45 @@
+<?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>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleDisplayName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIdentifier</key>
+ <string>info.pich.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>UIRequiredDeviceCapabilities</key>
+ <array>
+ <string>armv7</string>
+ </array>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+ <key>UISupportedInterfaceOrientations~ipad</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+</dict>
+</plist>
View
17 ...del/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/DDEmbeddDataReaderIOS-Prefix.pch
@@ -0,0 +1,17 @@
+//
+// Prefix header for all source files of the 'DDEmbeddDataReaderIOS' target in the 'DDEmbeddDataReaderIOS' project
+//
+
+#import <Availability.h>
+
+#ifndef __IPHONE_4_0
+#warning "This project uses features only available in iOS SDK 4.0 and later."
+#endif
+
+#ifdef __OBJC__
+ #import <UIKit/UIKit.h>
+ #import <Foundation/Foundation.h>
+#endif
+
+#define PATH_MAX 1024 /* max bytes in pathname */
+#define MAXPATHLEN PATH_MAX
View
13 DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/DDViewController.h
@@ -0,0 +1,13 @@
+//
+// DDViewController.h
+// DDEmbeddDataReaderIOS
+//
+// Created by Dominik Pich on 02.03.13.
+// Copyright (c) 2013 doo GmbH. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface DDViewController : UIViewController
+
+@end
View
39 DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/DDViewController.m
@@ -0,0 +1,39 @@
+//
+// DDViewController.m
+// DDEmbeddDataReaderIOS
+//
+// Created by Dominik Pich on 02.03.13.
+// Copyright (c) 2013 doo GmbH. All rights reserved.
+//
+
+#import "DDViewController.h"
+#import "DDEmbeddedDataReader.h"
+
+@implementation DDViewController
+
+- (void)viewDidLoad
+{
+ [super viewDidLoad];
+
+ //plist 1
+ id plist = [DDEmbeddedDataReader defaultEmbeddedPlist:nil];
+ NSLog(@"plist: %@", plist);
+
+ //text data
+ NSData *data = [DDEmbeddedDataReader embeddedDataFromSection:@"__testData" error:nil];
+ NSString *string = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
+ NSLog(@"text: %@", string);
+
+ //image data
+ data = [DDEmbeddedDataReader embeddedDataFromSegment:@"__IMG" inSection:@"__testImg" error:nil];
+ NSLog(@"image data no of bytes: %u", data.length);
+
+ //show the image
+ UIImage *image = [UIImage imageWithData:data];
+ UIImageView *view = [[UIImageView alloc] initWithImage:image];
+ [self.view addSubview:view];
+ view.contentMode = UIViewContentModeScaleAspectFit;
+ view.frame = self.view.bounds;
+}
+
+@end
View
BIN  ...ils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/Default-568h@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/Default.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/Default@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
18 DDUtils-Common/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddDataReaderIOS/main.m
@@ -0,0 +1,18 @@
+//
+// main.m
+// DDEmbeddDataReaderIOS
+//
+// Created by Dominik Pich on 02.03.13.
+// Copyright (c) 2013 doo GmbH. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+#import "DDAppDelegate.h"
+
+int main(int argc, char *argv[])
+{
+ @autoreleasepool {
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([DDAppDelegate class]));
+ }
+}
View
460 ...ommon/model/DDEmbeddedDataReader [ios+osx]/DDEmbeddedDataReader.xcodeproj/project.pbxproj
@@ -0,0 +1,460 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ B394735C16E2019A001BF675 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B394735B16E2019A001BF675 /* UIKit.framework */; };
+ B394735D16E2019A001BF675 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B44C4557158699BD00D4CABE /* Foundation.framework */; };
+ B394735F16E2019A001BF675 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B394735E16E2019A001BF675 /* CoreGraphics.framework */; };
+ B394736716E2019A001BF675 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = B394736616E2019A001BF675 /* main.m */; };
+ B394736B16E2019A001BF675 /* DDAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = B394736A16E2019A001BF675 /* DDAppDelegate.m */; };
+ B394736D16E2019A001BF675 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = B394736C16E2019A001BF675 /* Default.png */; };
+ B394736F16E2019A001BF675 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = B394736E16E2019A001BF675 /* Default@2x.png */; };
+ B394737116E2019A001BF675 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = B394737016E2019A001BF675 /* Default-568h@2x.png */; };
+ B394737416E2019A001BF675 /* DDViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = B394737316E2019A001BF675 /* DDViewController.m */; };
+ B394737E16E201B4001BF675 /* DDEmbeddedDataReader.m in Sources */ = {isa = PBXBuildFile; fileRef = B44C456615869A2700D4CABE /* DDEmbeddedDataReader.m */; };
+ B44C4558158699BD00D4CABE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B44C4557158699BD00D4CABE /* Foundation.framework */; };
+ B44C456815869A2700D4CABE /* DDEmbeddedDataReader.m in Sources */ = {isa = PBXBuildFile; fileRef = B44C456615869A2700D4CABE /* DDEmbeddedDataReader.m */; };
+ B44C456915869A2700D4CABE /* DDEmbeddedDataReaderMain.m in Sources */ = {isa = PBXBuildFile; fileRef = B44C456715869A2700D4CABE /* DDEmbeddedDataReaderMain.m */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ B44C4551158699BD00D4CABE /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = /usr/share/man/man1/;
+ dstSubfolderSpec = 0;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 1;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ B394735A16E2019A001BF675 /* DDEmbeddDataReaderIOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DDEmbeddDataReaderIOS.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ B394735B16E2019A001BF675 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; };
+ B394735E16E2019A001BF675 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = Library/Frameworks/CoreGraphics.framework; sourceTree = DEVELOPER_DIR; };
+ B394736216E2019A001BF675 /* DDEmbeddDataReaderIOS-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "DDEmbeddDataReaderIOS-Info.plist"; sourceTree = "<group>"; };
+ B394736616E2019A001BF675 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ B394736816E2019A001BF675 /* DDEmbeddDataReaderIOS-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "DDEmbeddDataReaderIOS-Prefix.pch"; sourceTree = "<group>"; };
+ B394736916E2019A001BF675 /* DDAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DDAppDelegate.h; sourceTree = "<group>"; };
+ B394736A16E2019A001BF675 /* DDAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DDAppDelegate.m; sourceTree = "<group>"; };
+ B394736C16E2019A001BF675 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
+ B394736E16E2019A001BF675 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
+ B394737016E2019A001BF675 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
+ B394737216E2019A001BF675 /* DDViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DDViewController.h; sourceTree = "<group>"; };
+ B394737316E2019A001BF675 /* DDViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DDViewController.m; sourceTree = "<group>"; };
+ B44C4553158699BD00D4CABE /* DDEmbeddedDataReader */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = DDEmbeddedDataReader; sourceTree = BUILT_PRODUCTS_DIR; };
+ B44C4557158699BD00D4CABE /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ B44C456515869A2700D4CABE /* DDEmbeddedDataReader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DDEmbeddedDataReader.h; sourceTree = "<group>"; };
+ B44C456615869A2700D4CABE /* DDEmbeddedDataReader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DDEmbeddedDataReader.m; sourceTree = "<group>"; };
+ B44C456715869A2700D4CABE /* DDEmbeddedDataReaderMain.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DDEmbeddedDataReaderMain.m; sourceTree = "<group>"; };
+ B460E04215B4B49100E7EB51 /* DDEmbeddedTestData.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = DDEmbeddedTestData.txt; sourceTree = "<group>"; };
+ B460E04415B4B83600E7EB51 /* DDEmbeddedTestInfo.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = DDEmbeddedTestInfo.plist; sourceTree = "<group>"; };
+ B460E04515B4B8D400E7EB51 /* DDEmbeddedTestImage.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = DDEmbeddedTestImage.png; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ B394735716E2019A001BF675 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ B394735C16E2019A001BF675 /* UIKit.framework in Frameworks */,
+ B394735D16E2019A001BF675 /* Foundation.framework in Frameworks */,
+ B394735F16E2019A001BF675 /* CoreGraphics.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ B44C4550158699BD00D4CABE /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ B44C4558158699BD00D4CABE /* Foundation.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ B394736016E2019A001BF675 /* DDEmbeddDataReaderIOS */ = {
+ isa = PBXGroup;
+ children = (
+ B394736916E2019A001BF675 /* DDAppDelegate.h */,
+ B394736A16E2019A001BF675 /* DDAppDelegate.m */,
+ B394737216E2019A001BF675 /* DDViewController.h */,
+ B394737316E2019A001BF675 /* DDViewController.m */,
+ B394736116E2019A001BF675 /* Supporting Files */,
+ );
+ path = DDEmbeddDataReaderIOS;
+ sourceTree = "<group>";
+ };
+ B394736116E2019A001BF675 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ B394736216E2019A001BF675 /* DDEmbeddDataReaderIOS-Info.plist */,
+ B394736616E2019A001BF675 /* main.m */,
+ B394736816E2019A001BF675 /* DDEmbeddDataReaderIOS-Prefix.pch */,
+ B394736C16E2019A001BF675 /* Default.png */,
+ B394736E16E2019A001BF675 /* Default@2x.png */,
+ B394737016E2019A001BF675 /* Default-568h@2x.png */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+ B44C4548158699BD00D4CABE = {
+ isa = PBXGroup;
+ children = (
+ B44C4559158699BD00D4CABE /* DDEmbeddedDataReader */,
+ B394736016E2019A001BF675 /* DDEmbeddDataReaderIOS */,
+ B44C4556158699BD00D4CABE /* Frameworks */,
+ B44C4554158699BD00D4CABE /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ B44C4554158699BD00D4CABE /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ B44C4553158699BD00D4CABE /* DDEmbeddedDataReader */,
+ B394735A16E2019A001BF675 /* DDEmbeddDataReaderIOS.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ B44C4556158699BD00D4CABE /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ B44C4557158699BD00D4CABE /* Foundation.framework */,
+ B394735B16E2019A001BF675 /* UIKit.framework */,
+ B394735E16E2019A001BF675 /* CoreGraphics.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ B44C4559158699BD00D4CABE /* DDEmbeddedDataReader */ = {
+ isa = PBXGroup;
+ children = (
+ B44C456515869A2700D4CABE /* DDEmbeddedDataReader.h */,
+ B44C456615869A2700D4CABE /* DDEmbeddedDataReader.m */,
+ B44C456715869A2700D4CABE /* DDEmbeddedDataReaderMain.m */,
+ B460E04215B4B49100E7EB51 /* DDEmbeddedTestData.txt */,
+ B460E04415B4B83600E7EB51 /* DDEmbeddedTestInfo.plist */,
+ B460E04515B4B8D400E7EB51 /* DDEmbeddedTestImage.png */,
+ );
+ path = DDEmbeddedDataReader;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ B394735916E2019A001BF675 /* DDEmbeddDataReaderIOS */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = B394737D16E2019A001BF675 /* Build configuration list for PBXNativeTarget "DDEmbeddDataReaderIOS" */;
+ buildPhases = (
+ B394735616E2019A001BF675 /* Sources */,
+ B394735716E2019A001BF675 /* Frameworks */,
+ B394735816E2019A001BF675 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = DDEmbeddDataReaderIOS;
+ productName = DDEmbeddDataReaderIOS;
+ productReference = B394735A16E2019A001BF675 /* DDEmbeddDataReaderIOS.app */;
+ productType = "com.apple.product-type.application";
+ };
+ B44C4552158699BD00D4CABE /* DDEmbeddedDataReader */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = B44C4562158699BD00D4CABE /* Build configuration list for PBXNativeTarget "DDEmbeddedDataReader" */;
+ buildPhases = (
+ B44C454F158699BD00D4CABE /* Sources */,
+ B44C4550158699BD00D4CABE /* Frameworks */,
+ B44C4551158699BD00D4CABE /* CopyFiles */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = DDEmbeddedDataReader;
+ productName = DDEmbeddedDataReader;
+ productReference = B44C4553158699BD00D4CABE /* DDEmbeddedDataReader */;
+ productType = "com.apple.product-type.tool";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ B44C454A158699BD00D4CABE /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0430;
+ ORGANIZATIONNAME = "doo GmbH";
+ };
+ buildConfigurationList = B44C454D158699BD00D4CABE /* Build configuration list for PBXProject "DDEmbeddedDataReader" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = B44C4548158699BD00D4CABE;
+ productRefGroup = B44C4554158699BD00D4CABE /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ B44C4552158699BD00D4CABE /* DDEmbeddedDataReader */,
+ B394735916E2019A001BF675 /* DDEmbeddDataReaderIOS */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ B394735816E2019A001BF675 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ B394736D16E2019A001BF675 /* Default.png in Resources */,
+ B394736F16E2019A001BF675 /* Default@2x.png in Resources */,
+ B394737116E2019A001BF675 /* Default-568h@2x.png in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ B394735616E2019A001BF675 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ B394736716E2019A001BF675 /* main.m in Sources */,
+ B394736B16E2019A001BF675 /* DDAppDelegate.m in Sources */,
+ B394737416E2019A001BF675 /* DDViewController.m in Sources */,
+ B394737E16E201B4001BF675 /* DDEmbeddedDataReader.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ B44C454F158699BD00D4CABE /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ B44C456815869A2700D4CABE /* DDEmbeddedDataReader.m in Sources */,
+ B44C456915869A2700D4CABE /* DDEmbeddedDataReaderMain.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+ B394737B16E2019A001BF675 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "\"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks\"",
+ );
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "DDEmbeddDataReaderIOS/DDEmbeddDataReaderIOS-Prefix.pch";
+ INFOPLIST_FILE = "DDEmbeddDataReaderIOS/DDEmbeddDataReaderIOS-Info.plist";
+ IPHONEOS_DEPLOYMENT_TARGET = 6.1;
+ OTHER_LDFLAGS = (
+ "-sectcreate",
+ __TEXT,
+ __testData,
+ DDEmbeddedDataReader/DDEmbeddedTestData.txt,
+ "-sectcreate",
+ __TEXT,
+ __info_plist,
+ DDEmbeddedDataReader/DDEmbeddedTestInfo.plist,
+ "-sectcreate",
+ __IMG,
+ __testImg,
+ DDEmbeddedDataReader/DDEmbeddedTestImage.png,
+ );
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ B394737C16E2019A001BF675 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: Sapient GmbH";
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "\"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks\"",
+ );
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "DDEmbeddDataReaderIOS/DDEmbeddDataReaderIOS-Prefix.pch";
+ INFOPLIST_FILE = "DDEmbeddDataReaderIOS/DDEmbeddDataReaderIOS-Info.plist";
+ IPHONEOS_DEPLOYMENT_TARGET = 6.1;
+ OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
+ OTHER_LDFLAGS = (
+ "-sectcreate",
+ __TEXT,
+ __testData,
+ DDEmbeddedDataReader/DDEmbeddedTestData.txt,
+ "-sectcreate",
+ __TEXT,
+ __info_plist,
+ DDEmbeddedDataReader/DDEmbeddedTestInfo.plist,
+ "-sectcreate",
+ __IMG,
+ __testImg,
+ DDEmbeddedDataReader/DDEmbeddedTestImage.png,
+ );
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ "PROVISIONING_PROFILE[sdk=iphoneos*]" = "64D0C2A8-274E-4E42-AF64-8D9242084C06";
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+ B44C4560158699BD00D4CABE /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ COPY_PHASE_STRIP = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = macosx;
+ };
+ name = Debug;
+ };
+ B44C4561158699BD00D4CABE /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ COPY_PHASE_STRIP = YES;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ SDKROOT = macosx;
+ };
+ name = Release;
+ };
+ B44C4563158699BD00D4CABE /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ OTHER_LDFLAGS = (
+ "-sectcreate",
+ __TEXT,
+ __testData,
+ DDEmbeddedDataReader/DDEmbeddedTestData.txt,
+ "-sectcreate",
+ __TEXT,
+ __info_plist,
+ DDEmbeddedDataReader/DDEmbeddedTestInfo.plist,
+ "-sectcreate",
+ __IMG,
+ __testImg,
+ DDEmbeddedDataReader/DDEmbeddedTestImage.png,
+ );
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Debug;
+ };
+ B44C4564158699BD00D4CABE /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ OTHER_LDFLAGS = (
+ "-sectcreate",
+ __TEXT,
+ __testData,
+ DDEmbeddedDataReader/DDEmbeddedTestData.txt,
+ "-sectcreate",
+ __TEXT,
+ __info_plist,
+ DDEmbeddedDataReader/DDEmbeddedTestInfo.plist,
+ "-sectcreate",
+ __IMG,
+ __testImg,
+ DDEmbeddedDataReader/DDEmbeddedTestImage.png,
+ );
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ B394737D16E2019A001BF675 /* Build configuration list for PBXNativeTarget "DDEmbeddDataReaderIOS" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ B394737B16E2019A001BF675 /* Debug */,
+ B394737C16E2019A001BF675 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ B44C454D158699BD00D4CABE /* Build configuration list for PBXProject "DDEmbeddedDataReader" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ B44C4560158699BD00D4CABE /* Debug */,
+ B44C4561158699BD00D4CABE /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ B44C4562158699BD00D4CABE /* Build configuration list for PBXNativeTarget "DDEmbeddedDataReader" */ = {
+ isa = XCConfigurationList;