-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJC Tabbar.codesnippet
More file actions
32 lines (30 loc) · 1.28 KB
/
Copy pathJC Tabbar.codesnippet
File metadata and controls
32 lines (30 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?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>JCTabbar</string>
<key>IDECodeSnippetCompletionScopes</key>
<array>
<string>CodeBlock</string>
</array>
<key>IDECodeSnippetContents</key>
<string>// Master Controller
UINavigationController *<#nav1#> = [[UINavigationController alloc] initWithRootViewController:[[UIViewController alloc] init]];
nav1.tabBarItem = [[UITabBarItem alloc] initWithTitle:@"主页" image:nil tag:0];
// Setting Controller
UINavigationController *<#nav2#> = [[UINavigationController alloc] initWithRootViewController:[[UIViewController alloc] init]];
nav2.tabBarItem = [[UITabBarItem alloc] initWithTitle:@"设置" image:nil tag:1];
self.viewControllers = @[<#nav1#>, <#nav2#>];</string>
<key>IDECodeSnippetIdentifier</key>
<string>87DAC9F5-146D-4428-BDE8-4FA628260EA3</string>
<key>IDECodeSnippetLanguage</key>
<string>Xcode.SourceCodeLanguage.Objective-C</string>
<key>IDECodeSnippetTitle</key>
<string>JC Tabbar</string>
<key>IDECodeSnippetUserSnippet</key>
<true/>
<key>IDECodeSnippetVersion</key>
<integer>2</integer>
</dict>
</plist>