From 802eba6d7522e903248528840f9f130db7e38e70 Mon Sep 17 00:00:00 2001 From: shirley Date: Sat, 23 Nov 2019 14:04:38 -0600 Subject: [PATCH] preparing files to add delegate --- .../AppIcon.appiconset/Contents 2.json | 98 ++++++++++++ Podfile.lock | 2 +- .../AppIcon.appiconset/Contents 2.json | 98 ++++++++++++ fakestagram/Assets.xcassets/Contents 2.json | 6 + .../approval.imageset/Contents 2.json | 23 +++ .../approval.imageset/approval@3x 2.png | Bin 0 -> 1051 bytes .../Base.lproj/LaunchScreen 2.storyboard | 25 +++ fakestagram/Base.lproj/Main 2.storyboard | 146 ++++++++++++++++++ .../Views/PostCollectionViewCell.swift | 6 +- fakestagram/Views/PostCollectionViewCell.xib | 9 +- .../Views/ShowPostViewController.swift | 13 +- fakestagram/Views/ShowPostViewController.xib | 17 +- fakestagramTests/Info 2.plist | 22 +++ 13 files changed, 451 insertions(+), 14 deletions(-) create mode 100644 Fakestagram-Xcode10/Fakestagram-Xcode10/Assets.xcassets/AppIcon.appiconset/Contents 2.json create mode 100644 fakestagram/Assets.xcassets/AppIcon.appiconset/Contents 2.json create mode 100644 fakestagram/Assets.xcassets/Contents 2.json create mode 100644 fakestagram/Assets.xcassets/approval.imageset/Contents 2.json create mode 100644 fakestagram/Assets.xcassets/approval.imageset/approval@3x 2.png create mode 100644 fakestagram/Base.lproj/LaunchScreen 2.storyboard create mode 100644 fakestagram/Base.lproj/Main 2.storyboard create mode 100644 fakestagramTests/Info 2.plist diff --git a/Fakestagram-Xcode10/Fakestagram-Xcode10/Assets.xcassets/AppIcon.appiconset/Contents 2.json b/Fakestagram-Xcode10/Fakestagram-Xcode10/Assets.xcassets/AppIcon.appiconset/Contents 2.json new file mode 100644 index 0000000..d8db8d6 --- /dev/null +++ b/Fakestagram-Xcode10/Fakestagram-Xcode10/Assets.xcassets/AppIcon.appiconset/Contents 2.json @@ -0,0 +1,98 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "3x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "83.5x83.5", + "scale" : "2x" + }, + { + "idiom" : "ios-marketing", + "size" : "1024x1024", + "scale" : "1x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Podfile.lock b/Podfile.lock index 12505e8..b5bd883 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -17,4 +17,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 02c21c317ba9be4fdecdfff242f3fa20e9b269bd -COCOAPODS: 1.8.3 +COCOAPODS: 1.8.4 diff --git a/fakestagram/Assets.xcassets/AppIcon.appiconset/Contents 2.json b/fakestagram/Assets.xcassets/AppIcon.appiconset/Contents 2.json new file mode 100644 index 0000000..d8db8d6 --- /dev/null +++ b/fakestagram/Assets.xcassets/AppIcon.appiconset/Contents 2.json @@ -0,0 +1,98 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "3x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "83.5x83.5", + "scale" : "2x" + }, + { + "idiom" : "ios-marketing", + "size" : "1024x1024", + "scale" : "1x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/fakestagram/Assets.xcassets/Contents 2.json b/fakestagram/Assets.xcassets/Contents 2.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/fakestagram/Assets.xcassets/Contents 2.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/fakestagram/Assets.xcassets/approval.imageset/Contents 2.json b/fakestagram/Assets.xcassets/approval.imageset/Contents 2.json new file mode 100644 index 0000000..869caf9 --- /dev/null +++ b/fakestagram/Assets.xcassets/approval.imageset/Contents 2.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "approval.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "approval@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "approval@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/fakestagram/Assets.xcassets/approval.imageset/approval@3x 2.png b/fakestagram/Assets.xcassets/approval.imageset/approval@3x 2.png new file mode 100644 index 0000000000000000000000000000000000000000..c0cc5e22040f998216fe1201a295edccffa664d9 GIT binary patch literal 1051 zcmV+$1mydPP)3hk0O)uuNAq(ufEB|%pIaLMMa1u}wIhJl zjs6P0r|5T+aZrX__P{#wLRXvtsfCbF`>QYXw;eE!(lY3s0MY?K8v*xPYq`&%*Y7l0 zd{v&AR)TB4PkiqO#j(0)=;ob+c3A@G(h!T%BxrUF?hS#y=P{ep=&ivwTyM-u_VZ>! zdpLF5Wbd%>Jl7b8d>S4oXAP6`JXT*Y@U6|sL*$hMPp8td7ul&z9T9<^r8aROYOqFg zsIvob=TtltD|zr|H&OQncTc9oozf53FxD9jb|d6qf7KBNk5wmP6`j! zXzuXI+5VF!iHRq&quug|vpB@D4(@p8%8Z>ja~|Pl7e<|oJ%Ba0{m8zGB(V<2lAc+_ zE-pMnEbK!Jv)C|cVQkUbTzdUeKD!t+FNhDuA&-#=Wb}c`8K;X{J(ZPZPo!X!1A)5!#$Goz?NSfZS4ON2ylB&`NJAqci4c zMG4=wdoI&&+lAm5!6y=xqZNg7jb|bO-8t8ICVu=aUUZJXaffTZfkOt?lFjITMESPN zb41w>-Dg&g4PHhfUEMpQn%$VIwrkXrRIA#nR_ccb{Ay|8(=3gwT_wztlcPFTuX~qB z9JGUW&=P3{*FFPyneg5(+^5D^qpSlj)NQ>`x0jwz{CN=nm;y|Ehvk6&YU$4*gmu=> z;UBzl^X}A@f4p(YWA2bmX!MC@*KAR|Cl_Av7JxTVddLiDcUW8;w1algE)Lqb`~}i6 VghH+b3~>Me002ovPDHLkV1m6n;B){0 literal 0 HcmV?d00001 diff --git a/fakestagram/Base.lproj/LaunchScreen 2.storyboard b/fakestagram/Base.lproj/LaunchScreen 2.storyboard new file mode 100644 index 0000000..865e932 --- /dev/null +++ b/fakestagram/Base.lproj/LaunchScreen 2.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fakestagram/Base.lproj/Main 2.storyboard b/fakestagram/Base.lproj/Main 2.storyboard new file mode 100644 index 0000000..469596b --- /dev/null +++ b/fakestagram/Base.lproj/Main 2.storyboard @@ -0,0 +1,146 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fakestagram/Views/PostCollectionViewCell.swift b/fakestagram/Views/PostCollectionViewCell.swift index 1d5be7b..c2814b1 100644 --- a/fakestagram/Views/PostCollectionViewCell.swift +++ b/fakestagram/Views/PostCollectionViewCell.swift @@ -15,6 +15,8 @@ class PostCollectionViewCell: UICollectionViewCell { updateView() } } + + @IBOutlet weak var authorView: AuthorView! @IBOutlet weak var imageView: UIImageView! @IBOutlet weak var likeCounter: UILabel! @@ -38,5 +40,7 @@ class PostCollectionViewCell: UICollectionViewCell { self.imageView.image = img } } - + @IBAction func Hola(_ sender: Any) { + print("Hola") + } } diff --git a/fakestagram/Views/PostCollectionViewCell.xib b/fakestagram/Views/PostCollectionViewCell.xib index afff929..a511296 100644 --- a/fakestagram/Views/PostCollectionViewCell.xib +++ b/fakestagram/Views/PostCollectionViewCell.xib @@ -1,13 +1,13 @@ - + - + - + @@ -36,6 +36,9 @@ + diff --git a/fakestagramTests/Info 2.plist b/fakestagramTests/Info 2.plist new file mode 100644 index 0000000..64d65ca --- /dev/null +++ b/fakestagramTests/Info 2.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + +