Skip to content

Commit

Permalink
Added missing imports from source files
Browse files Browse the repository at this point in the history
  • Loading branch information
bmoliveira committed Jan 31, 2019
1 parent 753d109 commit 55e56c9
Show file tree
Hide file tree
Showing 20 changed files with 19 additions and 7 deletions.
4 changes: 2 additions & 2 deletions MarkdownKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
INFOPLIST_FILE = "$(SRCROOT)/Example/Resources/Info.plist";
INFOPLIST_FILE = "Example-iOS/Resources/Info.plist";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1088,7 +1088,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
INFOPLIST_FILE = "$(SRCROOT)/Example/Resources/Info.plist";
INFOPLIST_FILE = "Example-iOS/Resources/Info.plist";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2019 Ivan Bruel. All rights reserved.
//

import Foundation
import AppKit

public extension MarkdownFont {
public func italic() -> MarkdownFont {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Created by Ivan Bruel on 18/07/16.
//
//
import Foundation

open class MarkdownBold: MarkdownCommonElement {
fileprivate static let regex = "(.?|^)(\\*\\*|__)(.+?)(\\2)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Created by Ivan Bruel on 18/07/16.
//
//
import Foundation

open class MarkdownCode: MarkdownCommonElement {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Created by Ivan Bruel on 18/07/16.
//
//
import Foundation

open class MarkdownCodeEscaping: MarkdownElement {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Created by Ivan Bruel on 18/07/16.
//
//
import Foundation

open class MarkdownEscaping: MarkdownElement {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Created by Ivan Bruel on 18/07/16.
//
//
import Foundation

open class MarkdownUnescaping: MarkdownElement {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Created by Ivan Bruel on 18/07/16.
//
//
import Foundation

open class MarkdownHeader: MarkdownLevelElement {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Created by Ivan Bruel on 18/07/16.
//
//
import Foundation

open class MarkdownItalic: MarkdownCommonElement {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by Ivan Bruel on 19/07/16.
//
//

import Foundation

open class MarkdownAutomaticLink: MarkdownLink {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Created by Ivan Bruel on 18/07/16.
//
//
import Foundation

open class MarkdownLink: MarkdownLinkElement {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Created by Ivan Bruel on 18/07/16.
//
//
import Foundation

open class MarkdownList: MarkdownLevelElement {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Created by Ivan Bruel on 18/07/16.
//
//
import Foundation

open class MarkdownQuote: MarkdownLevelElement {

Expand Down
1 change: 0 additions & 1 deletion MarkdownKit/Sources/Common/Extensions/String+UTF16.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by Ivan Bruel on 19/07/16.
//
//

import Foundation

extension String {
Expand Down
1 change: 1 addition & 0 deletions MarkdownKit/Sources/Common/MarkdownParser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Created by Ivan Bruel on 18/07/16.
//
//
import Foundation

open class MarkdownParser {
public struct EnabledElements: OptionSet {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
// Created by Ivan Bruel on 18/07/16.
//
//

/// MarkdownCommentElement represent the default Markdown elements which only manipulate content
/// visually, (e.g. Bold or Italic)
import Foundation

public protocol MarkdownCommonElement: MarkdownElement, MarkdownStyle {

func addAttributes(_ attributedString: NSMutableAttributedString, range: NSRange)
Expand Down
1 change: 0 additions & 1 deletion MarkdownKit/Sources/Common/Protocols/MarkdownElement.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by Ivan Bruel on 18/07/16.
//
//

import Foundation

/// The base protocol for all Markdown Elements, it handles parsing through regex.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Created by Ivan Bruel on 18/07/16.
//
//
import Foundation

/// MarkdownLevelElement serves the purpose of handling Elements which may have more than one
/// representation (e.g. Headers or Lists)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Created by Ivan Bruel on 18/07/16.
//
//
import Foundation

/// The base to all Link parsing elements.
public protocol MarkdownLinkElement: MarkdownElement, MarkdownStyle {
Expand Down
1 change: 1 addition & 0 deletions MarkdownKit/Sources/Common/Protocols/MarkdownStyle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Created by Ivan Bruel on 18/07/16.
//
//
import Foundation

/// Styling protocol for all MarkdownElements
public protocol MarkdownStyle {
Expand Down

0 comments on commit 55e56c9

Please sign in to comment.