Permalink
Browse files

bug fix, new layout

  • Loading branch information...
1 parent b8408b0 commit 9be52a6cf59e4f648ec8bdee4489cbda8d337c3a xdamman committed Aug 22, 2010
@@ -83,6 +83,33 @@ - (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar {
- (void) addTweet:(Tweet*)t {
+
+ // textView for Tweet text
+ CGRect tweetFrame = CGRectMake(200.0, 300.0, 600.0, 300.0);
+ UITextView *textView = [[UITextView alloc] initWithFrame:tweetFrame];
+ textView.text = t.content;
+ textView.font = [UIFont fontWithName:@"Arial" size:48.0f];
+ [self.view addSubview:textView];
+ // end textview
+
+ // begin uilabel for user name
+ CGRect labelFrame = CGRectMake(300.0, 50.0, 400.0, 50.0);
+ UILabel *userName = [[UILabel alloc] initWithFrame:labelFrame];
+ userName.text = t.screenName;
+ userName.font = [UIFont fontWithName:@"Arial" size:48.0f];
+ [self.view addSubview:userName];
+ // end uilable
+
+ // create imageView
+ UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(40.0, 40.0, 200.0, 200.0)];
+ imageView.image = [ImageLoader loadImageFromURL:t.avatar];
+// [[UIImageView alloc] initWithFrame:Imageframe];
+// imageView.image = [UIImage imageWithData:data];
+ [self.view addSubview:imageView];
+ // end imageView
+
+
+ /*
UIWebView* webview = [[UIWebView alloc] initWithFrame:CGRectMake(0.0f, 44.0f, 500, 324)];
webview.frame = CHCenterRectInRect(webview.frame, self.view.bounds);
@@ -95,6 +122,7 @@ - (void) addTweet:(Tweet*)t {
//add the web view to the content view
[self.view addSubview:webview];
+ */
/*
CALayer *tweetView;
tweetView = [CALayer layer];
View
@@ -314,6 +314,20 @@
<string key="minorKey">Foundation.framework/Headers/NSXMLParser.h</string>
</object>
</object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">QuartzCore.framework/Headers/CAAnimation.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">QuartzCore.framework/Headers/CALayer.h</string>
+ </object>
+ </object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
@@ -392,7 +406,7 @@
<integer value="3100" key="NS.object.0"/>
</object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
- <string key="IBDocument.LastKnownRelativeProjectPath">SocialFrame.xcodeproj</string>
+ <string key="IBDocument.LastKnownRelativeProjectPath">TweetWall.xcodeproj</string>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<string key="IBCocoaTouchPluginVersion">87</string>
</data>
View
@@ -26,6 +26,8 @@
<true/>
<key>NSMainNibFile</key>
<string>MainWindow</string>
+ <key>CFBundleShortVersionString</key>
+ <string></string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationLandscapeLeft</string>
@@ -270,20 +270,25 @@
<string>F2D76A32122048320084F721</string>
<string>F2CF8E211220439E00CDF2EE</string>
<string>F2CF8E321220439E00CDF2EE</string>
+ <string>F2CF8E3A1220439E00CDF2EE</string>
<string>F2CF8E401220439E00CDF2EE</string>
+ <string>1C37FBAC04509CD000000102</string>
+ <string>F29DD63F1221977600B8F7BE</string>
<string>1C37FABC05509CD000000102</string>
+ <string>1CC0EA4004350EF90041110B</string>
+ <string>F2CF8E3A1220439E00CDF2EE</string>
+ <string>F2CF8E401220439E00CDF2EE</string>
</array>
<key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key>
<array>
<array>
- <integer>28</integer>
- <integer>27</integer>
- <integer>21</integer>
- <integer>0</integer>
+ <integer>54</integer>
+ <integer>53</integer>
+ <integer>50</integer>
</array>
</array>
<key>PBXSmartGroupTreeModuleOutlineStateVisibleRectKey</key>
- <string>{{0, 15}, {269, 660}}</string>
+ <string>{{0, 292}, {269, 660}}</string>
</dict>
<key>PBXTopSmartGroupGIDs</key>
<array/>
@@ -318,19 +323,19 @@
<key>PBXProjectModuleGUID</key>
<string>1CE0B20306471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
- <string>TweetWallAppDelegate.m</string>
+ <string>main.m</string>
<key>PBXSplitModuleInNavigatorKey</key>
<dict>
<key>Split0</key>
<dict>
<key>PBXProjectModuleGUID</key>
<string>1CE0B20406471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
- <string>TweetWallAppDelegate.m</string>
+ <string>main.m</string>
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
- <string>F29DD614122193CD00B8F7BE</string>
+ <string>F29DD6441221977600B8F7BE</string>
<key>history</key>
<array>
<string>F2B0045412205D5C0055478E</string>
@@ -347,10 +352,13 @@
<string>F29DD591122104B000B8F7BE</string>
<string>F29DD592122104B000B8F7BE</string>
<string>F29DD60F122193CD00B8F7BE</string>
- <string>F29DD610122193CD00B8F7BE</string>
<string>F29DD611122193CD00B8F7BE</string>
- <string>F29DD612122193CD00B8F7BE</string>
- <string>F29DD613122193CD00B8F7BE</string>
+ <string>F29DD6261221963A00B8F7BE</string>
+ <string>F29DD6271221963A00B8F7BE</string>
+ <string>F29DD6401221977600B8F7BE</string>
+ <string>F29DD6411221977600B8F7BE</string>
+ <string>F29DD6421221977600B8F7BE</string>
+ <string>F29DD6431221977600B8F7BE</string>
</array>
</dict>
<key>SplitCount</key>
Oops, something went wrong.

0 comments on commit 9be52a6

Please sign in to comment.