mirror of
https://github.com/wu736139669/Ash_AWord.git
synced 2026-08-05 05:55:19 +00:00
添加他人主页
This commit is contained in:
@@ -47,6 +47,8 @@
|
||||
A93442001ACA919F00A6B233 /* tabbarVoiceClick@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A93441FD1ACA919F00A6B233 /* tabbarVoiceClick@2x.png */; };
|
||||
A93442031ACA981D00A6B233 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A93442011ACA981D00A6B233 /* Default-568h@2x.png */; };
|
||||
A93442041ACA981D00A6B233 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A93442021ACA981D00A6B233 /* Default@2x.png */; };
|
||||
A94691CD1B26EACE00B5D26B /* PersonalInfoViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A94691CB1B26EACE00B5D26B /* PersonalInfoViewController.xib */; };
|
||||
A94691CE1B26EACE00B5D26B /* PersonalInfoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A94691CC1B26EACE00B5D26B /* PersonalInfoViewController.m */; };
|
||||
A94D0EDD1AD5757A0002DEB1 /* UpdateViewModel.m in Sources */ = {isa = PBXBuildFile; fileRef = A94D0EDC1AD5757A0002DEB1 /* UpdateViewModel.m */; };
|
||||
A94DF6351AD4D94E00DCDCB0 /* MyNoteViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A94DF6331AD4D94E00DCDCB0 /* MyNoteViewController.m */; };
|
||||
A94DF6361AD4D94E00DCDCB0 /* MyNoteViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A94DF6341AD4D94E00DCDCB0 /* MyNoteViewController.xib */; };
|
||||
@@ -192,6 +194,12 @@
|
||||
A99AA12C1ADCCB3C00574B12 /* MessagePublihViewModel.m in Sources */ = {isa = PBXBuildFile; fileRef = A99AA1291ADCCB3C00574B12 /* MessagePublihViewModel.m */; };
|
||||
A99AA12D1ADCCB3C00574B12 /* MessageViewModel.m in Sources */ = {isa = PBXBuildFile; fileRef = A99AA12B1ADCCB3C00574B12 /* MessageViewModel.m */; };
|
||||
A99AA12F1ADD028400574B12 /* Icon120.png in Resources */ = {isa = PBXBuildFile; fileRef = A99AA12E1ADD028400574B12 /* Icon120.png */; };
|
||||
A9A3A74E1B2805DA001AAB3A /* PersonalTopView.m in Sources */ = {isa = PBXBuildFile; fileRef = A9A3A74D1B2805DA001AAB3A /* PersonalTopView.m */; };
|
||||
A9A3A7501B2805EA001AAB3A /* PersonalTopView.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9A3A74F1B2805EA001AAB3A /* PersonalTopView.xib */; };
|
||||
A9A3A7521B2810DB001AAB3A /* Pofile_coverImage@2x.jpg in Resources */ = {isa = PBXBuildFile; fileRef = A9A3A7511B2810DB001AAB3A /* Pofile_coverImage@2x.jpg */; };
|
||||
A9A3A7541B281178001AAB3A /* PersonalTopBg@2x.jpg in Resources */ = {isa = PBXBuildFile; fileRef = A9A3A7531B281178001AAB3A /* PersonalTopBg@2x.jpg */; };
|
||||
A9A3A7591B281392001AAB3A /* CExpandHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = A9A3A7571B281392001AAB3A /* CExpandHeader.m */; };
|
||||
A9A3A75A1B281392001AAB3A /* image.png in Resources */ = {isa = PBXBuildFile; fileRef = A9A3A7581B281392001AAB3A /* image.png */; };
|
||||
A9B4A9541AEDC3620017C655 /* FeedbackViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B4A9521AEDC3620017C655 /* FeedbackViewController.m */; };
|
||||
A9B4A9551AEDC3620017C655 /* FeedbackViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9B4A9531AEDC3620017C655 /* FeedbackViewController.xib */; };
|
||||
A9B4E39F1AC9908E00A1DBDF /* libMobClickLibrary.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9B4E39C1AC9908E00A1DBDF /* libMobClickLibrary.a */; };
|
||||
@@ -278,6 +286,9 @@
|
||||
A93441FD1ACA919F00A6B233 /* tabbarVoiceClick@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "tabbarVoiceClick@2x.png"; sourceTree = "<group>"; };
|
||||
A93442011ACA981D00A6B233 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
|
||||
A93442021ACA981D00A6B233 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
|
||||
A94691CA1B26EACE00B5D26B /* PersonalInfoViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PersonalInfoViewController.h; sourceTree = "<group>"; };
|
||||
A94691CB1B26EACE00B5D26B /* PersonalInfoViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PersonalInfoViewController.xib; sourceTree = "<group>"; };
|
||||
A94691CC1B26EACE00B5D26B /* PersonalInfoViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PersonalInfoViewController.m; sourceTree = "<group>"; };
|
||||
A94D0EDB1AD5757A0002DEB1 /* UpdateViewModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UpdateViewModel.h; sourceTree = "<group>"; };
|
||||
A94D0EDC1AD5757A0002DEB1 /* UpdateViewModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UpdateViewModel.m; sourceTree = "<group>"; };
|
||||
A94DF6321AD4D94E00DCDCB0 /* MyNoteViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyNoteViewController.h; sourceTree = "<group>"; };
|
||||
@@ -518,6 +529,14 @@
|
||||
A99AA12A1ADCCB3C00574B12 /* MessageViewModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MessageViewModel.h; sourceTree = "<group>"; };
|
||||
A99AA12B1ADCCB3C00574B12 /* MessageViewModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MessageViewModel.m; sourceTree = "<group>"; };
|
||||
A99AA12E1ADD028400574B12 /* Icon120.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon120.png; sourceTree = "<group>"; };
|
||||
A9A3A74C1B2805DA001AAB3A /* PersonalTopView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PersonalTopView.h; sourceTree = "<group>"; };
|
||||
A9A3A74D1B2805DA001AAB3A /* PersonalTopView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PersonalTopView.m; sourceTree = "<group>"; };
|
||||
A9A3A74F1B2805EA001AAB3A /* PersonalTopView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PersonalTopView.xib; sourceTree = "<group>"; };
|
||||
A9A3A7511B2810DB001AAB3A /* Pofile_coverImage@2x.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = "Pofile_coverImage@2x.jpg"; sourceTree = "<group>"; };
|
||||
A9A3A7531B281178001AAB3A /* PersonalTopBg@2x.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = "PersonalTopBg@2x.jpg"; sourceTree = "<group>"; };
|
||||
A9A3A7561B281392001AAB3A /* CExpandHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CExpandHeader.h; sourceTree = "<group>"; };
|
||||
A9A3A7571B281392001AAB3A /* CExpandHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CExpandHeader.m; sourceTree = "<group>"; };
|
||||
A9A3A7581B281392001AAB3A /* image.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = image.png; sourceTree = "<group>"; };
|
||||
A9B4A9511AEDC3620017C655 /* FeedbackViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FeedbackViewController.h; sourceTree = "<group>"; };
|
||||
A9B4A9521AEDC3620017C655 /* FeedbackViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FeedbackViewController.m; sourceTree = "<group>"; };
|
||||
A9B4A9531AEDC3620017C655 /* FeedbackViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = FeedbackViewController.xib; sourceTree = "<group>"; };
|
||||
@@ -686,6 +705,9 @@
|
||||
A9617A501ACC274C0024AE4A /* My */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
A94691CA1B26EACE00B5D26B /* PersonalInfoViewController.h */,
|
||||
A94691CC1B26EACE00B5D26B /* PersonalInfoViewController.m */,
|
||||
A94691CB1B26EACE00B5D26B /* PersonalInfoViewController.xib */,
|
||||
A9617A511ACC27860024AE4A /* SetUpViewController.h */,
|
||||
A9617A521ACC27860024AE4A /* SetUpViewController.m */,
|
||||
A9617A531ACC27860024AE4A /* SetUpViewController.xib */,
|
||||
@@ -813,6 +835,9 @@
|
||||
A96F27F11B21C5AC00DA0A66 /* PraiseUserListTableViewCell.h */,
|
||||
A96F27F21B21C5AC00DA0A66 /* PraiseUserListTableViewCell.m */,
|
||||
A96F27F31B21C5AC00DA0A66 /* PraiseUserListTableViewCell.xib */,
|
||||
A9A3A74C1B2805DA001AAB3A /* PersonalTopView.h */,
|
||||
A9A3A74D1B2805DA001AAB3A /* PersonalTopView.m */,
|
||||
A9A3A74F1B2805EA001AAB3A /* PersonalTopView.xib */,
|
||||
);
|
||||
path = User;
|
||||
sourceTree = "<group>";
|
||||
@@ -985,6 +1010,7 @@
|
||||
A97C54D91AC9014D0038818A /* Vender */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
A9A3A7551B281392001AAB3A /* CExpandHeader */,
|
||||
A9754A0D1ADC080E0018BAAD /* AudioPlayer */,
|
||||
A96862511ACCF13300DDAA6B /* PSTCollectionView */,
|
||||
A968624D1ACCF12300DDAA6B /* DACircularProgress */,
|
||||
@@ -1023,6 +1049,8 @@
|
||||
A97C54E21AC91FD70038818A /* Resource */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
A9A3A7531B281178001AAB3A /* PersonalTopBg@2x.jpg */,
|
||||
A9A3A7511B2810DB001AAB3A /* Pofile_coverImage@2x.jpg */,
|
||||
A9B6DFE51B2033A80003C1BC /* toolbar_light_comment@2x.png */,
|
||||
A9B6DFE31B202E950003C1BC /* night_user_comment_circle@2x.png */,
|
||||
A9B6DFDF1B202E7D0003C1BC /* comment_support_fake@2x.png */,
|
||||
@@ -1249,6 +1277,16 @@
|
||||
path = Message;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
A9A3A7551B281392001AAB3A /* CExpandHeader */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
A9A3A7561B281392001AAB3A /* CExpandHeader.h */,
|
||||
A9A3A7571B281392001AAB3A /* CExpandHeader.m */,
|
||||
A9A3A7581B281392001AAB3A /* image.png */,
|
||||
);
|
||||
path = CExpandHeader;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
A9B4E39B1AC9908E00A1DBDF /* UMAnalytics_Sdk_3.4.6 */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
@@ -1415,6 +1453,7 @@
|
||||
A97559A51ACB9748004ADA42 /* setup-head-default@2x.png in Resources */,
|
||||
A97DBE3F1ACAE29E00705682 /* Icon.png in Resources */,
|
||||
A98536871AEBDA1E000312BF /* OurLoginViewController.xib in Resources */,
|
||||
A9A3A75A1B281392001AAB3A /* image.png in Resources */,
|
||||
A9754A271ADC199B0018BAAD /* MyMessageViewController.xib in Resources */,
|
||||
A94DF6361AD4D94E00DCDCB0 /* MyNoteViewController.xib in Resources */,
|
||||
A9E2711C1ADB97ED000B1542 /* Default.png in Resources */,
|
||||
@@ -1422,6 +1461,7 @@
|
||||
A97559CF1ACBF0BC004ADA42 /* btn_good@2x.png in Resources */,
|
||||
A97559CC1ACBF0BC004ADA42 /* btn_bad_clicked@2x.png in Resources */,
|
||||
A97DBE461ACAE7B500705682 /* iconWeixin@2x.png in Resources */,
|
||||
A94691CD1B26EACE00B5D26B /* PersonalInfoViewController.xib in Resources */,
|
||||
A96862421ACCF0B400DDAA6B /* LICENCE.txt in Resources */,
|
||||
A985367D1AEB8F89000312BF /* RegistInfoViewController.xib in Resources */,
|
||||
A9CF21281B1C53E3007490EF /* CommentGoodListCellTableViewCell.xib in Resources */,
|
||||
@@ -1452,6 +1492,7 @@
|
||||
A97DBE441ACAE61400705682 /* first-login-qq@2x.png in Resources */,
|
||||
A9B6DFDC1B2023730003C1BC /* recommend_refreshtip_close@2x.png in Resources */,
|
||||
A9FAD42D1AC923E2007ADC10 /* MessageViewController.xib in Resources */,
|
||||
A9A3A7541B281178001AAB3A /* PersonalTopBg@2x.jpg in Resources */,
|
||||
A9B6DFE41B202E950003C1BC /* night_user_comment_circle@2x.png in Resources */,
|
||||
A9B4A9551AEDC3620017C655 /* FeedbackViewController.xib in Resources */,
|
||||
A98F986C1ACA2FA9007C4594 /* BaseRefreshViewController.xib in Resources */,
|
||||
@@ -1488,6 +1529,7 @@
|
||||
A93441F71ACA918100A6B233 /* tabbarSetup@2x.png in Resources */,
|
||||
A9B6DFDE1B2028B80003C1BC /* share_cancel@2x.png in Resources */,
|
||||
A90BA0091AD6060600728393 /* playButtonClick@2x.png in Resources */,
|
||||
A9A3A7501B2805EA001AAB3A /* PersonalTopView.xib in Resources */,
|
||||
A9FD82BD1B1D544300AC4DC9 /* CommentTableViewCell.xib in Resources */,
|
||||
A98536731AEB66F9000312BF /* ReportViewController.xib in Resources */,
|
||||
A97C55011AC933AD0038818A /* UMSCommentInputController.xib in Resources */,
|
||||
@@ -1517,6 +1559,7 @@
|
||||
A97DBE341ACAE10800705682 /* LoginViewController.xib in Resources */,
|
||||
A93441EA1ACA8AD200A6B233 /* Profile_filter_ImageIconClick@2x.png in Resources */,
|
||||
A97C55021AC933AD0038818A /* UMSCommentInputControlleriPad.xib in Resources */,
|
||||
A9A3A7521B2810DB001AAB3A /* Pofile_coverImage@2x.jpg in Resources */,
|
||||
A93441F11ACA916D00A6B233 /* tabbarQuotation@2x.png in Resources */,
|
||||
A90BA00D1AD6062300728393 /* repeatVideoStarticon@2x.png in Resources */,
|
||||
);
|
||||
@@ -1603,6 +1646,7 @@
|
||||
A97C54CD1AC8F10F0038818A /* BaseViewModel.m in Sources */,
|
||||
A9754A261ADC199B0018BAAD /* MyMessageViewController.m in Sources */,
|
||||
A9617A4F1ACC0D0F0024AE4A /* NoteViewModel.m in Sources */,
|
||||
A94691CE1B26EACE00B5D26B /* PersonalInfoViewController.m in Sources */,
|
||||
A96862461ACCF0B400DDAA6B /* MWPhoto.m in Sources */,
|
||||
A96F27F41B21C5AC00DA0A66 /* PraiseUserListTableViewCell.m in Sources */,
|
||||
A968624A1ACCF0B400DDAA6B /* MWZoomingScrollView.m in Sources */,
|
||||
@@ -1634,11 +1678,13 @@
|
||||
A99AA12D1ADCCB3C00574B12 /* MessageViewModel.m in Sources */,
|
||||
A968626F1ACCF13300DDAA6B /* PSTCollectionView.m in Sources */,
|
||||
A9FAD4351AC925AC007ADC10 /* LoginViewModel.m in Sources */,
|
||||
A9A3A7591B281392001AAB3A /* CExpandHeader.m in Sources */,
|
||||
A98536861AEBDA1E000312BF /* OurLoginViewController.m in Sources */,
|
||||
A95510921AC39E6A0006D16F /* main.m in Sources */,
|
||||
A95CE2EB1B1DFD030017AE68 /* NoteCommentViewModel.m in Sources */,
|
||||
A98D659D1AD37F18008668EE /* MessageTableViewCell.m in Sources */,
|
||||
A96862711ACCF13300DDAA6B /* PSTCollectionViewController.m in Sources */,
|
||||
A9A3A74E1B2805DA001AAB3A /* PersonalTopView.m in Sources */,
|
||||
A96862431ACCF0B400DDAA6B /* MWCaptionView.m in Sources */,
|
||||
A9FD82BC1B1D544300AC4DC9 /* CommentTableViewCell.m in Sources */,
|
||||
A9B6DFCC1B1FFDB20003C1BC /* CommentTextView.m in Sources */,
|
||||
|
||||
+6
-6
@@ -649,11 +649,11 @@
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "Ash_AWord/Views/Note/NoteTableViewCell.m"
|
||||
timestampString = "455187738.062961"
|
||||
timestampString = "455535412.426096"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "168"
|
||||
endingLineNumber = "168"
|
||||
startingLineNumber = "169"
|
||||
endingLineNumber = "169"
|
||||
landmarkName = "-setText_Image:"
|
||||
landmarkType = "5">
|
||||
</BreakpointContent>
|
||||
@@ -1561,11 +1561,11 @@
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "Ash_AWord/Views/Note/NoteTableViewCell.m"
|
||||
timestampString = "455187738.062961"
|
||||
timestampString = "455535412.426096"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "179"
|
||||
endingLineNumber = "179"
|
||||
startingLineNumber = "180"
|
||||
endingLineNumber = "180"
|
||||
landmarkName = "-canPerformAction:withSender:"
|
||||
landmarkType = "5">
|
||||
</BreakpointContent>
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 570 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 132 KiB |
+46
@@ -0,0 +1,46 @@
|
||||
//
|
||||
// CExpandHeader.h
|
||||
// CExpandHeaderViewExample
|
||||
//
|
||||
//
|
||||
// Created by cml on 14-8-27.
|
||||
// Copyright (c) 2014年 Mei_L. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface CExpandHeader : NSObject <UIScrollViewDelegate>
|
||||
|
||||
#pragma mark - 类方法
|
||||
/**
|
||||
* 生成一个CExpandHeader实例
|
||||
*
|
||||
* @param scrollView
|
||||
* @param expandView 可以伸展的背景View
|
||||
*
|
||||
* @return CExpandHeader 对象
|
||||
*/
|
||||
+ (id)expandWithScrollView:(UIScrollView*)scrollView expandView:(UIView*)expandView;
|
||||
|
||||
|
||||
#pragma mark - 成员方法
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @param scrollView
|
||||
* @param expandView
|
||||
*/
|
||||
- (void)expandWithScrollView:(UIScrollView*)scrollView expandView:(UIView*)expandView;
|
||||
|
||||
/**
|
||||
* 监听scrollViewDidScroll方法
|
||||
*
|
||||
* @param scrollView
|
||||
*/
|
||||
- (void)scrollViewDidScroll:(UIScrollView*)scrollView;
|
||||
|
||||
@end
|
||||
|
||||
// 版权属于原作者
|
||||
// http://code4app.com (cn) http://code4app.net (en)
|
||||
// 发布代码于最专业的源码分享网站: Code4App.com
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
//
|
||||
// CExpandHeader.m
|
||||
// CExpandHeaderViewExample
|
||||
//
|
||||
// Created by cml on 14-8-27.
|
||||
// Copyright (c) 2014年 Mei_L. All rights reserved.
|
||||
//
|
||||
|
||||
#define CExpandContentOffset @"contentOffset"
|
||||
|
||||
#import "CExpandHeader.h"
|
||||
|
||||
@implementation CExpandHeader{
|
||||
__weak UIScrollView *_scrollView; //scrollView或者其子类
|
||||
__weak UIView *_expandView; //背景可以伸展的View
|
||||
|
||||
CGFloat _expandHeight;
|
||||
}
|
||||
|
||||
- (void)dealloc{
|
||||
if (_scrollView) {
|
||||
[_scrollView removeObserver:self forKeyPath:CExpandContentOffset];
|
||||
_scrollView = nil;
|
||||
}
|
||||
_expandView = nil;
|
||||
}
|
||||
|
||||
+ (id)expandWithScrollView:(UIScrollView*)scrollView expandView:(UIView*)expandView{
|
||||
CExpandHeader *expandHeader = [CExpandHeader new];
|
||||
[expandHeader expandWithScrollView:scrollView expandView:expandView];
|
||||
return expandHeader;
|
||||
}
|
||||
|
||||
- (void)expandWithScrollView:(UIScrollView*)scrollView expandView:(UIView*)expandView{
|
||||
|
||||
|
||||
_expandHeight = CGRectGetHeight(expandView.frame);
|
||||
|
||||
_scrollView = scrollView;
|
||||
_scrollView.contentInset = UIEdgeInsetsMake(_expandHeight, 0, 0, 0);
|
||||
[_scrollView insertSubview:expandView atIndex:0];
|
||||
[_scrollView addObserver:self forKeyPath:CExpandContentOffset options:NSKeyValueObservingOptionNew context:nil];
|
||||
[_scrollView setContentOffset:CGPointMake(0, -180)];
|
||||
|
||||
_expandView = expandView;
|
||||
|
||||
//使View可以伸展效果 重要属性
|
||||
_expandView.contentMode= UIViewContentModeScaleAspectFill;
|
||||
_expandView.clipsToBounds = YES;
|
||||
|
||||
[self reSizeView];
|
||||
|
||||
}
|
||||
|
||||
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context{
|
||||
if (![keyPath isEqualToString:CExpandContentOffset]) {
|
||||
return;
|
||||
}
|
||||
[self scrollViewDidScroll:_scrollView];
|
||||
}
|
||||
|
||||
- (void)scrollViewDidScroll:(UIScrollView*)scrollView
|
||||
{
|
||||
|
||||
CGFloat offsetY = scrollView.contentOffset.y;
|
||||
if(offsetY < _expandHeight * -1) {
|
||||
CGRect currentFrame = _expandView.frame;
|
||||
currentFrame.origin.y = offsetY;
|
||||
currentFrame.size.height = -1*offsetY;
|
||||
_expandView.frame = currentFrame;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
- (void)reSizeView{
|
||||
|
||||
//重置_expandView位置
|
||||
[_expandView setFrame:CGRectMake(0, -1*_expandHeight, CGRectGetWidth(_expandView.frame), _expandHeight)];
|
||||
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
// 版权属于原作者
|
||||
// http://code4app.com (cn) http://code4app.net (en)
|
||||
// 发布代码于最专业的源码分享网站: Code4App.com
|
||||
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 191 KiB |
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7531" systemVersion="14A389" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7702" systemVersion="14A389" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7520"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7701"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="LoginViewController">
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// PersonalInfoViewController.h
|
||||
// Ash_AWord
|
||||
//
|
||||
// Created by xmfish on 15/6/9.
|
||||
// Copyright (c) 2015年 ash. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ViewController.h"
|
||||
#import "BaseRefreshViewController.h"
|
||||
@interface PersonalInfoViewController : BaseRefreshViewController
|
||||
@property (weak, nonatomic) IBOutlet UITableView *tableView;
|
||||
@property (weak, nonatomic) IBOutlet UIImageView *topViewImage;
|
||||
- (IBAction)chatBtnClick:(id)sender;
|
||||
@property (weak, nonatomic) IBOutlet UIView *lineView;
|
||||
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *lineHeight;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,68 @@
|
||||
//
|
||||
// PersonalInfoViewController.m
|
||||
// Ash_AWord
|
||||
//
|
||||
// Created by xmfish on 15/6/9.
|
||||
// Copyright (c) 2015年 ash. All rights reserved.
|
||||
//
|
||||
|
||||
#import "PersonalInfoViewController.h"
|
||||
#import "CExpandHeader.h"
|
||||
#import "PersonalTopView.h"
|
||||
|
||||
|
||||
|
||||
@interface PersonalInfoViewController ()
|
||||
{
|
||||
CExpandHeader *_header;
|
||||
PersonalTopView* _personalTopView;
|
||||
}
|
||||
@end
|
||||
|
||||
@implementation PersonalInfoViewController
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
// Do any additional setup after loading the view from its nib.
|
||||
|
||||
[self.tableView removeHeader];
|
||||
_personalTopView = [Ash_UIUtil instanceXibView:@"PersonalTopView"];
|
||||
[self.tableView setTableHeaderView:_personalTopView];
|
||||
|
||||
}
|
||||
- (void)viewWillAppear:(BOOL)animated{
|
||||
[super viewWillAppear:animated];
|
||||
|
||||
}
|
||||
|
||||
- (void)scrollViewDidScroll:(UIScrollView *)scrollView{
|
||||
CGFloat yOffset = scrollView.contentOffset.y;
|
||||
if (yOffset <= 0) {
|
||||
CGRect f = _topViewImage.frame;
|
||||
f.origin.y = -80 - yOffset*0.8;
|
||||
_topViewImage.frame = f;
|
||||
}else{
|
||||
CGRect f = _topViewImage.frame;
|
||||
f.origin.y = -80 - yOffset*0.8;
|
||||
_topViewImage.frame = f;
|
||||
}
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
}
|
||||
|
||||
/*
|
||||
#pragma mark - Navigation
|
||||
|
||||
// In a storyboard-based application, you will often want to do a little preparation before navigation
|
||||
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
|
||||
// Get the new view controller using [segue destinationViewController].
|
||||
// Pass the selected object to the new view controller.
|
||||
}
|
||||
*/
|
||||
|
||||
- (IBAction)chatBtnClick:(id)sender {
|
||||
}
|
||||
@end
|
||||
@@ -0,0 +1,86 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7702" systemVersion="14A389" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7701"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="PersonalInfoViewController">
|
||||
<connections>
|
||||
<outlet property="lineHeight" destination="fMj-Nw-YKG" id="1sh-5r-9If"/>
|
||||
<outlet property="lineView" destination="mGD-VK-ptG" id="2U2-Ph-hHL"/>
|
||||
<outlet property="tableView" destination="tLB-Tb-fTR" id="ZsR-II-Hek"/>
|
||||
<outlet property="topViewImage" destination="FhV-5X-Wr2" id="0Dq-sQ-vjx"/>
|
||||
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
|
||||
</connections>
|
||||
</placeholder>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Pofile_coverImage.jpg" translatesAutoresizingMaskIntoConstraints="NO" id="FhV-5X-Wr2">
|
||||
<rect key="frame" x="0.0" y="-80" width="320" height="300"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="300" id="q3I-lX-66g"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="grouped" separatorStyle="default" rowHeight="44" sectionHeaderHeight="10" sectionFooterHeight="10" translatesAutoresizingMaskIntoConstraints="NO" id="tLB-Tb-fTR">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="524"/>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
<color key="sectionIndexBackgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</tableView>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="RfR-Wi-Dtb">
|
||||
<rect key="frame" x="0.0" y="524" width="320" height="44"/>
|
||||
<subviews>
|
||||
<view alpha="0.29999999999999999" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="mGD-VK-ptG">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="1"/>
|
||||
<color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="1" id="fMj-Nw-YKG"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="sYY-oG-2Ed">
|
||||
<rect key="frame" x="0.0" y="1" width="320" height="43"/>
|
||||
<state key="normal" title="聊天">
|
||||
<color key="titleColor" red="0.3803921569" green="0.74901960779999999" blue="0.66274509800000003" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<connections>
|
||||
<action selector="chatBtnClick:" destination="-1" eventType="touchUpInside" id="Kfa-de-Jcl"/>
|
||||
</connections>
|
||||
</button>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstItem="mGD-VK-ptG" firstAttribute="top" secondItem="RfR-Wi-Dtb" secondAttribute="top" id="1MM-kh-riP"/>
|
||||
<constraint firstAttribute="height" constant="44" id="1zb-0Y-KGd"/>
|
||||
<constraint firstAttribute="bottom" secondItem="sYY-oG-2Ed" secondAttribute="bottom" id="EoU-2e-Nag"/>
|
||||
<constraint firstAttribute="trailing" secondItem="sYY-oG-2Ed" secondAttribute="trailing" id="Pmr-Ab-5SU"/>
|
||||
<constraint firstItem="sYY-oG-2Ed" firstAttribute="leading" secondItem="RfR-Wi-Dtb" secondAttribute="leading" id="nJf-vo-yxb"/>
|
||||
<constraint firstAttribute="trailing" secondItem="mGD-VK-ptG" secondAttribute="trailing" id="oTe-Tq-T30"/>
|
||||
<constraint firstItem="mGD-VK-ptG" firstAttribute="leading" secondItem="RfR-Wi-Dtb" secondAttribute="leading" id="rc6-iC-UxI"/>
|
||||
<constraint firstItem="sYY-oG-2Ed" firstAttribute="top" secondItem="mGD-VK-ptG" secondAttribute="bottom" id="tZ4-sS-bmD"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="trailing" secondItem="tLB-Tb-fTR" secondAttribute="trailing" id="3fo-xC-fMv"/>
|
||||
<constraint firstAttribute="bottom" secondItem="tLB-Tb-fTR" secondAttribute="bottom" constant="44" id="4gb-ko-rFl"/>
|
||||
<constraint firstItem="FhV-5X-Wr2" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" constant="-80" id="7pT-an-cVR"/>
|
||||
<constraint firstItem="tLB-Tb-fTR" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="NfR-Rj-UBa"/>
|
||||
<constraint firstItem="RfR-Wi-Dtb" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="PGO-gW-obz"/>
|
||||
<constraint firstItem="FhV-5X-Wr2" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="WTI-Yt-41s"/>
|
||||
<constraint firstAttribute="bottom" secondItem="RfR-Wi-Dtb" secondAttribute="bottom" id="YQ4-FC-dla"/>
|
||||
<constraint firstAttribute="trailing" secondItem="RfR-Wi-Dtb" secondAttribute="trailing" id="iRK-KX-S7u"/>
|
||||
<constraint firstAttribute="trailing" secondItem="FhV-5X-Wr2" secondAttribute="trailing" id="m6y-sX-gZN"/>
|
||||
<constraint firstItem="tLB-Tb-fTR" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="xci-vh-SFB"/>
|
||||
</constraints>
|
||||
<simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
|
||||
</view>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="Pofile_coverImage.jpg" width="320" height="400"/>
|
||||
</resources>
|
||||
</document>
|
||||
@@ -13,6 +13,7 @@
|
||||
#import "SetUpViewController.h"
|
||||
#import "MyNoteViewController.h"
|
||||
#import "NoteCommentViewController.h"
|
||||
#import "PersonalInfoViewController.h"
|
||||
@interface NoteTableViewCell()<MWPhotoBrowserDelegate>
|
||||
@end
|
||||
@implementation NoteTableViewCell
|
||||
@@ -199,6 +200,11 @@
|
||||
return imageHeight+labelRect.size.height+95;
|
||||
}
|
||||
- (IBAction)avatarBtnClick:(id)sender {
|
||||
|
||||
PersonalInfoViewController* personalInfoViewController = [[PersonalInfoViewController alloc] init];
|
||||
personalInfoViewController.hidesBottomBarWhenPushed = YES;
|
||||
[[AppDelegate visibleViewController].navigationController pushViewController:personalInfoViewController animated:YES];
|
||||
return;
|
||||
if (![_text_image.ownerId isEqualToString:[AWordUser sharedInstance].uid] ) {
|
||||
MyNoteViewController* myNoteViewController = [[MyNoteViewController alloc] init];
|
||||
myNoteViewController.otherUserId = _text_image.ownerId;
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// PersonalTopView.h
|
||||
// Ash_AWord
|
||||
//
|
||||
// Created by xmfish on 15/6/10.
|
||||
// Copyright (c) 2015年 ash. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface PersonalTopView : UIView
|
||||
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
|
||||
@property (weak, nonatomic) IBOutlet UIButton *avatarBtn;
|
||||
- (IBAction)avatarBtnClick:(id)sender;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *signatureLabel;
|
||||
- (IBAction)voiceBtnClick:(id)sender;
|
||||
@property (weak, nonatomic) IBOutlet UIButton *voiceBtn;
|
||||
- (IBAction)imageBtnClick:(id)sender;
|
||||
@property (weak, nonatomic) IBOutlet UIButton *imageBtn;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *fansCountLabel;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *attentionCountLabel;
|
||||
@property (weak, nonatomic) IBOutlet UIView *line1;
|
||||
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *line1Width;
|
||||
@property (weak, nonatomic) IBOutlet UIView *line2;
|
||||
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *line3Height;
|
||||
@property (weak, nonatomic) IBOutlet UIView *line3;
|
||||
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *line2Width;
|
||||
@property (weak, nonatomic) IBOutlet UIView *selectView;
|
||||
@property (weak, nonatomic) IBOutlet UIButton *attentionBtn;
|
||||
- (IBAction)attentionBtnClick:(id)sender;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,76 @@
|
||||
//
|
||||
// PersonalTopView.m
|
||||
// Ash_AWord
|
||||
//
|
||||
// Created by xmfish on 15/6/10.
|
||||
// Copyright (c) 2015年 ash. All rights reserved.
|
||||
//
|
||||
|
||||
#import "PersonalTopView.h"
|
||||
|
||||
@implementation PersonalTopView
|
||||
{
|
||||
BOOL _isSelectImage;
|
||||
}
|
||||
/*
|
||||
// Only override drawRect: if you perform custom drawing.
|
||||
// An empty implementation adversely affects performance during animation.
|
||||
- (void)drawRect:(CGRect)rect {
|
||||
// Drawing code
|
||||
}
|
||||
*/
|
||||
-(void)awakeFromNib
|
||||
{
|
||||
_isSelectImage = YES;
|
||||
|
||||
_line1.backgroundColor = [UIColor lineColor];
|
||||
_line2.backgroundColor = [UIColor lineColor];
|
||||
_line3.backgroundColor = [UIColor lineColor];
|
||||
_line1Width.constant = 0.5;
|
||||
_line2Width.constant = 0.5;
|
||||
_line3Height.constant = 0.5;
|
||||
|
||||
_avatarBtn.layer.masksToBounds = YES;
|
||||
_avatarBtn.layer.cornerRadius = _avatarBtn.frame.size.width/2;
|
||||
|
||||
[_voiceBtn setTitleColor:[UIColor lightGrayColor] forState:UIControlStateNormal];
|
||||
[_imageBtn setTitleColor:[UIColor appMainColor] forState:UIControlStateNormal];
|
||||
|
||||
[_attentionBtn setTitleColor:[UIColor appMainColor] forState:UIControlStateNormal];
|
||||
_attentionBtn.layer.masksToBounds = YES;
|
||||
_attentionBtn.layer.cornerRadius = 2.0;
|
||||
|
||||
}
|
||||
- (IBAction)avatarBtnClick:(id)sender {
|
||||
}
|
||||
- (IBAction)voiceBtnClick:(id)sender {
|
||||
if (_isSelectImage == NO) {
|
||||
return;
|
||||
}
|
||||
_isSelectImage = NO;
|
||||
[_imageBtn setTitleColor:[UIColor lightGrayColor] forState:UIControlStateNormal];
|
||||
[_voiceBtn setTitleColor:[UIColor appMainColor] forState:UIControlStateNormal];
|
||||
|
||||
CGRect frame = _selectView.frame;
|
||||
frame.origin.x = kScreenWidth/2;
|
||||
[UIView animateWithDuration:0.3 animations:^{
|
||||
_selectView.frame = frame;
|
||||
}];
|
||||
}
|
||||
- (IBAction)imageBtnClick:(id)sender {
|
||||
if (_isSelectImage == YES) {
|
||||
return;
|
||||
}
|
||||
_isSelectImage = YES;
|
||||
[_imageBtn setTitleColor:[UIColor appMainColor] forState:UIControlStateNormal];
|
||||
[_voiceBtn setTitleColor:[UIColor lightGrayColor] forState:UIControlStateNormal];
|
||||
|
||||
CGRect frame = _selectView.frame;
|
||||
frame.origin.x = 0;
|
||||
[UIView animateWithDuration:0.3 animations:^{
|
||||
_selectView.frame = frame;
|
||||
}];
|
||||
}
|
||||
- (IBAction)attentionBtnClick:(id)sender {
|
||||
}
|
||||
@end
|
||||
@@ -0,0 +1,222 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7702" systemVersion="14A389" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7701"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="PersonalTopView">
|
||||
<rect key="frame" x="0.0" y="1" width="320" height="239"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="WX9-rs-4F1">
|
||||
<rect key="frame" x="0.0" y="99" width="320" height="140"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="VjD-oC-vGz">
|
||||
<rect key="frame" x="0.0" y="39" width="320" height="101"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bUQ-vj-PQK">
|
||||
<rect key="frame" x="0.0" y="60" width="320" height="1"/>
|
||||
<color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="1" id="waa-n4-8cp"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="RFX-bI-t03">
|
||||
<rect key="frame" x="160" y="61" width="1" height="40"/>
|
||||
<color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="1" id="48P-NA-3YZ"/>
|
||||
<constraint firstAttribute="height" constant="40" id="Bjh-LK-4st"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bSw-ar-jAL">
|
||||
<rect key="frame" x="0.0" y="61" width="160" height="40"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<state key="normal" title="图片">
|
||||
<color key="titleColor" red="0.3803921569" green="0.74901960779999999" blue="0.66274509800000003" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<color key="titleShadowColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<connections>
|
||||
<action selector="imageBtnClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="kKV-q5-O7R"/>
|
||||
</connections>
|
||||
</button>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="e93-W1-QCy">
|
||||
<rect key="frame" x="160" y="61" width="160" height="40"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<state key="normal" title="声音">
|
||||
<color key="titleColor" red="0.3803921569" green="0.74901960779999999" blue="0.66274509800000003" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<color key="titleShadowColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<connections>
|
||||
<action selector="voiceBtnClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="0Bd-7c-JtE"/>
|
||||
</connections>
|
||||
</button>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="IPj-SU-Dm2">
|
||||
<rect key="frame" x="0.0" y="96" width="160" height="5"/>
|
||||
<color key="backgroundColor" red="0.3803921569" green="0.74901960779999999" blue="0.66274509800000003" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="5" id="0Bq-Ii-Zsq"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sml-su-cYb">
|
||||
<rect key="frame" x="273" y="8" width="1" height="40"/>
|
||||
<color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="1" id="iis-R5-w9v"/>
|
||||
<constraint firstAttribute="height" constant="40" id="rWg-mf-sBj"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="关注" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="akM-Ne-lUG">
|
||||
<rect key="frame" x="235" y="30" width="26" height="16"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="粉丝" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="m9k-Q3-cil">
|
||||
<rect key="frame" x="286" y="30" width="26" height="16"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="100" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="aTY-fs-6Kn">
|
||||
<rect key="frame" x="237" y="12" width="23" height="16"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="100" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dV9-mk-6So">
|
||||
<rect key="frame" x="288" y="12" width="23" height="16"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="最真的表白是我欲言又止的沉默" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QPy-Oj-huM">
|
||||
<rect key="frame" x="68" y="5" width="162" height="29"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
||||
<color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="trailing" secondItem="m9k-Q3-cil" secondAttribute="trailing" constant="8" id="1Ht-zi-USc"/>
|
||||
<constraint firstAttribute="trailing" secondItem="bUQ-vj-PQK" secondAttribute="trailing" id="383-FE-5Ov"/>
|
||||
<constraint firstItem="bSw-ar-jAL" firstAttribute="leading" secondItem="VjD-oC-vGz" secondAttribute="leading" id="6kG-3x-DIk"/>
|
||||
<constraint firstItem="sml-su-cYb" firstAttribute="top" secondItem="VjD-oC-vGz" secondAttribute="top" constant="8" id="7eW-ld-Mld"/>
|
||||
<constraint firstItem="e93-W1-QCy" firstAttribute="leading" secondItem="IPj-SU-Dm2" secondAttribute="trailing" id="9r3-e9-ydX"/>
|
||||
<constraint firstItem="e93-W1-QCy" firstAttribute="top" secondItem="bUQ-vj-PQK" secondAttribute="bottom" id="B2T-3J-enw"/>
|
||||
<constraint firstItem="dV9-mk-6So" firstAttribute="top" secondItem="VjD-oC-vGz" secondAttribute="top" constant="12" id="CGi-fG-rDQ"/>
|
||||
<constraint firstAttribute="trailing" secondItem="QPy-Oj-huM" secondAttribute="trailing" constant="90" id="Dta-6v-Jn5"/>
|
||||
<constraint firstAttribute="bottom" secondItem="bUQ-vj-PQK" secondAttribute="bottom" constant="40" id="Hk4-pW-yXl"/>
|
||||
<constraint firstItem="QPy-Oj-huM" firstAttribute="leading" secondItem="VjD-oC-vGz" secondAttribute="leading" constant="68" id="IX4-vS-cGU"/>
|
||||
<constraint firstItem="bUQ-vj-PQK" firstAttribute="leading" secondItem="VjD-oC-vGz" secondAttribute="leading" id="LGy-Jy-X0y"/>
|
||||
<constraint firstItem="dV9-mk-6So" firstAttribute="centerX" secondItem="m9k-Q3-cil" secondAttribute="centerX" id="Rk6-0W-3Mp"/>
|
||||
<constraint firstItem="sml-su-cYb" firstAttribute="leading" secondItem="akM-Ne-lUG" secondAttribute="trailing" constant="12" id="SgP-8a-trv"/>
|
||||
<constraint firstAttribute="trailing" secondItem="e93-W1-QCy" secondAttribute="trailing" id="WfD-YG-GPC"/>
|
||||
<constraint firstItem="akM-Ne-lUG" firstAttribute="top" secondItem="VjD-oC-vGz" secondAttribute="top" constant="30" id="XUG-cP-eFN"/>
|
||||
<constraint firstAttribute="bottom" secondItem="e93-W1-QCy" secondAttribute="bottom" id="ZhN-Ci-RXq"/>
|
||||
<constraint firstItem="aTY-fs-6Kn" firstAttribute="top" secondItem="VjD-oC-vGz" secondAttribute="top" constant="12" id="ajb-eU-ta5"/>
|
||||
<constraint firstItem="QPy-Oj-huM" firstAttribute="top" secondItem="VjD-oC-vGz" secondAttribute="top" constant="5" id="cua-ST-0Gs"/>
|
||||
<constraint firstItem="IPj-SU-Dm2" firstAttribute="leading" secondItem="VjD-oC-vGz" secondAttribute="leading" id="dG2-xc-k8a"/>
|
||||
<constraint firstAttribute="centerX" secondItem="RFX-bI-t03" secondAttribute="centerX" id="eg3-4P-7rF"/>
|
||||
<constraint firstItem="m9k-Q3-cil" firstAttribute="leading" secondItem="sml-su-cYb" secondAttribute="trailing" constant="12" id="f8i-dO-DdI"/>
|
||||
<constraint firstItem="e93-W1-QCy" firstAttribute="leading" secondItem="bSw-ar-jAL" secondAttribute="trailing" id="fOC-We-fvo"/>
|
||||
<constraint firstItem="m9k-Q3-cil" firstAttribute="top" secondItem="VjD-oC-vGz" secondAttribute="top" constant="30" id="gQC-B1-Xz9"/>
|
||||
<constraint firstAttribute="bottom" secondItem="RFX-bI-t03" secondAttribute="bottom" id="lCk-Vj-dWE"/>
|
||||
<constraint firstItem="bSw-ar-jAL" firstAttribute="top" secondItem="bUQ-vj-PQK" secondAttribute="bottom" id="mH9-6h-1KZ"/>
|
||||
<constraint firstItem="RFX-bI-t03" firstAttribute="leading" secondItem="bSw-ar-jAL" secondAttribute="trailing" id="nnF-fS-whT"/>
|
||||
<constraint firstAttribute="bottom" secondItem="IPj-SU-Dm2" secondAttribute="bottom" id="rO0-Kx-e38"/>
|
||||
<constraint firstAttribute="bottom" secondItem="bSw-ar-jAL" secondAttribute="bottom" id="rT1-nt-L8M"/>
|
||||
<constraint firstItem="aTY-fs-6Kn" firstAttribute="centerX" secondItem="akM-Ne-lUG" secondAttribute="centerX" id="srF-d1-mnT"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5o9-fJ-VTY">
|
||||
<rect key="frame" x="10" y="15" width="50" height="50"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="50" id="QWE-wA-pa0"/>
|
||||
<constraint firstAttribute="width" constant="50" id="uu6-DW-pgH"/>
|
||||
</constraints>
|
||||
<state key="normal" image="defaultUserIcon.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<connections>
|
||||
<action selector="avatarBtnClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="Qig-cA-I3T"/>
|
||||
</connections>
|
||||
</button>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="白痴一样的吴盛华" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DWw-Ue-GX3">
|
||||
<rect key="frame" x="68" y="15" width="137" height="21"/>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
<color key="shadowColor" cocoaTouchSystemColor="darkTextColor"/>
|
||||
<size key="shadowOffset" width="1" height="0.0"/>
|
||||
</label>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bTo-Vv-aD5">
|
||||
<rect key="frame" x="248" y="8" width="64" height="24"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="64" id="5YR-MV-DdA"/>
|
||||
<constraint firstAttribute="height" constant="24" id="qMh-GD-Ifm"/>
|
||||
</constraints>
|
||||
<state key="normal" title="关注">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<connections>
|
||||
<action selector="attentionBtnClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="OQY-TW-LqG"/>
|
||||
</connections>
|
||||
</button>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstItem="VjD-oC-vGz" firstAttribute="leading" secondItem="WX9-rs-4F1" secondAttribute="leading" id="6PA-XN-X1Q"/>
|
||||
<constraint firstItem="DWw-Ue-GX3" firstAttribute="leading" secondItem="5o9-fJ-VTY" secondAttribute="trailing" constant="8" id="D5a-5h-Jv2"/>
|
||||
<constraint firstItem="VjD-oC-vGz" firstAttribute="top" secondItem="DWw-Ue-GX3" secondAttribute="bottom" constant="3" id="D6d-dH-5uV"/>
|
||||
<constraint firstAttribute="bottom" secondItem="VjD-oC-vGz" secondAttribute="bottom" id="Jyi-pS-SqL"/>
|
||||
<constraint firstItem="5o9-fJ-VTY" firstAttribute="top" secondItem="WX9-rs-4F1" secondAttribute="top" constant="15" id="Ll1-uN-Igh"/>
|
||||
<constraint firstAttribute="trailing" secondItem="bTo-Vv-aD5" secondAttribute="trailing" constant="8" id="M8g-8J-WZ3"/>
|
||||
<constraint firstAttribute="trailing" secondItem="VjD-oC-vGz" secondAttribute="trailing" id="STZ-T4-AiD"/>
|
||||
<constraint firstAttribute="height" constant="140" id="Sfm-7U-gY8"/>
|
||||
<constraint firstItem="DWw-Ue-GX3" firstAttribute="top" secondItem="WX9-rs-4F1" secondAttribute="top" constant="15" id="Su2-Gp-x8T"/>
|
||||
<constraint firstItem="bTo-Vv-aD5" firstAttribute="top" secondItem="WX9-rs-4F1" secondAttribute="top" constant="8" id="Uth-32-utV"/>
|
||||
<constraint firstItem="5o9-fJ-VTY" firstAttribute="leading" secondItem="WX9-rs-4F1" secondAttribute="leading" constant="10" id="psm-pO-aXr"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="bottom" secondItem="WX9-rs-4F1" secondAttribute="bottom" id="gtr-tG-96M"/>
|
||||
<constraint firstItem="WX9-rs-4F1" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="nQ3-aZ-41G"/>
|
||||
<constraint firstAttribute="trailing" secondItem="WX9-rs-4F1" secondAttribute="trailing" id="zvw-PO-jv1"/>
|
||||
</constraints>
|
||||
<nil key="simulatedStatusBarMetrics"/>
|
||||
<nil key="simulatedTopBarMetrics"/>
|
||||
<nil key="simulatedBottomBarMetrics"/>
|
||||
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
|
||||
<connections>
|
||||
<outlet property="attentionBtn" destination="bTo-Vv-aD5" id="Uex-bh-vYt"/>
|
||||
<outlet property="attentionCountLabel" destination="aTY-fs-6Kn" id="EWv-uA-ptu"/>
|
||||
<outlet property="avatarBtn" destination="5o9-fJ-VTY" id="Bfn-tL-ki0"/>
|
||||
<outlet property="fansCountLabel" destination="dV9-mk-6So" id="nVx-CR-WIf"/>
|
||||
<outlet property="imageBtn" destination="bSw-ar-jAL" id="gXt-L0-dkx"/>
|
||||
<outlet property="line1" destination="sml-su-cYb" id="dQy-oU-Ans"/>
|
||||
<outlet property="line1Width" destination="iis-R5-w9v" id="iZx-cd-KgH"/>
|
||||
<outlet property="line2" destination="RFX-bI-t03" id="LTx-s2-MU7"/>
|
||||
<outlet property="line2Width" destination="48P-NA-3YZ" id="KU8-IM-3jt"/>
|
||||
<outlet property="line3" destination="bUQ-vj-PQK" id="H8S-h2-kbw"/>
|
||||
<outlet property="line3Height" destination="waa-n4-8cp" id="mZZ-nK-tkl"/>
|
||||
<outlet property="nameLabel" destination="DWw-Ue-GX3" id="tjY-9l-ky7"/>
|
||||
<outlet property="selectView" destination="IPj-SU-Dm2" id="PZX-yO-eXe"/>
|
||||
<outlet property="signatureLabel" destination="QPy-Oj-huM" id="zN4-UV-Ef3"/>
|
||||
<outlet property="voiceBtn" destination="e93-W1-QCy" id="vYg-jZ-5qD"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="203" y="217.5"/>
|
||||
</view>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="defaultUserIcon.png" width="50" height="50"/>
|
||||
</resources>
|
||||
</document>
|
||||
Reference in New Issue
Block a user