From e7df60574f43b87ce75b87bab04e056973560599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elvis=20Nu=C3=B1ez?= Date: Fri, 1 Jan 2016 18:26:50 +0100 Subject: [PATCH] Section separators should be hidden by default --- CustomField/AppController.swift | 1 - Source/Cells/Base/FORMBaseFieldCell.m | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CustomField/AppController.swift b/CustomField/AppController.swift index e9aefdee..4c5826e2 100755 --- a/CustomField/AppController.swift +++ b/CustomField/AppController.swift @@ -24,7 +24,6 @@ class AppController: UIResponder, UIApplicationDelegate { rootViewController.navigationBarHidden = true FORMDefaultStyle.applyStyle() - FORMSeparatorView.appearance().setSeparatorColor(UIColor.clearColor()) self.window = UIWindow(frame: UIScreen.mainScreen().bounds) self.window?.rootViewController = rootViewController diff --git a/Source/Cells/Base/FORMBaseFieldCell.m b/Source/Cells/Base/FORMBaseFieldCell.m index 48d39058..24fa0162 100755 --- a/Source/Cells/Base/FORMBaseFieldCell.m +++ b/Source/Cells/Base/FORMBaseFieldCell.m @@ -47,6 +47,7 @@ - (FORMSeparatorView *)separatorView { if (_separatorView) return _separatorView; _separatorView = [[FORMSeparatorView alloc] initWithFrame:[self separatorViewFrame]]; + _separatorView.hidden = YES; return _separatorView; }