上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 98 下一页
摘要: #import "IMKChattingViewController.h"#import "IMCelebrityCell.h"#import "IMChatCell.h"#import "IMBottomView.h"#import "UIImageView+WebCache.h"#import "IMBuyView.h"#define naviHeight 44#define kBottomViewHeightDefault 43#define keyboardShow 阅读全文
posted @ 2014-01-04 12:21 路在脚下, 阅读(266) 评论(0) 推荐(0) 编辑
摘要: NSData *logoImageData = [logoDataArr objectAtIndex:0]; [formData appendPartWithFileData:logoImageData name:@"pic03"fileName:@"d.jpg"mimeType:@""]; NSData *imageData = [imageDataArr objectAtIndex:0]; [formData appendPartWithFileData:imageData name:@"pic"fileNam 阅读全文
posted @ 2014-01-03 15:55 路在脚下, 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 1,- (void)viewDidLoad2,veiwwillappear,一个写数据加载,一个写界面frame的调整 阅读全文
posted @ 2014-01-03 14:20 路在脚下, 阅读(143) 评论(0) 推荐(0) 编辑
摘要: bottomView.frame = CGRectMake(bottomView.frame.origin.x, self.contentView.frame.size.height - keyboardHeight - contentSize.height - textViewBgAndCursor*2, bottomView.frame.size.width, contentSize.height + textViewBgAndCursor * 2);#define textViewCursorToTop 1#define textViewHeightLimit 6#define tex. 阅读全文
posted @ 2014-01-02 16:34 路在脚下, 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 第一种成了自调用了, bottomView.frame = CGRectMake(bottomView.frame.origin.x, bottomView.frame.origin.y - contentSize.height, bottomView.frame.size.width, bottomView.frame.size.height + contentSize.height); self.inputView.frame = CGRectMake(self.inputView.frame.origin.x, self.view.frame.size.height - conten.. 阅读全文
posted @ 2014-01-02 14:22 路在脚下, 阅读(107) 评论(0) 推荐(0) 编辑
摘要: - (void)keyboardWillHide:(NSNotification*)notification { [UIViewbeginAnimations:nilcontext:nil]; [UIViewsetAnimationDelegate:self]; [UIViewsetAnimationCurve:UIViewAnimationCurveEaseInOut]; [UIViewsetAnimationDuration:[[[notification userInfo] objectForKey:UIKeyboardAnimationDurationUserInfoKey]... 阅读全文
posted @ 2014-01-02 12:21 路在脚下, 阅读(221) 评论(0) 推荐(0) 编辑
摘要: - (void)viewDidLoad{ [superviewDidLoad]; [self initData]; }-(void)viewWillAppear:(BOOL)animated{ [selfinitBottomView];} 阅读全文
posted @ 2014-01-02 11:11 路在脚下, 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 42---44, 阅读全文
posted @ 2014-01-02 09:57 路在脚下, 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-01-02 09:46 路在脚下, 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 第一章 心理影响实验1:插队一个心理学家跑到图书馆,请排队等候复印的人帮她一个小忙。"对不起,我有5页纸要复印,能不能让我先复印呢?"当她这样说时,60%的人答应了。然后,她换了一种说法:"对不起,能不能让我先复印呢?因为我要复印几页纸。"她只多加了两个字"因为",但同意的人居然增加到了93%。虽然心理学家早就知道,当我们请别人帮忙时,如果能够讲出一个理由,得到帮助的可能性就更大。但是这个实验证明,只是听到"因为"两个字,人们就会认为她是有理由的,从而给予帮助。这证明了人类存在心理定势,会不自觉地受到影响。提出请求 阅读全文
posted @ 2014-01-01 15:21 路在脚下, 阅读(170) 评论(0) 推荐(0) 编辑
上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 98 下一页