Make extension internal

This commit is contained in:
Florian Gabach
2017-03-06 08:34:01 +01:00
parent c83354c959
commit b4c935c6c5
2 changed files with 7 additions and 5 deletions
@@ -28,10 +28,12 @@ class ViewController: UIViewController {
// Init with LicenceFile object
openSourceVC.licences = [LicenceFile(title: "FacebookImagePicker",
url: "https://raw.githubusercontent.com/terflogag/FacebookImagePicker/master/LICENSE"),
LicenceFile(title: "JSQMessagesViewController",
url: "https://raw.githubusercontent.com/jessesquires/JSQMessagesViewController/develop/LICENSE"),
LicenceFile(title: "OpenSourceController",
url: "https://raw.githubusercontent.com/terflogag/OpenSourceController/master/LICENSE")]
// LicenceFile(title: "JSQMessagesViewController",
// url: "https://raw.githubusercontent.com/jessesquires/JSQMessagesViewController/develop/LICENSE"),
// LicenceFile(title: "OpenSourceController",
// url: "https://raw.githubusercontent.com/terflogag/OpenSourceController/master/LICENSE"),
LicenceFile(title: "Twitter & Fabric",
url: " http://get.fabric.io/terms/opensource.txt")]
// Present controller
openSourceVC.presentOpenSourceController(from: self)
@@ -11,7 +11,7 @@ import Foundation
extension Array {
/// Get an index safely
public func get(at index: Int) -> Element? {
func get(at index: Int) -> Element? {
guard index >= 0
&& index < count else {
return nil