GitLab's annual major release is around the corner. Along with a lot of new and exciting features, there will be a few breaking changes. Learn more here.

Commits (5)
Pod::Spec.new do |s|
s.name = 'ARConsole'
s.version = '1.1.0'
s.version = '1.1.2'
s.summary = 'ARConsole lets you know in real time your application logs.'
s.description = <<-DESC
......
......@@ -162,12 +162,13 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0830;
LastUpgradeCheck = 0830;
LastUpgradeCheck = 0900;
ORGANIZATIONNAME = "Alvaro Royo";
TargetAttributes = {
D5CA9E2A1F4C1EBC004958CD = {
CreatedOnToolsVersion = 8.3.3;
DevelopmentTeam = FGEQE267D2;
LastSwiftMigration = 0900;
ProvisioningStyle = Automatic;
};
};
......@@ -305,7 +306,9 @@
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
......@@ -313,7 +316,11 @@
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
......@@ -336,7 +343,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.3;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = "";
......@@ -356,7 +363,9 @@
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
......@@ -364,7 +373,11 @@
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
......@@ -381,7 +394,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.3;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
......@@ -396,10 +409,12 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = FGEQE267D2;
INFOPLIST_FILE = ARConsole/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.alvaroroyo.Console;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
SWIFT_SWIFT3_OBJC_INFERENCE = On;
SWIFT_VERSION = 4.0;
};
name = Debug;
};
......@@ -410,10 +425,12 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = FGEQE267D2;
INFOPLIST_FILE = ARConsole/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.alvaroroyo.Console;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
SWIFT_SWIFT3_OBJC_INFERENCE = On;
SWIFT_VERSION = 4.0;
};
name = Release;
};
......
......@@ -12,7 +12,7 @@ import AVFoundation
public class ARPrint: NSObject {
private static var instance:ARPrint? = nil
static let defaultColor = UIColor.green
public static let defaultColor = UIColor.green
static let NC_ARCONSOLE_CHANGED = "NC_ARCONSOLE_CHANGED"
static let ARCONSOLE_PATH = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).first! + "/ARCONSOLE/"
static let ARCONSOLE_FILE = "Log.json"
......
......@@ -98,7 +98,7 @@ class ARConsoleViewController: UIViewController,UITableViewDataSource,UITableVie
reload()
}
func reload() {
@objc func reload() {
DispatchQueue.main.async {
self.consolePrints = ARPrint.sharedInstance().getStrings()
self.tableView.reloadData()
......@@ -108,15 +108,15 @@ class ARConsoleViewController: UIViewController,UITableViewDataSource,UITableVie
}
}
func startStopAction(_ sender: UISwitch) {
@objc func startStopAction(_ sender: UISwitch) {
ARPrint.sharedInstance().isRecording = sender.isOn
}
func closeAction() {
@objc func closeAction() {
self.dismiss(animated: true, completion: nil)
}
func clearAction() {
@objc func clearAction() {
ARPrint.sharedInstance().clearData()
}
......
......@@ -2,15 +2,19 @@
#### Get Started
Read update documentation in [GitLab](https://gitlab.com/ArkitectureRepository/ARConsole "GitLab")
ARConsole lets you know in real time your application logs. It's easy. Read bellow.
You can get it in **CocoaPods** or like a **git submodule**.
`Pod 'ARConsole'`
**For swift 3:**
Pod from git (if first don't work):
`Pod 'ARConsole' , '~> 1.1.2'`
`Pod 'ARConsole', :git => 'https://gitlab.com/ArkitectureRepository/ARConsole.git', :tag => '1.1.0'`
**For swift 4:** (1.2 and next versions)
`Pod 'ARConsole'`
------------------------------------
-------------------------------
......@@ -136,3 +140,9 @@ printDebug("Update Alerts")
- Background recording
- Customizable
- Log file can be shared
#### Donations
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4RFGZRC99BMHL" target="_blank"> <img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif"> </a>