diff --git a/Example/ChatExample.xcodeproj/project.pbxproj b/Example/ChatExample.xcodeproj/project.pbxproj index 863a18e6..56d35379 100644 --- a/Example/ChatExample.xcodeproj/project.pbxproj +++ b/Example/ChatExample.xcodeproj/project.pbxproj @@ -58,7 +58,6 @@ 0364943D08CDBE656E6F6DF8 /* Pods-ChatExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ChatExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ChatExampleTests/Pods-ChatExampleTests.debug.xcconfig"; sourceTree = ""; }; 2AC6E3F5C11E39F57598DBE6 /* Pods_ChatExampleUITests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ChatExampleUITests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 37D3EAC31F390E5F00DD6A55 /* SampleData.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SampleData.swift; sourceTree = ""; }; - 37F8BCD41F38F3A8003C12C2 /* Avatar.playground */ = {isa = PBXFileReference; lastKnownFileType = file.playground; name = Avatar.playground; path = Playgrounds/Avatar.playground; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.swift; }; 3B316705C4717C3B4C916D62 /* Pods_ChatExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ChatExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 56F0AC85B38034EC92CCBC7D /* Pods_ChatExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ChatExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 882B5E331CF7D4B900B6E160 /* ChatExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ChatExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -155,7 +154,6 @@ B0655A321F23E90800542A83 /* ConversationViewController.swift */, 37D3EAC31F390E5F00DD6A55 /* SampleData.swift */, 882B5E7E1CF7D53600B6E160 /* InboxViewController.swift */, - 37F8BCD41F38F3A8003C12C2 /* Avatar.playground */, B096438A1F288D47004D0129 /* MockMessage.swift */, 882B5E801CF7D53600B6E160 /* SettingsViewController.swift */, 882B5E791CF7D53600B6E160 /* Assets.xcassets */, diff --git a/Example/Sources/Playgrounds/Avatar.playground/Contents.swift b/Example/Sources/Playgrounds/Avatar.playground/Contents.swift deleted file mode 100644 index 063a5941..00000000 --- a/Example/Sources/Playgrounds/Avatar.playground/Contents.swift +++ /dev/null @@ -1,29 +0,0 @@ -import UIKit -import MessageKit -import PlaygroundSupport - -//: Discover what is possible with the Avatar Class -//Get an image -let testImage = #imageLiteral(resourceName: "NiceSelfi.jpg") - -var avatarView = AvatarView() - -//: Uncomment any line to see how it changes the `Avatar`. Change the parameters and see the effects. - -//: By default its a circlular avatar with a gray background and initals of "?" - -//: Create an avatar object and set it for the view. -var avatarObject = Avatar(image: testImage) -avatarView.set(avatar: avatarObject) - -//: If you don't have a picture for the user you can pass in there initals instead. -avatarObject = Avatar(initials: "DL") -avatarView.set(avatar: avatarObject) - -//: Want rounded squares instead of circles just adjust the radius with the method .setCorner(radius: CGFLoat)`. -//avatarView.setCorner(radius: 5) - -//: Everything has a default so if you dont want to set it then you dont have to. - -//Helper method. -PlaygroundPage.current.liveView = avatarView diff --git a/Example/Sources/Playgrounds/Avatar.playground/Resources/NiceSelfi.jpg b/Example/Sources/Playgrounds/Avatar.playground/Resources/NiceSelfi.jpg deleted file mode 100644 index bec3cfec..00000000 Binary files a/Example/Sources/Playgrounds/Avatar.playground/Resources/NiceSelfi.jpg and /dev/null differ diff --git a/Example/Sources/Playgrounds/Avatar.playground/contents.xcplayground b/Example/Sources/Playgrounds/Avatar.playground/contents.xcplayground deleted file mode 100644 index 89da2d47..00000000 --- a/Example/Sources/Playgrounds/Avatar.playground/contents.xcplayground +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/Example/Sources/Playgrounds/Avatar.playground/playground.xcworkspace/contents.xcworkspacedata b/Example/Sources/Playgrounds/Avatar.playground/playground.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a6..00000000 --- a/Example/Sources/Playgrounds/Avatar.playground/playground.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - -