cocoapods-app_group 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoapods/app_group/version.rb +1 -1
- data/templates/AppGroup.h +1 -0
- data/templates/AppGroup.m +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2c32fbe0c3a45042edf2f27e2b23a21404094d6
|
4
|
+
data.tar.gz: 3e2a21326f458476e9a7e52f0e8953b1805f5015
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1b7a0eae48917680f6ddd51d8ca03b22207f7265371d23423f15e1a6754029e325166eca233cebaa29f7ca25f75c29c3a9b9f0f888ac75a00e8e9cbc2f158d4
|
7
|
+
data.tar.gz: b8c4bf57e618b8be23831e58fb999de52f7446473e8f6dd5c22965a4693d49971441c30d02613a1e23d9649090d885e69249ca83b5a9e2858464b90a8c9d125b
|
data/templates/AppGroup.h
CHANGED
data/templates/AppGroup.m
CHANGED
@@ -15,6 +15,11 @@ static NSString * const kAppIdentifier = @"<%= store.read :app_group %>";
|
|
15
15
|
return [containerPath stringByAppendingPathComponent:subpath];
|
16
16
|
}
|
17
17
|
|
18
|
+
+ (NSURL *)urlForResource:(NSString *)subpath {
|
19
|
+
NSURL *container = [[NSFileManager defaultManager] containerURLForSecurityApplicationGroupIdentifier:[self appGroupID]];
|
20
|
+
return [container URLByAppendingPathComponent:subpath];
|
21
|
+
}
|
22
|
+
|
18
23
|
+ (NSUserDefaults*)userDefaults
|
19
24
|
{
|
20
25
|
return [[NSUserDefaults alloc] initWithSuiteName: [self appGroupID]];
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-app_group
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mzp
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|