Rename code files to use prefix NAT
diff --git a/HiBeacons.xcodeproj/project.pbxproj b/HiBeacons.xcodeproj/project.pbxproj
index 5da4368..4149690 100644
--- a/HiBeacons.xcodeproj/project.pbxproj
+++ b/HiBeacons.xcodeproj/project.pbxproj
@@ -12,15 +12,15 @@
CF2BC92718019D6100C66D15 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CF2BC92618019D6100C66D15 /* UIKit.framework */; };
CF2BC92D18019D6100C66D15 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = CF2BC92B18019D6100C66D15 /* InfoPlist.strings */; };
CF2BC92F18019D6100C66D15 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = CF2BC92E18019D6100C66D15 /* main.m */; };
- CF2BC93318019D6100C66D15 /* NTHiBeaconsDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = CF2BC93218019D6100C66D15 /* NTHiBeaconsDelegate.m */; };
+ CF2BC93318019D6100C66D15 /* NATHiBeaconsDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = CF2BC93218019D6100C66D15 /* NATHiBeaconsDelegate.m */; };
CF2BC93518019D6100C66D15 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = CF2BC93418019D6100C66D15 /* Images.xcassets */; };
CF2BC93C18019D6100C66D15 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CF2BC93B18019D6100C66D15 /* XCTest.framework */; };
CF2BC93D18019D6100C66D15 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CF2BC92218019D6100C66D15 /* Foundation.framework */; };
CF2BC93E18019D6100C66D15 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CF2BC92618019D6100C66D15 /* UIKit.framework */; };
CF2BC94618019D6100C66D15 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = CF2BC94418019D6100C66D15 /* InfoPlist.strings */; };
- CF2BC94818019D6100C66D15 /* HiBeaconsTests.m in Sources */ = {isa = PBXBuildFile; fileRef = CF2BC94718019D6100C66D15 /* HiBeaconsTests.m */; };
+ CF2BC94818019D6100C66D15 /* NATHiBeaconsTests.m in Sources */ = {isa = PBXBuildFile; fileRef = CF2BC94718019D6100C66D15 /* NATHiBeaconsTests.m */; };
CF2BC9521801A09D00C66D15 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = CF2BC9511801A09D00C66D15 /* Main.storyboard */; };
- CF2BC9551801A0C700C66D15 /* NTViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CF2BC9541801A0C700C66D15 /* NTViewController.m */; };
+ CF2BC9551801A0C700C66D15 /* NATViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CF2BC9541801A0C700C66D15 /* NATViewController.m */; };
CF2BC9571801A34900C66D15 /* CoreBluetooth.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CF2BC9561801A34900C66D15 /* CoreBluetooth.framework */; };
CF2BC9591801A35E00C66D15 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CF2BC9581801A35E00C66D15 /* CoreLocation.framework */; };
/* End PBXBuildFile section */
@@ -44,17 +44,17 @@
CF2BC92C18019D6100C66D15 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
CF2BC92E18019D6100C66D15 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
CF2BC93018019D6100C66D15 /* HiBeacons-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "HiBeacons-Prefix.pch"; sourceTree = "<group>"; };
- CF2BC93118019D6100C66D15 /* NTHiBeaconsDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NTHiBeaconsDelegate.h; sourceTree = "<group>"; };
- CF2BC93218019D6100C66D15 /* NTHiBeaconsDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NTHiBeaconsDelegate.m; sourceTree = "<group>"; };
+ CF2BC93118019D6100C66D15 /* NATHiBeaconsDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NATHiBeaconsDelegate.h; sourceTree = "<group>"; };
+ CF2BC93218019D6100C66D15 /* NATHiBeaconsDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NATHiBeaconsDelegate.m; sourceTree = "<group>"; };
CF2BC93418019D6100C66D15 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
CF2BC93A18019D6100C66D15 /* HiBeaconsTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = HiBeaconsTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
CF2BC93B18019D6100C66D15 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
CF2BC94318019D6100C66D15 /* HiBeaconsTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "HiBeaconsTests-Info.plist"; sourceTree = "<group>"; };
CF2BC94518019D6100C66D15 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
- CF2BC94718019D6100C66D15 /* HiBeaconsTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HiBeaconsTests.m; sourceTree = "<group>"; };
+ CF2BC94718019D6100C66D15 /* NATHiBeaconsTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NATHiBeaconsTests.m; sourceTree = "<group>"; };
CF2BC9511801A09D00C66D15 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; };
- CF2BC9531801A0C700C66D15 /* NTViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NTViewController.h; sourceTree = "<group>"; };
- CF2BC9541801A0C700C66D15 /* NTViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NTViewController.m; sourceTree = "<group>"; };
+ CF2BC9531801A0C700C66D15 /* NATViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NATViewController.h; sourceTree = "<group>"; };
+ CF2BC9541801A0C700C66D15 /* NATViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NATViewController.m; sourceTree = "<group>"; };
CF2BC9561801A34900C66D15 /* CoreBluetooth.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreBluetooth.framework; path = System/Library/Frameworks/CoreBluetooth.framework; sourceTree = SDKROOT; };
CF2BC9581801A35E00C66D15 /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; };
/* End PBXFileReference section */
@@ -120,11 +120,11 @@
CF2BC92818019D6100C66D15 /* HiBeacons */ = {
isa = PBXGroup;
children = (
- CF2BC93118019D6100C66D15 /* NTHiBeaconsDelegate.h */,
- CF2BC93218019D6100C66D15 /* NTHiBeaconsDelegate.m */,
+ CF2BC93118019D6100C66D15 /* NATHiBeaconsDelegate.h */,
+ CF2BC93218019D6100C66D15 /* NATHiBeaconsDelegate.m */,
CF2BC9511801A09D00C66D15 /* Main.storyboard */,
- CF2BC9531801A0C700C66D15 /* NTViewController.h */,
- CF2BC9541801A0C700C66D15 /* NTViewController.m */,
+ CF2BC9531801A0C700C66D15 /* NATViewController.h */,
+ CF2BC9541801A0C700C66D15 /* NATViewController.m */,
CF2BC93418019D6100C66D15 /* Images.xcassets */,
CF2BC92918019D6100C66D15 /* Supporting Files */,
);
@@ -145,7 +145,7 @@
CF2BC94118019D6100C66D15 /* HiBeaconsTests */ = {
isa = PBXGroup;
children = (
- CF2BC94718019D6100C66D15 /* HiBeaconsTests.m */,
+ CF2BC94718019D6100C66D15 /* NATHiBeaconsTests.m */,
CF2BC94218019D6100C66D15 /* Supporting Files */,
);
path = HiBeaconsTests;
@@ -268,9 +268,9 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
- CF2BC93318019D6100C66D15 /* NTHiBeaconsDelegate.m in Sources */,
+ CF2BC93318019D6100C66D15 /* NATHiBeaconsDelegate.m in Sources */,
CF2BC92F18019D6100C66D15 /* main.m in Sources */,
- CF2BC9551801A0C700C66D15 /* NTViewController.m in Sources */,
+ CF2BC9551801A0C700C66D15 /* NATViewController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -278,7 +278,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
- CF2BC94818019D6100C66D15 /* HiBeaconsTests.m in Sources */,
+ CF2BC94818019D6100C66D15 /* NATHiBeaconsTests.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
diff --git a/HiBeacons/Main.storyboard b/HiBeacons/Main.storyboard
index 63388de..fc7a1df 100644
--- a/HiBeacons/Main.storyboard
+++ b/HiBeacons/Main.storyboard
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="4511" systemVersion="13A598" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="vXZ-lx-hvc">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="4511" systemVersion="13B42" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="vXZ-lx-hvc">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3745"/>
</dependencies>
@@ -7,7 +7,7 @@
<!--View Controller-->
<scene sceneID="ufC-wZ-h7g">
<objects>
- <viewController id="vXZ-lx-hvc" customClass="NTViewController" sceneMemberID="viewController">
+ <viewController id="vXZ-lx-hvc" customClass="NATViewController" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="fQI-hj-WaS"/>
<viewControllerLayoutGuide type="bottom" id="TQk-42-Sf6"/>
diff --git a/HiBeacons/NTHiBeaconsDelegate.h b/HiBeacons/NATHiBeaconsDelegate.h
similarity index 92%
rename from HiBeacons/NTHiBeaconsDelegate.h
rename to HiBeacons/NATHiBeaconsDelegate.h
index fb1e2ba..3ef6e6c 100644
--- a/HiBeacons/NTHiBeaconsDelegate.h
+++ b/HiBeacons/NATHiBeaconsDelegate.h
@@ -1,5 +1,5 @@
//
-// NTAppDelegate.h
+// NATHiBeaconsDelegate.h
// HiBeacons
//
// Created by Nick Toumpelis on 2013-10-06.
@@ -24,7 +24,7 @@
// THE SOFTWARE.
//
-@interface NTHiBeaconsDelegate : UIResponder <UIApplicationDelegate>
+@interface NATHiBeaconsDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
diff --git a/HiBeacons/NTHiBeaconsDelegate.m b/HiBeacons/NATHiBeaconsDelegate.m
similarity index 94%
rename from HiBeacons/NTHiBeaconsDelegate.m
rename to HiBeacons/NATHiBeaconsDelegate.m
index e424373..7a1555a 100644
--- a/HiBeacons/NTHiBeaconsDelegate.m
+++ b/HiBeacons/NATHiBeaconsDelegate.m
@@ -1,5 +1,5 @@
//
-// NTAppDelegate.m
+// NATHiBeaconsDelegate.m
// HiBeacons
//
// Created by Nick Toumpelis on 2013-10-06.
@@ -24,9 +24,9 @@
// THE SOFTWARE.
//
-#import "NTHiBeaconsDelegate.h"
+#import "NATHiBeaconsDelegate.h"
-@implementation NTHiBeaconsDelegate
+@implementation NATHiBeaconsDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
diff --git a/HiBeacons/NTViewController.h b/HiBeacons/NATViewController.h
similarity index 91%
rename from HiBeacons/NTViewController.h
rename to HiBeacons/NATViewController.h
index 8ce0201..b3985b0 100644
--- a/HiBeacons/NTViewController.h
+++ b/HiBeacons/NATViewController.h
@@ -1,5 +1,5 @@
//
-// NTViewController.h
+// NATViewController.h
// HiBeacons
//
// Created by Nick Toumpelis on 2013-10-06.
@@ -27,7 +27,7 @@
@import CoreLocation;
@import CoreBluetooth;
-@interface NTViewController : UIViewController <CLLocationManagerDelegate, CBPeripheralManagerDelegate,
+@interface NATViewController : UIViewController <CLLocationManagerDelegate, CBPeripheralManagerDelegate,
UITableViewDataSource, UITableViewDelegate>
@property (nonatomic, weak) IBOutlet UITableView *beaconTableView;
diff --git a/HiBeacons/NTViewController.m b/HiBeacons/NATViewController.m
similarity index 99%
rename from HiBeacons/NTViewController.m
rename to HiBeacons/NATViewController.m
index 8204def..5ce15e3 100644
--- a/HiBeacons/NTViewController.m
+++ b/HiBeacons/NATViewController.m
@@ -1,5 +1,5 @@
//
-// NTViewController.m
+// NATViewController.m
// HiBeacons
//
// Created by Nick Toumpelis on 2013-10-06.
@@ -24,7 +24,7 @@
// THE SOFTWARE.
//
-#import "NTViewController.h"
+#import "NATViewController.h"
static NSString * const kUUID = @"00000000-0000-0000-0000-000000000000";
static NSString * const kIdentifier = @"SomeIdentifier";
@@ -57,7 +57,7 @@
NTRangingRow
};
-@interface NTViewController ()
+@interface NATViewController ()
@property (nonatomic, strong) CLLocationManager *locationManager;
@property (nonatomic, strong) CLBeaconRegion *beaconRegion;
@@ -70,7 +70,7 @@
@end
-@implementation NTViewController
+@implementation NATViewController
#pragma mark - Index path management
- (NSArray *)indexPathsOfRemovedBeacons:(NSArray *)beacons
diff --git a/HiBeacons/main.m b/HiBeacons/main.m
index d7e3725..3306021 100644
--- a/HiBeacons/main.m
+++ b/HiBeacons/main.m
@@ -24,11 +24,11 @@
// THE SOFTWARE.
//
-#import "NTHiBeaconsDelegate.h"
+#import "NATHiBeaconsDelegate.h"
int main(int argc, char * argv[])
{
@autoreleasepool {
- return UIApplicationMain(argc, argv, nil, NSStringFromClass([NTHiBeaconsDelegate class]));
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([NATHiBeaconsDelegate class]));
}
}
diff --git a/HiBeaconsTests/HiBeaconsTests.m b/HiBeaconsTests/NATHiBeaconsTests.m
similarity index 94%
rename from HiBeaconsTests/HiBeaconsTests.m
rename to HiBeaconsTests/NATHiBeaconsTests.m
index 1e25012..ee233a7 100644
--- a/HiBeaconsTests/HiBeaconsTests.m
+++ b/HiBeaconsTests/NATHiBeaconsTests.m
@@ -1,5 +1,5 @@
//
-// HiBeaconsTests.m
+// NATHiBeaconsTests.m
// HiBeaconsTests
//
// Created by Nick Toumpelis on 2013-10-06.
@@ -26,11 +26,11 @@
#import <XCTest/XCTest.h>
-@interface HiBeaconsTests : XCTestCase
+@interface NATHiBeaconsTests : XCTestCase
@end
-@implementation HiBeaconsTests
+@implementation NATHiBeaconsTests
- (void)setUp
{