Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added starter-kit folder and sampler platter example brief.

  • Loading branch information...
commit 1a1170c3d4a82bf23d8a2250b83e20346a0db87b 1 parent e5d2215
Rob Rhyne authored May 04, 2010
4  .gitignore
... ...
@@ -1,3 +1,5 @@
1 1
 build
2 2
 *.xcodeproj/*.pbxuser
3  
-*.xcodeproj/*.perspectivev3
  3
+*.xcodeproj/*.perspectivev3
  4
+starter-kit/examples/sampler platter/sampler.brieflist
  5
+starter-kit/examples/sampler platter/sampler.source
16  Briefs.xcodeproj/project.pbxproj
@@ -7,7 +7,6 @@
7 7
 	objects = {
8 8
 
9 9
 /* Begin PBXBuildFile section */
10  
-		0005E52D10E83C99006D44A2 /* TransitionsGallery.brieflist in Resources */ = {isa = PBXBuildFile; fileRef = 0005E52C10E83C99006D44A2 /* TransitionsGallery.brieflist */; };
11 10
 		1D3623260D0F684500981E51 /* BriefsAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D3623250D0F684500981E51 /* BriefsAppDelegate.m */; };
12 11
 		1D60589B0D05DD56006BFB54 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; };
13 12
 		1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };
@@ -60,7 +59,6 @@
60 59
 		D43CE958115FC77E00DA07D5 /* install-button.png in Resources */ = {isa = PBXBuildFile; fileRef = D43CE956115FC77E00DA07D5 /* install-button.png */; };
61 60
 		D43CE959115FC77E00DA07D5 /* update-button.png in Resources */ = {isa = PBXBuildFile; fileRef = D43CE957115FC77E00DA07D5 /* update-button.png */; };
62 61
 		D43CEAB11160376500DA07D5 /* BFArrayBriefDataSource.m in Sources */ = {isa = PBXBuildFile; fileRef = D43CEAB01160376500DA07D5 /* BFArrayBriefDataSource.m */; };
63  
-		D43CEB121160468F00DA07D5 /* howto.brieflist in Resources */ = {isa = PBXBuildFile; fileRef = D46414191069AB25001522F6 /* howto.brieflist */; };
64 62
 		D43CEC36116061CD00DA07D5 /* BriefRef.m in Sources */ = {isa = PBXBuildFile; fileRef = D43CEC35116061CD00DA07D5 /* BriefRef.m */; };
65 63
 		D43CEF6F1162E3EC00DA07D5 /* already-button.png in Resources */ = {isa = PBXBuildFile; fileRef = D43CEF6E1162E3EC00DA07D5 /* already-button.png */; };
66 64
 		D463E8FF107310170075CCCE /* BFBriefcastViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D463E8FE107310170075CCCE /* BFBriefcastViewController.m */; };
@@ -70,7 +68,6 @@
70 68
 		D4641313106879AF001522F6 /* BFAddBriefcastViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D4641311106879AF001522F6 /* BFAddBriefcastViewController.m */; };
71 69
 		D4641314106879AF001522F6 /* BFAddBriefcastViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = D4641312106879AF001522F6 /* BFAddBriefcastViewController.xib */; };
72 70
 		D464133E10695048001522F6 /* BFTextCellController.m in Sources */ = {isa = PBXBuildFile; fileRef = D464133D10695048001522F6 /* BFTextCellController.m */; };
73  
-		D46A15D310D1FF1000B92FDF /* actions-sample.brieflist in Resources */ = {isa = PBXBuildFile; fileRef = D46A15D210D1FF1000B92FDF /* actions-sample.brieflist */; };
74 71
 		D47200A810A1139500601755 /* 37-suitcase.png in Resources */ = {isa = PBXBuildFile; fileRef = D47200A710A1139500601755 /* 37-suitcase.png */; };
75 72
 		D47200BA10A11A0500601755 /* small-gradient.png in Resources */ = {isa = PBXBuildFile; fileRef = D47200B910A11A0500601755 /* small-gradient.png */; };
76 73
 		D472018F10A294BA00601755 /* 58-bookmark.png in Resources */ = {isa = PBXBuildFile; fileRef = D472018E10A294BA00601755 /* 58-bookmark.png */; };
@@ -120,7 +117,6 @@
120 117
 		D4AF1DC8114B61A600D1B3B5 /* BFBrowseBriefcastViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = D4AF1DC7114B61A600D1B3B5 /* BFBrowseBriefcastViewController.xib */; };
121 118
 		D4AF1DCF114BFE2300D1B3B5 /* BFBriefInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = D4AF1DCE114BFE2300D1B3B5 /* BFBriefInfo.m */; };
122 119
 		D4AF1E03114C093300D1B3B5 /* NSDictionary+BFAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = D4AF1E02114C093300D1B3B5 /* NSDictionary+BFAdditions.m */; };
123  
-		D4C0F3A810C7710A008E8DE5 /* transition-sample.brieflist in Resources */ = {isa = PBXBuildFile; fileRef = D4C0F3A710C7710A008E8DE5 /* transition-sample.brieflist */; };
124 120
 		D4CA29381076F60500AA84FE /* BFBriefcastViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = D4CA29351076F60500AA84FE /* BFBriefcastViewController.xib */; };
125 121
 		D4CA29391076F60500AA84FE /* BFBrowseViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = D4CA29361076F60500AA84FE /* BFBrowseViewController.xib */; };
126 122
 		D4CA293A1076F60500AA84FE /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = D4CA29371076F60500AA84FE /* MainWindow.xib */; };
@@ -157,7 +153,6 @@
157 153
 /* End PBXBuildFile section */
158 154
 
159 155
 /* Begin PBXFileReference section */
160  
-		0005E52C10E83C99006D44A2 /* TransitionsGallery.brieflist */ = {isa = PBXFileReference; lastKnownFileType = file.bplist; name = TransitionsGallery.brieflist; path = sample/TransitionsGallery.brieflist; sourceTree = "<group>"; };
161 156
 		1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
162 157
 		1D3623240D0F684500981E51 /* BriefsAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BriefsAppDelegate.h; path = Classes/BriefsAppDelegate.h; sourceTree = "<group>"; };
163 158
 		1D3623250D0F684500981E51 /* BriefsAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = BriefsAppDelegate.m; path = Classes/BriefsAppDelegate.m; sourceTree = "<group>"; };
@@ -257,8 +252,6 @@
257 252
 		D4641312106879AF001522F6 /* BFAddBriefcastViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = BFAddBriefcastViewController.xib; path = Classes/BFAddBriefcastViewController.xib; sourceTree = "<group>"; };
258 253
 		D464133C10695048001522F6 /* BFTextCellController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BFTextCellController.h; sourceTree = "<group>"; };
259 254
 		D464133D10695048001522F6 /* BFTextCellController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BFTextCellController.m; sourceTree = "<group>"; };
260  
-		D46414191069AB25001522F6 /* howto.brieflist */ = {isa = PBXFileReference; lastKnownFileType = file.bplist; name = howto.brieflist; path = sample/briefcasts/howto.brieflist; sourceTree = "<group>"; };
261  
-		D46A15D210D1FF1000B92FDF /* actions-sample.brieflist */ = {isa = PBXFileReference; lastKnownFileType = file.bplist; name = "actions-sample.brieflist"; path = "sample/actions-sample.brieflist"; sourceTree = "<group>"; };
262 255
 		D46B799310A6239900CCD698 /* BFBriefcastEventDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BFBriefcastEventDelegate.h; sourceTree = "<group>"; };
263 256
 		D47200A710A1139500601755 /* 37-suitcase.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "37-suitcase.png"; path = "images/37-suitcase.png"; sourceTree = "<group>"; };
264 257
 		D47200B910A11A0500601755 /* small-gradient.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "small-gradient.png"; path = "images/small-gradient.png"; sourceTree = "<group>"; };
@@ -330,7 +323,6 @@
330 323
 		D4AF1DCE114BFE2300D1B3B5 /* BFBriefInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BFBriefInfo.m; sourceTree = "<group>"; };
331 324
 		D4AF1E01114C093300D1B3B5 /* NSDictionary+BFAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSDictionary+BFAdditions.h"; sourceTree = "<group>"; };
332 325
 		D4AF1E02114C093300D1B3B5 /* NSDictionary+BFAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSDictionary+BFAdditions.m"; sourceTree = "<group>"; };
333  
-		D4C0F3A710C7710A008E8DE5 /* transition-sample.brieflist */ = {isa = PBXFileReference; lastKnownFileType = file.bplist; name = "transition-sample.brieflist"; path = "sample/transition-sample.brieflist"; sourceTree = "<group>"; };
334 326
 		D4CA29351076F60500AA84FE /* BFBriefcastViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = BFBriefcastViewController.xib; path = Classes/BFBriefcastViewController.xib; sourceTree = "<group>"; };
335 327
 		D4CA29361076F60500AA84FE /* BFBrowseViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = BFBrowseViewController.xib; path = Classes/BFBrowseViewController.xib; sourceTree = "<group>"; };
336 328
 		D4CA29371076F60500AA84FE /* MainWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = MainWindow.xib; path = Classes/MainWindow.xib; sourceTree = "<group>"; };
@@ -659,10 +651,6 @@
659 651
 		D463E8BE106D6C580075CCCE /* My Briefs */ = {
660 652
 			isa = PBXGroup;
661 653
 			children = (
662  
-				D46A15D210D1FF1000B92FDF /* actions-sample.brieflist */,
663  
-				D4C0F3A710C7710A008E8DE5 /* transition-sample.brieflist */,
664  
-				0005E52C10E83C99006D44A2 /* TransitionsGallery.brieflist */,
665  
-				D46414191069AB25001522F6 /* howto.brieflist */,
666 654
 			);
667 655
 			name = "My Briefs";
668 656
 			sourceTree = "<group>";
@@ -986,7 +974,6 @@
986 974
 			isa = PBXResourcesBuildPhase;
987 975
 			buildActionMask = 2147483647;
988 976
 			files = (
989  
-				D43CEB121160468F00DA07D5 /* howto.brieflist in Resources */,
990 977
 				D4641314106879AF001522F6 /* BFAddBriefcastViewController.xib in Resources */,
991 978
 				D4309743106AC10B00C1EC5E /* Briefs-data.plist in Resources */,
992 979
 				D4CA29381076F60500AA84FE /* BFBriefcastViewController.xib in Resources */,
@@ -995,9 +982,6 @@
995 982
 				D47200A810A1139500601755 /* 37-suitcase.png in Resources */,
996 983
 				D47200BA10A11A0500601755 /* small-gradient.png in Resources */,
997 984
 				D472018F10A294BA00601755 /* 58-bookmark.png in Resources */,
998  
-				D4C0F3A810C7710A008E8DE5 /* transition-sample.brieflist in Resources */,
999  
-				D46A15D310D1FF1000B92FDF /* actions-sample.brieflist in Resources */,
1000  
-				0005E52D10E83C99006D44A2 /* TransitionsGallery.brieflist in Resources */,
1001 985
 				D482E4FE10EEECC700678404 /* BFMainViewController.xib in Resources */,
1002 986
 				D4A394BA1130F926004971E9 /* flag.png in Resources */,
1003 987
 				D4A39819113C6DBB004971E9 /* app-icon.png in Resources */,
43  starter-kit/README
... ...
@@ -0,0 +1,43 @@
  1
+
  2
+This is a bundle geared towards aspiring briefs authors. Below is a description of each
  3
+of the folders in this kit. As you may already know, Briefs are authored on a Mac desktop
  4
+or laptop. 
  5
+
  6
+While not required, there are resources that are specific to certain applications
  7
+that are found in a typical designer's arsenal. If you find support for your particular tool
  8
+of choice is not included, I will update this kit to include any additional resources you 
  9
+provide. You can contact me using the various methods listed below.
  10
+
  11
+Rob Rhyne
  12
+rob@robrhyne.com
  13
+http://twitter.com/capttaco
  14
+
  15
+Follow briefs on twitter at http://twitter.com/briefsapp
  16
+
  17
+----------------------------------------------------------------------------------------------
  18
+
  19
+examples/
  20
+=========
  21
+In this folder you'll find the source, including photoshop files, for the briefs that come 
  22
+installed as part of the application. The sampler platter is a multi-scene brief that 
  23
+demonstrates various capabilities of the briefs system. I encourage you to consult that source 
  24
+to get a feel for the platform.
  25
+
  26
+
  27
+extras/
  28
+=======
  29
+This folder contains sample images, including a springboard PSD that can be use to place your
  30
+sample app icon inside of an opening scene. There is also a textmate plugin for the .bs files.
  31
+The plugin allows you to drag images onto the editor to create scenes and actors directly. It
  32
+also offers syntax highlighting for the entire language.
  33
+
  34
+
  35
+scripts/
  36
+========
  37
+Contained in this folder are the two scripts essential to compiling and building briefs. Both
  38
+should be copied to a location on your path. (I suggest /usr/local/bin/) The first, `BS`, is
  39
+the parser for .bs script files. The output of this parser is a source file with file references
  40
+to the images. The second script, `compact-briefs` will serialize each image reference into the 
  41
+source file, outputting a .brieflist as a single file. This compacted .brieflist can then be
  42
+referenced in a briefcast or put on a web server (like a dropbox public folder) to load into 
  43
+the app.
BIN  starter-kit/examples/sampler platter/images/arcade/bg.png
BIN  starter-kit/examples/sampler platter/images/arcade/invader.png
BIN  starter-kit/examples/sampler platter/images/login/bg-filled.png
BIN  starter-kit/examples/sampler platter/images/login/bg.png
BIN  starter-kit/examples/sampler platter/images/login/keyboard.png
BIN  starter-kit/examples/sampler platter/images/scrollable/bg.png
BIN  starter-kit/examples/sampler platter/images/scrollable/disabled-actor.png
BIN  starter-kit/examples/sampler platter/images/scrollable/enabled-actor.png
BIN  starter-kit/examples/sampler platter/images/scrollable/scrollable-actor.png
BIN  starter-kit/examples/sampler platter/images/welcome/bg.png
BIN  starter-kit/examples/sampler platter/images/welcome/callout.png
BIN  starter-kit/examples/sampler platter/images/welcome/tapme.png
109  starter-kit/examples/sampler platter/sampler.bs
... ...
@@ -0,0 +1,109 @@
  1
+# Sampler Platter (installed by default in Briefs.app)
  2
+# author: Rob Rhyne
  3
+#
  4
+start: Welcome
  5
+
  6
+
  7
+################################################################
  8
+# Welcome Scene
  9
+
  10
+scene: Welcome
  11
+image: images/welcome/bg.png
  12
+    actor: Next button
  13
+        size: 42,40
  14
+        position: 271,437
  15
+        action: goto(Simulated Login, pushLeft)
  16
+    
  17
+    actor: Tap Me Button
  18
+        image: images/welcome/tapme.png
  19
+        size: 201,51
  20
+        position: 56,282
  21
+        action: show(Actor Callout)
  22
+        
  23
+    actor: Actor Callout
  24
+        image: images/welcome/callout.png
  25
+        size: 140,104
  26
+        position: 83,151
  27
+        visible: false
  28
+
  29
+
  30
+
  31
+################################################################
  32
+# Login Workflow
  33
+           
  34
+scene: Simulated Login
  35
+image: images/login/bg.png
  36
+    actor: Show Keyboard
  37
+        size: 280,80
  38
+    position: 20,127
  39
+      action: move(Keyboard, 0, 220)
  40
+
  41
+    actor: Keyboard
  42
+       image: images/login/keyboard.png
  43
+        size: 320,259
  44
+    position: 0,480
  45
+      action: goto(Password Entered)
  46
+
  47
+      
  48
+scene: Password Entered
  49
+image: images/login/bg-filled.png
  50
+    actor: Login Button
  51
+        size: 201,51
  52
+    position: 59,251
  53
+      action: goto(Actor Arcade, flipLeft)
  54
+
  55
+    actor: Keyboard
  56
+       image: images/login/keyboard.png
  57
+        size: 320,259
  58
+    position: 0,220
  59
+      action: move(Keyboard, 0, 480)
  60
+
  61
+
  62
+
  63
+
  64
+################################################################
  65
+# Actor Arcade Scene 
  66
+
  67
+scene: Actor Arcade
  68
+image: images/arcade/bg.png
  69
+    actor: Next button
  70
+        size: 42,40
  71
+        position: 271,437
  72
+        action: goto(Scrollable Magic, curlUp)
  73
+
  74
+    actor: Invader
  75
+        image: images/arcade/invader.png
  76
+        size: 99,105
  77
+        position: 110,149
  78
+        
  79
+    actor: Move Button
  80
+        size: 100, 51
  81
+        position: 59, 310
  82
+        action: move(Invader, 110, 100)
  83
+        
  84
+    actor: Resize Button
  85
+        size: 100, 51
  86
+        position: 160, 310
  87
+        action: resize(Invader, 50, 57)
  88
+        
  89
+
  90
+
  91
+################################################################
  92
+# Scrollable Magic Scene
  93
+ 
  94
+scene: Scrollable Magic
  95
+image: images/scrollable/bg.png
  96
+    actor: Scrollable Actor
  97
+        image: images/scrollable/scrollable-actor.png
  98
+        size: 237,251
  99
+        scrollable: true
  100
+        position: 42,54
  101
+        action: toggle(Toggle Button)
  102
+
  103
+    actor: Toggle Button
  104
+        image: images/scrollable/enabled-actor.png
  105
+        disabled: images/scrollable/disabled-actor.png
  106
+        size: 201,51
  107
+        position: 60,394
  108
+        action: goto(Welcome, zoomOut)
  109
+   
BIN  starter-kit/examples/sampler platter/sampler.psd
Binary file not shown

0 notes on commit 1a1170c

Please sign in to comment.
Something went wrong with that request. Please try again.