mirror of
https://github.com/wu736139669/Ash_AWord.git
synced 2026-08-05 05:55:19 +00:00
new
This commit is contained in:
@@ -1519,7 +1519,7 @@
|
||||
"$(PROJECT_DIR)/Ash_AWord/Vender/UMSocial_Sdk_Extra_Frameworks/Sina",
|
||||
);
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE = "c1cb5078-a2e9-47e1-9034-a1ab2bf7a109";
|
||||
PROVISIONING_PROFILE = "e0b4f9a8-771b-4fcc-afb8-a404945e92fa";
|
||||
VALID_ARCHS = "arm64 armv7 armv7s x86_64";
|
||||
};
|
||||
name = Debug;
|
||||
@@ -1547,7 +1547,7 @@
|
||||
"$(PROJECT_DIR)/Ash_AWord/Vender/UMSocial_Sdk_Extra_Frameworks/Sina",
|
||||
);
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE = "c1cb5078-a2e9-47e1-9034-a1ab2bf7a109";
|
||||
PROVISIONING_PROFILE = "e0b4f9a8-771b-4fcc-afb8-a404945e92fa";
|
||||
VALID_ARCHS = "arm64 armv7 armv7s x86_64";
|
||||
};
|
||||
name = Release;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0620"
|
||||
version = "1.8">
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
|
||||
+165
-5
@@ -1072,11 +1072,11 @@
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "Ash_AWord/Views/Message/MessageTableViewCell.m"
|
||||
timestampString = "450632546.880992"
|
||||
timestampString = "450753135.973442"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "99"
|
||||
endingLineNumber = "99"
|
||||
startingLineNumber = "100"
|
||||
endingLineNumber = "100"
|
||||
landmarkName = "-tick"
|
||||
landmarkType = "5">
|
||||
</BreakpointContent>
|
||||
@@ -1100,7 +1100,7 @@
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
shouldBeEnabled = "Yes"
|
||||
shouldBeEnabled = "No"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "Ash_AWord/ViewControllers/Main/NoteViewController.m"
|
||||
@@ -1116,7 +1116,7 @@
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
shouldBeEnabled = "Yes"
|
||||
shouldBeEnabled = "No"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "Ash_AWord/ViewModels/Note/NoteViewModel.m"
|
||||
@@ -1145,5 +1145,165 @@
|
||||
landmarkType = "5">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
shouldBeEnabled = "No"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "Ash_AWord/ViewControllers/My/MyNoteViewController.m"
|
||||
timestampString = "450752234.866664"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "52"
|
||||
endingLineNumber = "52"
|
||||
landmarkName = "-footerRereshing"
|
||||
landmarkType = "5">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
shouldBeEnabled = "No"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "Ash_AWord/Views/Message/MessageTableViewCell.m"
|
||||
timestampString = "450752747.512157"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "51"
|
||||
endingLineNumber = "51"
|
||||
landmarkName = "-playBtnClick:"
|
||||
landmarkType = "5">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
shouldBeEnabled = "No"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "Ash_AWord/Views/Message/MessageTableViewCell.m"
|
||||
timestampString = "450752843.371363"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "90"
|
||||
endingLineNumber = "90"
|
||||
landmarkName = "-tick"
|
||||
landmarkType = "5">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
shouldBeEnabled = "No"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "Ash_AWord/Views/Message/MessageTableViewCell.m"
|
||||
timestampString = "450754371.933898"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "237"
|
||||
endingLineNumber = "237"
|
||||
landmarkName = "-audioPlayer:stateChanged:"
|
||||
landmarkType = "5">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
shouldBeEnabled = "No"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "Ash_AWord/Views/Message/MessageTableViewCell.m"
|
||||
timestampString = "450754371.933898"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "242"
|
||||
endingLineNumber = "242"
|
||||
landmarkName = "-audioPlayer:didEncounterError:"
|
||||
landmarkType = "5">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
shouldBeEnabled = "No"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "Ash_AWord/Views/Message/MessageTableViewCell.m"
|
||||
timestampString = "450754371.933898"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "247"
|
||||
endingLineNumber = "247"
|
||||
landmarkName = "-audioPlayer:didStartPlayingQueueItemId:"
|
||||
landmarkType = "5">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
shouldBeEnabled = "No"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "Ash_AWord/Views/Message/MessageTableViewCell.m"
|
||||
timestampString = "450754371.933898"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "251"
|
||||
endingLineNumber = "251"
|
||||
landmarkName = "-audioPlayer:didFinishBufferingSourceWithQueueItemId:"
|
||||
landmarkType = "5">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
shouldBeEnabled = "No"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "Ash_AWord/Views/Message/MessageTableViewCell.m"
|
||||
timestampString = "450754371.933898"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "252"
|
||||
endingLineNumber = "252"
|
||||
landmarkName = "-audioPlayer:didFinishBufferingSourceWithQueueItemId:"
|
||||
landmarkType = "5">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
shouldBeEnabled = "No"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "Ash_AWord/Views/Message/MessageTableViewCell.m"
|
||||
timestampString = "450754371.933898"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "257"
|
||||
endingLineNumber = "257"
|
||||
landmarkName = "-audioPlayer:didFinishPlayingQueueItemId:withReason:andProgress:andDuration:"
|
||||
landmarkType = "5">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
shouldBeEnabled = "Yes"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "Ash_AWord/Views/Message/MessageTableViewCell.m"
|
||||
timestampString = "450753266.175428"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "101"
|
||||
endingLineNumber = "101"
|
||||
landmarkName = "-tick"
|
||||
landmarkType = "5">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
</Breakpoints>
|
||||
</Bucket>
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<string>2</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UILaunchStoryboardName</key>
|
||||
|
||||
@@ -39,7 +39,6 @@ NetworkType;
|
||||
* NSdate转为日历
|
||||
*/
|
||||
+(NSDateComponents*)componentsWithDate:(NSDate*)date;
|
||||
+(NSDateComponents*)componentsWithDate:(NSDate*)date;
|
||||
/**
|
||||
* NSdate相差天数
|
||||
*/
|
||||
|
||||
@@ -49,8 +49,7 @@
|
||||
}
|
||||
-(void)footerRereshing
|
||||
{
|
||||
_page++;
|
||||
[self footerEndRefreshing];
|
||||
[self loadData];
|
||||
}
|
||||
-(void)loadData
|
||||
{
|
||||
@@ -77,6 +76,7 @@
|
||||
}else{
|
||||
[self.tableView addGifFooterWithRefreshingTarget:self refreshingAction:@selector(footerRereshing)];
|
||||
}
|
||||
_page++;
|
||||
[self.tableView reloadData];
|
||||
|
||||
} failedBlock:^(NSError *error) {
|
||||
|
||||
@@ -222,7 +222,7 @@
|
||||
NSString *str = [NSString stringWithFormat:@"http://itunes.apple.com/us/app/id%d", kAppleID];
|
||||
url = str;
|
||||
}
|
||||
url = Ash_AWord_First_URL;
|
||||
// url = Ash_AWord_First_URL;
|
||||
NSString *shareText = [NSString stringWithFormat:@"%@%@",content,url];
|
||||
if(!image)
|
||||
{
|
||||
|
||||
@@ -97,6 +97,9 @@
|
||||
// DLog("%f",_audioPlayer.progress);
|
||||
_nowTimeLabel.text = [NSString stringWithFormat:@"%.2ld:%.2ld",(long)_audioPlayer.progress/60,(long)_audioPlayer.progress%60];
|
||||
_timeProgressView.progress = _audioPlayer.progress/_audioPlayer.duration;
|
||||
if (_audioPlayer.progress == _audioPlayer.duration) {
|
||||
[_audioPlayer stop];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -148,7 +151,8 @@
|
||||
return labelRect.size.height+160;
|
||||
}
|
||||
- (IBAction)shareBtnClick:(id)sender {
|
||||
[SetUpViewController shareAppWithViewController:nil andTitle:@"遇见你" andContent:_text_voice.content andImage:nil andUrl:nil];
|
||||
|
||||
[SetUpViewController shareAppWithViewController:nil andTitle:@"遇见你" andContent:_text_voice.content andImage:nil andUrl:[NSString stringWithFormat:@"%@/web/voice_share_info?record_id=%ld",Ash_AWord_API_URL,_text_voice.messageId]];
|
||||
PropertyEntity* pro = [MessageViewModel requireShareWithRecordId:_text_voice.messageId];
|
||||
[RequireEngine requireWithProperty:pro completionBlock:^(id viewModel) {
|
||||
if ([viewModel success]) {
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
|
||||
- (IBAction)shareBtnClick:(id)sender
|
||||
{
|
||||
[SetUpViewController shareAppWithViewController:nil andTitle:@"遇见你" andContent:_text_image.content andImage:_contentImgView.image andUrl:nil];
|
||||
[SetUpViewController shareAppWithViewController:nil andTitle:@"遇见你" andContent:_text_image.content andImage:_contentImgView.image andUrl:[NSString stringWithFormat:@"%@/web/image_share_info?record_id=%ld",Ash_AWord_API_URL,_text_image.messageId]];
|
||||
PropertyEntity* pro = [NoteViewModel requireShareWithRecordId:_text_image.messageId];
|
||||
[RequireEngine requireWithProperty:pro completionBlock:^(id viewModel) {
|
||||
if ([viewModel success]) {
|
||||
@@ -133,16 +133,16 @@
|
||||
|
||||
_timeLabel.text = [CommonUtil timeFromtimeSp:text_image.createTime.stringValue];
|
||||
UIFont *font = [UIFont appFontOfSize:14.0];
|
||||
CGSize size = CGSizeMake(310*[Ash_UIUtil currentScreenSizeRate],MAXFLOAT);
|
||||
CGSize size = CGSizeMake(300*[Ash_UIUtil currentScreenSizeRate],MAXFLOAT);
|
||||
|
||||
CGRect labelRect = [text_image.content boundingRectWithSize:size options:NSStringDrawingUsesLineFragmentOrigin|NSStringDrawingUsesFontLeading attributes:@{NSFontAttributeName:font} context:nil];
|
||||
_contentHeight.constant = labelRect.size.height+25;
|
||||
_contentTextView.text = text_image.content;
|
||||
[_contentImgView sd_setImageWithURL:text_image.imageUrl placeholderImage:pressedColorImg];
|
||||
|
||||
[_goodBtn setTitle:[NSString stringWithFormat:@"%ld",text_image.praiseCount] forState:UIControlStateNormal];
|
||||
[_goodBtn setTitle:[NSString stringWithFormat:@"%ld",text_image.praiseCount] forState:UIControlStateSelected];
|
||||
[_shareBtn setTitle:[NSString stringWithFormat:@"%ld",text_image.shareCount] forState:UIControlStateNormal];
|
||||
[_goodBtn setTitle:[NSString stringWithFormat:@"%ld",(long)text_image.praiseCount] forState:UIControlStateNormal];
|
||||
[_goodBtn setTitle:[NSString stringWithFormat:@"%ld",(long)text_image.praiseCount] forState:UIControlStateSelected];
|
||||
[_shareBtn setTitle:[NSString stringWithFormat:@"%ld",(long)text_image.shareCount] forState:UIControlStateNormal];
|
||||
|
||||
[self setGoodBtnSelect:text_image.hasPraised];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user