Skip to content

Commit

Permalink
Merge pull request #137 from fassko/develop
Browse files Browse the repository at this point in the history
Add HTMLString pod
  • Loading branch information
fassko authored Feb 24, 2019
2 parents 706bde7 + ff0cbe7 commit e2e55f2
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 383 deletions.
2 changes: 2 additions & 0 deletions Dodies.lv.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Dodies.lv/Pods-Dodies.lv-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/Cache/Cache.framework",
"${BUILT_PRODUCTS_DIR}/HTMLString/HTMLString.framework",
"${BUILT_PRODUCTS_DIR}/Imaginary/Imaginary.framework",
"${BUILT_PRODUCTS_DIR}/Kingfisher/Kingfisher.framework",
"${BUILT_PRODUCTS_DIR}/Lightbox/Lightbox.framework",
Expand All @@ -505,6 +506,7 @@
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Cache.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/HTMLString.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Imaginary.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Kingfisher.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Lightbox.framework",
Expand Down
7 changes: 3 additions & 4 deletions Dodies.lv/DetailsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@
import Foundation
import UIKit

//import Fabric
//import Crashlytics
import Kingfisher
import Localize_Swift
import Lightbox
import SafariServices
import HTMLString

class DetailsViewController: UIViewController, Storyboarded {

Expand All @@ -39,7 +38,7 @@ class DetailsViewController: UIViewController, Storyboarded {
override func viewDidLoad() {
super.viewDidLoad()

title = point.name
title = point.name.removingHTMLEntities

checkedTitle.text = "Checked".localized()
lengthTitle.text = "Length".localized()
Expand All @@ -50,7 +49,7 @@ class DetailsViewController: UIViewController, Storyboarded {
navigationItem.titleView = titleLabel

desc.isScrollEnabled = false
desc.text = dodiesPointDetails.description.decodingHTMLEntities()
desc.text = dodiesPointDetails.description.removingHTMLEntities

desc.sizeToFit()
desc.layoutIfNeeded()
Expand Down
Loading

0 comments on commit e2e55f2

Please sign in to comment.