Permalink
Browse files

the files

  • Loading branch information...
1 parent 3f5b67c commit 2a59b90066761eee4f232f8f3023db7ce7ce6584 @jonhull jonhull committed Sep 15, 2011
Showing with 44,286 additions and 0 deletions.
  1. BIN Classes/.DS_Store
  2. +41 −0 Classes/ABTableViewCell.h
  3. +170 −0 Classes/ABTableViewCell.m
  4. +332 −0 Classes/EventDetailView.xib
  5. +26 −0 Classes/EventDetailViewController.h
  6. +388 −0 Classes/EventDetailViewController.m
  7. +17 −0 Classes/EventStaffViewController.h
  8. +199 −0 Classes/EventStaffViewController.m
  9. +169 −0 Classes/EventStaffViewController.xib
  10. +38 −0 Classes/EventViewController.h
  11. +322 −0 Classes/EventViewController.m
  12. +69 −0 Classes/FirstViewController.h
  13. +554 −0 Classes/FirstViewController.m
  14. +29 −0 Classes/Hacker_DojoAppDelegate.h
  15. +59 −0 Classes/Hacker_DojoAppDelegate.m
  16. +97 −0 Classes/JONListViewController/JONListViewController.h
  17. +467 −0 Classes/JONListViewController/JONListViewController.m
  18. +19 −0 Classes/MapViewController.h
  19. +60 −0 Classes/MapViewController.m
  20. +189 −0 Classes/MapViewController.xib
  21. +36 −0 Classes/Model Controllers/EventList.h
  22. +302 −0 Classes/Model Controllers/EventList.m
  23. +32 −0 Classes/Model Controllers/StaffList.h
  24. +165 −0 Classes/Model Controllers/StaffList.m
  25. +76 −0 Classes/Model/Event.h
  26. +254 −0 Classes/Model/Event.m
  27. +33 −0 Classes/Model/Staff.h
  28. +118 −0 Classes/Model/Staff.m
  29. +58 −0 Classes/Pull To Refresh/PullRefreshTableViewController.h
  30. +171 −0 Classes/Pull To Refresh/PullRefreshTableViewController.m
  31. BIN Classes/Pull To Refresh/arrow.png
  32. +32 −0 Classes/SettingsViewController.h
  33. +90 −0 Classes/SettingsViewController.m
  34. +428 −0 Classes/SettingsViewController.xib
  35. +38 −0 Classes/TableViewCells/EventTableViewCell.h
  36. +135 −0 Classes/TableViewCells/EventTableViewCell.m
  37. +39 −0 Classes/TableViewCells/StaffTableViewCell.h
  38. +137 −0 Classes/TableViewCells/StaffTableViewCell.m
  39. BIN Dojo Map.png
  40. BIN Dojo-Map.png
  41. BIN EventKit.framework/EventKit
  42. +62 −0 EventKit.framework/Headers/EKAlarm.h
  43. +106 −0 EventKit.framework/Headers/EKCalendar.h
  44. +57 −0 EventKit.framework/Headers/EKError.h
  45. +245 −0 EventKit.framework/Headers/EKEvent.h
  46. +172 −0 EventKit.framework/Headers/EKEventStore.h
  47. +113 −0 EventKit.framework/Headers/EKParticipant.h
  48. +337 −0 EventKit.framework/Headers/EKRecurrenceRule.h
  49. +20 −0 EventKit.framework/Headers/EventKit.h
  50. +1,362 −0 Hacker Dojo.xcodeproj/jon.mode1v3
  51. +88 −0 Hacker Dojo.xcodeproj/jon.pbxuser
  52. +600 −0 Hacker Dojo.xcodeproj/project.pbxproj
  53. +6 −0 Hacker Dojo.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  54. +6,823 −0 Hacker Dojo.xcodeproj/project.xcworkspace/xcuserdata/jon.xcuserdatad/UserInterfaceState.xcuserstate
  55. +22,762 −0 Hacker Dojo.xcodeproj/project.xcworkspace/xcuserdata/jon.xcuserdatad/WorkspaceState.xcuserstate
  56. +90 −0 Hacker Dojo.xcodeproj/xcuserdata/jon.xcuserdatad/xcbreakpoints/Breakpoints.xcbkptlist
  57. +44 −0 Hacker Dojo.xcodeproj/xcuserdata/jon.xcuserdatad/xcschemes/Hacker Dojo.xcscheme
  58. +19 −0 Hacker Dojo.xcodeproj/xcuserdata/jon.xcuserdatad/xcschemes/xcschememanagement.plist
  59. +32 −0 Hacker_Dojo-Info.plist
  60. +23 −0 Hacker_Dojo_Prefix.pch
  61. +50 −0 JSON/JSON.h
  62. +68 −0 JSON/NSObject+SBJSON.h
  63. +53 −0 JSON/NSObject+SBJSON.m
  64. +58 −0 JSON/NSString+SBJSON.h
  65. +55 −0 JSON/NSString+SBJSON.m
  66. +75 −0 JSON/SBJSON.h
  67. +212 −0 JSON/SBJSON.m
  68. +86 −0 JSON/SBJsonBase.h
  69. +78 −0 JSON/SBJsonBase.m
  70. +87 −0 JSON/SBJsonParser.h
  71. +475 −0 JSON/SBJsonParser.m
  72. +129 −0 JSON/SBJsonWriter.h
  73. +228 −0 JSON/SBJsonWriter.m
  74. +14 −0 Licences/glyphish - license.txt
  75. +27 −0 Licences/read me - main license (Autosaved).rtf
  76. +25 −0 Licences/read me - main license.rtf
  77. +24 −0 Licences/wikimeety - license.txt
  78. +294 −0 QuartzCore.framework/Headers/CAAnimation.h
  79. +146 −0 QuartzCore.framework/Headers/CABase.h
  80. +63 −0 QuartzCore.framework/Headers/CADisplayLink.h
  81. +23 −0 QuartzCore.framework/Headers/CAEAGLLayer.h
  82. +47 −0 QuartzCore.framework/Headers/CAGradientLayer.h
  83. +788 −0 QuartzCore.framework/Headers/CALayer.h
  84. +89 −0 QuartzCore.framework/Headers/CAMediaTiming.h
  85. +56 −0 QuartzCore.framework/Headers/CAMediaTimingFunction.h
  86. +54 −0 QuartzCore.framework/Headers/CAReplicatorLayer.h
  87. +53 −0 QuartzCore.framework/Headers/CAScrollLayer.h
  88. +112 −0 QuartzCore.framework/Headers/CAShapeLayer.h
  89. +81 −0 QuartzCore.framework/Headers/CATextLayer.h
  90. +55 −0 QuartzCore.framework/Headers/CATiledLayer.h
  91. +118 −0 QuartzCore.framework/Headers/CATransaction.h
  92. +133 −0 QuartzCore.framework/Headers/CATransform3D.h
  93. +31 −0 QuartzCore.framework/Headers/CATransformLayer.h
  94. +68 −0 QuartzCore.framework/Headers/CAValueFunction.h
  95. +31 −0 QuartzCore.framework/Headers/CoreAnimation.h
  96. +11 −0 QuartzCore.framework/Headers/QuartzCore.h
  97. BIN QuartzCore.framework/QuartzCore
  98. +32 −0 build/Hacker Dojo.build/Debug/Hacker Dojo.build/Hacker Dojo.dep
  99. +32 −0 build/Hacker Dojo.build/Debug/Hacker Dojo.build/Hacker Dojo~.dep
  100. +380 −0 build/Hacker Dojo.build/Debug/Hacker Dojo.build/build-state.dat
  101. +380 −0 build/Hacker Dojo.build/Debug/Hacker Dojo.build/build-state~.dat
  102. BIN build/Hacker Dojo.build/Hacker Dojo.pbxindex/categories.pbxbtree
  103. BIN build/Hacker Dojo.build/Hacker Dojo.pbxindex/cdecls.pbxbtree
  104. BIN build/Hacker Dojo.build/Hacker Dojo.pbxindex/decls.pbxbtree
  105. BIN build/Hacker Dojo.build/Hacker Dojo.pbxindex/files.pbxbtree
  106. BIN build/Hacker Dojo.build/Hacker Dojo.pbxindex/imports.pbxbtree
  107. BIN build/Hacker Dojo.build/Hacker Dojo.pbxindex/pbxindex.header
  108. BIN build/Hacker Dojo.build/Hacker Dojo.pbxindex/protocols.pbxbtree
  109. BIN build/Hacker Dojo.build/Hacker Dojo.pbxindex/refs.pbxbtree
  110. BIN build/Hacker Dojo.build/Hacker Dojo.pbxindex/strings.pbxstrings/control
  111. BIN build/Hacker Dojo.build/Hacker Dojo.pbxindex/strings.pbxstrings/strings
  112. BIN build/Hacker Dojo.build/Hacker Dojo.pbxindex/subclasses.pbxbtree
  113. BIN build/Hacker Dojo.build/Hacker Dojo.pbxindex/symbols0.pbxsymbols
  114. +345 −0 en.lproj/EventView.xib
  115. +264 −0 en.lproj/FirstView.xib
  116. +3 −0 en.lproj/InfoPlist.strings
  117. +487 −0 en.lproj/MainWindow.xib
  118. BIN icon.png
  119. BIN icons/.DS_Store
  120. BIN icons/Dollar.png
  121. BIN icons/Error.png
  122. BIN icons/RSVP.png
  123. BIN icons/alarm.png
  124. BIN icons/chat.png
  125. BIN icons/clock.png
  126. BIN icons/crop3.png
  127. BIN icons/hackerdojo logo iPhone.png
  128. BIN icons/hackerdojo logo iPhone2.png
  129. BIN icons/map-pin.png
  130. BIN icons/noEvents.png
  131. BIN icons/noStaff.png
  132. BIN icons/refreshIcon.png
  133. BIN icons/refreshSelected.png
  134. BIN icons/smallDollar.png
  135. BIN icons/smallPerson.png
  136. BIN icons/tab_bar_agenda.png
  137. +16 −0 main.m
View
Binary file not shown.
View
@@ -0,0 +1,41 @@
+// Copyright (c) 2008 Loren Brichter
+//
+// Permission is hereby granted, free of charge, to any person
+// obtaining a copy of this software and associated documentation
+// files (the "Software"), to deal in the Software without
+// restriction, including without limitation the rights to use,
+// copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the
+// Software is furnished to do so, subject to the following
+// conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+// OTHER DEALINGS IN THE SOFTWARE.
+//
+// ABTableViewCell.h
+//
+// Created by Loren Brichter
+// Copyright 2008 Loren Brichter. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+// to use: subclass ABTableViewCell and implement -drawContentView:
+
+@interface ABTableViewCell : UITableViewCell {
+ UIView* contentView;
+ UIView* selectedContentView;
+}
+
+- (void)drawContentView:(CGRect)rect highlighted:(BOOL)highlighted; // subclasses should implement
+
+@end
View
@@ -0,0 +1,170 @@
+// Copyright (c) 2008 Loren Brichter
+//
+// Permission is hereby granted, free of charge, to any person
+// obtaining a copy of this software and associated documentation
+// files (the "Software"), to deal in the Software without
+// restriction, including without limitation the rights to use,
+// copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the
+// Software is furnished to do so, subject to the following
+// conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+// OTHER DEALINGS IN THE SOFTWARE.
+//
+// ABTableViewCell.m
+//
+// Created by Loren Brichter
+// Copyright 2008 Loren Brichter. All rights reserved.
+//
+
+#import "ABTableViewCell.h"
+
+@interface ABTableViewCellView : UIView
+@end
+
+@interface ABTableViewSelectedCellView : UIView
+@end
+
+@implementation ABTableViewCellView
+
+- (id)initWithFrame:(CGRect)frame {
+ if((self = [super initWithFrame:frame])) {
+ self.contentMode = UIViewContentModeRedraw;
+ }
+
+ return self;
+}
+
+- (void)drawRect:(CGRect)rect {
+ [(ABTableViewCell *)[self superview] drawContentView:rect highlighted:NO];
+}
+
+@end
+
+@implementation ABTableViewSelectedCellView
+
+- (id)initWithFrame:(CGRect)frame {
+ if((self = [super initWithFrame:frame])) {
+ self.contentMode = UIViewContentModeRedraw;
+ }
+
+ return self;
+}
+
+- (void)drawRect:(CGRect)rect {
+ [(ABTableViewCell *)[self superview] drawContentView:rect highlighted:YES];
+}
+
+@end
+
+
+@implementation ABTableViewCell
+
+- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
+ if(self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
+ contentView = [[ABTableViewCellView alloc] initWithFrame:CGRectZero];
+ contentView.opaque = YES;
+ self.backgroundView = contentView;
+ [contentView release];
+
+ selectedContentView = [[ABTableViewSelectedCellView alloc] initWithFrame:CGRectZero];
+ selectedContentView.opaque = YES;
+ self.selectedBackgroundView = selectedContentView;
+ [selectedContentView release];
+
+ }
+
+ return self;
+}
+
+- (void)dealloc {
+ [super dealloc];
+}
+
+- (void)setSelected:(BOOL)selected {
+ [selectedContentView setNeedsDisplay];
+
+ if(!selected && self.selected) {
+ [contentView setNeedsDisplay];
+ }
+
+ [super setSelected:selected];
+}
+
+- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
+ [selectedContentView setNeedsDisplay];
+
+ if(!selected && self.selected) {
+ [contentView setNeedsDisplay];
+ }
+
+ [super setSelected:selected animated:animated];
+}
+
+- (void)setHighlighted:(BOOL)highlighted {
+ [selectedContentView setNeedsDisplay];
+
+ if(!highlighted && self.highlighted) {
+ [contentView setNeedsDisplay];
+ }
+
+ [super setHighlighted:highlighted];
+}
+
+- (void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated {
+ [selectedContentView setNeedsDisplay];
+
+ if(!highlighted && self.highlighted) {
+ [contentView setNeedsDisplay];
+ }
+
+ [super setHighlighted:highlighted animated:animated];
+}
+
+- (void)setFrame:(CGRect)f {
+ [super setFrame:f];
+ CGRect b = [self bounds];
+ // b.size.height -= 1; // leave room for the seperator line
+ [contentView setFrame:b];
+ [selectedContentView setFrame:b];
+}
+
+- (void)setNeedsDisplay {
+ [super setNeedsDisplay];
+ [contentView setNeedsDisplay];
+
+ if([self isHighlighted] || [self isSelected]) {
+ [selectedContentView setNeedsDisplay];
+ }
+}
+
+- (void)setNeedsDisplayInRect:(CGRect)rect {
+ [super setNeedsDisplayInRect:rect];
+ [contentView setNeedsDisplayInRect:rect];
+
+ if([self isHighlighted] || [self isSelected]) {
+ [selectedContentView setNeedsDisplayInRect:rect];
+ }
+}
+
+- (void)layoutSubviews {
+ [super layoutSubviews];
+ self.contentView.hidden = YES;
+ [self.contentView removeFromSuperview];
+}
+
+- (void)drawContentView:(CGRect)rect highlighted:(BOOL)highlighted {
+ // subclasses should implement this
+}
+
+@end
Oops, something went wrong.

0 comments on commit 2a59b90

Please sign in to comment.