Skip to content

Commit 56fd3a2

Browse files
committed
Update naming of RNCProgressview to RNCProgressView
1 parent 594dde3 commit 56fd3a2

File tree

8 files changed

+31
-31
lines changed

8 files changed

+31
-31
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ It was part of React Native Core.
1616
#### iOS
1717

1818
1. In XCode, in the project navigator, right click `Libraries``Add Files to [your project's name]`
19-
2. Go to `node_modules``react-native-progressview` and add `RNCProgressview.xcodeproj`
20-
3. In XCode, in the project navigator, select your project. Add `libRNCProgressview.a` to your project's `Build Phases``Link Binary With Libraries`
19+
2. Go to `node_modules``react-native-progressview` and add `RNCProgressView.xcodeproj`
20+
3. In XCode, in the project navigator, select your project. Add `libRNCProgressView.a` to your project's `Build Phases``Link Binary With Libraries`
2121
4. Run your project (`Cmd+R`)<
2222

2323
## Usage
2424

2525
```javascript
26-
import RNCProgressview from "react-native-progressview";
26+
import RNCProgressView from "react-native-progressview";
2727
```
2828

2929
## Reference

android/src/main/java/com/reactnativecommunity/progressview/RNCProgressviewModule.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
import com.facebook.react.bridge.ReactMethod;
77
import com.facebook.react.bridge.Callback;
88

9-
public class RNCProgressviewModule extends ReactContextBaseJavaModule {
9+
public class RNCProgressViewModule extends ReactContextBaseJavaModule {
1010

1111
private final ReactApplicationContext reactContext;
1212

13-
public RNCProgressviewModule(ReactApplicationContext reactContext) {
13+
public RNCProgressViewModule(ReactApplicationContext reactContext) {
1414
super(reactContext);
1515
this.reactContext = reactContext;
1616
}
1717

1818
@Override
1919
public String getName() {
20-
return "RNCProgressview";
20+
return "RNCProgressView";
2121
}
2222
}

android/src/main/java/com/reactnativecommunity/progressview/RNCProgressviewPackage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
import com.facebook.react.bridge.ReactApplicationContext;
1111
import com.facebook.react.uimanager.ViewManager;
1212
import com.facebook.react.bridge.JavaScriptModule;
13-
public class RNCProgressviewPackage implements ReactPackage {
13+
public class RNCProgressViewPackage implements ReactPackage {
1414
@Override
1515
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
16-
return Arrays.<NativeModule>asList(new RNCProgressviewModule(reactContext));
16+
return Arrays.<NativeModule>asList(new RNCProgressViewModule(reactContext));
1717
}
1818

1919
// Deprecated from RN 0.47

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
import { NativeModules } from 'react-native';
33

4-
const { RNCProgressview } = NativeModules;
4+
const { RNCProgressView } = NativeModules;
55

6-
export default RNCProgressview;
6+
export default RNCProgressView;

ios/RNCProgressview.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#import <React/RCTBridgeModule.h>
66
#endif
77

8-
@interface RNCProgressview : NSObject <RCTBridgeModule>
8+
@interface RNCProgressView : NSObject <RCTBridgeModule>
99

1010
@end
1111

ios/RNCProgressview.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
#import "RNCProgressview.h"
2+
#import "RNCProgressView.h"
33

4-
@implementation RNCProgressview
4+
@implementation RNCProgressView
55

66
- (dispatch_queue_t)methodQueue
77
{

ios/RNCProgressview.xcodeproj/project.pbxproj

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
B3E7B58A1CC2AC0600A0062D /* RNCProgressview.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNCProgressview.m */; };
10+
B3E7B58A1CC2AC0600A0062D /* RNCProgressView.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNCProgressView.m */; };
1111
/* End PBXBuildFile section */
1212

1313
/* Begin PBXCopyFilesBuildPhase section */
@@ -23,9 +23,9 @@
2323
/* End PBXCopyFilesBuildPhase section */
2424

2525
/* Begin PBXFileReference section */
26-
134814201AA4EA6300B7C361 /* libRNCProgressview.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNCProgressview.a; sourceTree = BUILT_PRODUCTS_DIR; };
27-
B3E7B5881CC2AC0600A0062D /* RNCProgressview.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNCProgressview.h; sourceTree = "<group>"; };
28-
B3E7B5891CC2AC0600A0062D /* RNCProgressview.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNCProgressview.m; sourceTree = "<group>"; };
26+
134814201AA4EA6300B7C361 /* libRNCProgressView.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNCProgressView.a; sourceTree = BUILT_PRODUCTS_DIR; };
27+
B3E7B5881CC2AC0600A0062D /* RNCProgressView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNCProgressView.h; sourceTree = "<group>"; };
28+
B3E7B5891CC2AC0600A0062D /* RNCProgressView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNCProgressView.m; sourceTree = "<group>"; };
2929
/* End PBXFileReference section */
3030

3131
/* Begin PBXFrameworksBuildPhase section */
@@ -42,26 +42,26 @@
4242
134814211AA4EA7D00B7C361 /* Products */ = {
4343
isa = PBXGroup;
4444
children = (
45-
134814201AA4EA6300B7C361 /* libRNCProgressview.a */,
45+
134814201AA4EA6300B7C361 /* libRNCProgressView.a */,
4646
);
4747
name = Products;
4848
sourceTree = "<group>";
4949
};
5050
58B511D21A9E6C8500147676 = {
5151
isa = PBXGroup;
5252
children = (
53-
B3E7B5881CC2AC0600A0062D /* RNCProgressview.h */,
54-
B3E7B5891CC2AC0600A0062D /* RNCProgressview.m */,
53+
B3E7B5881CC2AC0600A0062D /* RNCProgressView.h */,
54+
B3E7B5891CC2AC0600A0062D /* RNCProgressView.m */,
5555
134814211AA4EA7D00B7C361 /* Products */,
5656
);
5757
sourceTree = "<group>";
5858
};
5959
/* End PBXGroup section */
6060

6161
/* Begin PBXNativeTarget section */
62-
58B511DA1A9E6C8500147676 /* RNCProgressview */ = {
62+
58B511DA1A9E6C8500147676 /* RNCProgressView */ = {
6363
isa = PBXNativeTarget;
64-
buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNCProgressview" */;
64+
buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNCProgressView" */;
6565
buildPhases = (
6666
58B511D71A9E6C8500147676 /* Sources */,
6767
58B511D81A9E6C8500147676 /* Frameworks */,
@@ -71,9 +71,9 @@
7171
);
7272
dependencies = (
7373
);
74-
name = RNCProgressview;
74+
name = RNCProgressView;
7575
productName = RCTDataManager;
76-
productReference = 134814201AA4EA6300B7C361 /* libRNCProgressview.a */;
76+
productReference = 134814201AA4EA6300B7C361 /* libRNCProgressView.a */;
7777
productType = "com.apple.product-type.library.static";
7878
};
7979
/* End PBXNativeTarget section */
@@ -90,7 +90,7 @@
9090
};
9191
};
9292
};
93-
buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNCProgressview" */;
93+
buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNCProgressView" */;
9494
compatibilityVersion = "Xcode 3.2";
9595
developmentRegion = English;
9696
hasScannedForEncodings = 0;
@@ -102,7 +102,7 @@
102102
projectDirPath = "";
103103
projectRoot = "";
104104
targets = (
105-
58B511DA1A9E6C8500147676 /* RNCProgressview */,
105+
58B511DA1A9E6C8500147676 /* RNCProgressView */,
106106
);
107107
};
108108
/* End PBXProject section */
@@ -112,7 +112,7 @@
112112
isa = PBXSourcesBuildPhase;
113113
buildActionMask = 2147483647;
114114
files = (
115-
B3E7B58A1CC2AC0600A0062D /* RNCProgressview.m in Sources */,
115+
B3E7B58A1CC2AC0600A0062D /* RNCProgressView.m in Sources */,
116116
);
117117
runOnlyForDeploymentPostprocessing = 0;
118118
};
@@ -211,7 +211,7 @@
211211
);
212212
LIBRARY_SEARCH_PATHS = "$(inherited)";
213213
OTHER_LDFLAGS = "-ObjC";
214-
PRODUCT_NAME = RNCProgressview;
214+
PRODUCT_NAME = RNCProgressView;
215215
SKIP_INSTALL = YES;
216216
};
217217
name = Debug;
@@ -227,15 +227,15 @@
227227
);
228228
LIBRARY_SEARCH_PATHS = "$(inherited)";
229229
OTHER_LDFLAGS = "-ObjC";
230-
PRODUCT_NAME = RNCProgressview;
230+
PRODUCT_NAME = RNCProgressView;
231231
SKIP_INSTALL = YES;
232232
};
233233
name = Release;
234234
};
235235
/* End XCBuildConfiguration section */
236236

237237
/* Begin XCConfigurationList section */
238-
58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNCProgressview" */ = {
238+
58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNCProgressView" */ = {
239239
isa = XCConfigurationList;
240240
buildConfigurations = (
241241
58B511ED1A9E6C8500147676 /* Debug */,
@@ -244,7 +244,7 @@
244244
defaultConfigurationIsVisible = 0;
245245
defaultConfigurationName = Release;
246246
};
247-
58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNCProgressview" */ = {
247+
58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNCProgressView" */ = {
248248
isa = XCConfigurationList;
249249
buildConfigurations = (
250250
58B511F01A9E6C8500147676 /* Debug */,
Binary file not shown.

0 commit comments

Comments
 (0)