代码拉取完成,页面将自动刷新
同步操作将从 ShrekerNil/QLCodeSnippets 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDECodeSnippetCompletionPrefix</key>
<string>ocrequest</string>
<key>IDECodeSnippetCompletionScopes</key>
<array>
<string>CodeBlock</string>
</array>
<key>IDECodeSnippetContents</key>
<string>NSString *strBaseUrl = [NSString stringWithFormat:@"%@%@", QLBaseUrlString, @""];
NSDictionary *dicParams = @{@"<##>": <#obj#>,
@"<##>": <#obj#>};
[QLHttpTool postWithBaseUrl:strBaseUrl Parameters:dicParams WhenSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
if ([responseObject isKindOfClass:[NSDictionary class]]) {
NSDictionary *dicRes = responseObject;
if ([dicRes[@"code"] boolValue]) {
[QLHUDTool dissmis];
} else {
[QLHUDTool showErrorWithStatus:dicRes[@"msg"]];
}
} else {
[QLHUDTool showErrorWithStatus:@"请求失败,请稍后再试"];
}
} WhenFailure:^(AFHTTPRequestOperation *operation, NSError *error) {
[QLHUDTool showErrorWithStatus:@"请求失败,请稍后再试"];
}];</string>
<key>IDECodeSnippetIdentifier</key>
<string>B086C20D-C466-499D-94AA-19218AB6C040</string>
<key>IDECodeSnippetLanguage</key>
<string>Xcode.SourceCodeLanguage.Objective-C</string>
<key>IDECodeSnippetSummary</key>
<string>网络请求模型</string>
<key>IDECodeSnippetTitle</key>
<string>OCRequest</string>
<key>IDECodeSnippetUserSnippet</key>
<true/>
<key>IDECodeSnippetVersion</key>
<integer>2</integer>
</dict>
</plist>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。