Skip to content

Commit

Permalink
Fix pointers & update Rules.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeehut committed Jul 20, 2018
1 parent 1a173b6 commit f5b1272
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -18746,7 +18746,7 @@ class TestViewController: UIViewController {
```swift
class TestViewController: UIViewController {
// IBOutlets
@IBOutlet private var view1: UIView!
@IBOutlet private var view1: UIView!

// Computed Instance Properties
private var hasAnyLayoutedView: Bool {
Expand All @@ -18758,7 +18758,7 @@ class TestViewController: UIViewController {
```swift
class TestViewController: UIViewController {
// Initializers
override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
}

Expand All @@ -18771,7 +18771,7 @@ class TestViewController: UIViewController {
```swift
class TestViewController: UIViewController {
// View Life-Cycle Methods
override func viewDidLoad() {
override func viewDidLoad() {
super.viewDidLoad()

view1.setNeedsLayout()
Expand All @@ -18789,7 +18789,7 @@ class TestViewController: UIViewController {
```swift
class TestViewController: UIViewController {
// IBActions
@IBAction func goNextButtonPressed() {
@IBAction func goNextButtonPressed() {
goToNextVc()
delegate?.didPressTrackedButton()
}
Expand Down
8 changes: 4 additions & 4 deletions Source/SwiftLintFramework/Rules/TypeContentsOrderRule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public struct TypeContentsOrderRule: ConfigurationProviderRule, OptInRule {
"""
class TestViewController: UIViewController {
// IBOutlets
@IBOutlet private var view1: UIView!
@IBOutlet private var view1: UIView!
// Computed Instance Properties
private var hasAnyLayoutedView: Bool {
Expand All @@ -174,7 +174,7 @@ public struct TypeContentsOrderRule: ConfigurationProviderRule, OptInRule {
"""
class TestViewController: UIViewController {
// Initializers
override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
}
Expand All @@ -186,7 +186,7 @@ public struct TypeContentsOrderRule: ConfigurationProviderRule, OptInRule {
"""
class TestViewController: UIViewController {
// View Life-Cycle Methods
override func viewDidLoad() {
override func viewDidLoad() {
super.viewDidLoad()
view1.setNeedsLayout()
Expand All @@ -203,7 +203,7 @@ public struct TypeContentsOrderRule: ConfigurationProviderRule, OptInRule {
"""
class TestViewController: UIViewController {
// IBActions
@IBAction func goNextButtonPressed() {
@IBAction func goNextButtonPressed() {
goToNextVc()
delegate?.didPressTrackedButton()
}
Expand Down

0 comments on commit f5b1272

Please sign in to comment.