mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
[Examples] Fix LayoutSpecExamples and LayoutSpecExamples-Swift: image URLs were still pointing to asyncdisplaykit.org (#275)
* Fix Image URLs in LayoutSpecExamples and LayoutSpecExamples-Swift (they were still pointing to asyncdisplaykit.org) * Update documentation of ASMapNode example to accurately reflect implemented layout * Fix headers * More headers fixing
This commit is contained in:
committed by
Huy Nguyen
parent
9c07aff695
commit
e6accc7ea6
@@ -73,7 +73,7 @@ class PhotoWithInsetTextOverlay : LayoutExampleNode {
|
||||
|
||||
backgroundColor = .clear
|
||||
|
||||
photoNode.url = URL(string: "http://asyncdisplaykit.org/static/images/layout-examples-photo-with-inset-text-overlay-photo.png")
|
||||
photoNode.url = URL(string: "http://texturegroup.org/static/images/layout-examples-photo-with-inset-text-overlay-photo.png")
|
||||
photoNode.willDisplayNodeContentWithRenderingContext = { context, drawParameters in
|
||||
let bounds = context.boundingBoxOfClipPath
|
||||
UIBezierPath(roundedRect: bounds, cornerRadius: 10).addClip()
|
||||
@@ -101,9 +101,9 @@ class PhotoWithOutsetIconOverlay : LayoutExampleNode {
|
||||
required init() {
|
||||
super.init()
|
||||
|
||||
photoNode.url = URL(string: "http://asyncdisplaykit.org/static/images/layout-examples-photo-with-outset-icon-overlay-photo.png")
|
||||
photoNode.url = URL(string: "http://texturegroup.org/static/images/layout-examples-photo-with-outset-icon-overlay-photo.png")
|
||||
|
||||
iconNode.url = URL(string: "http://asyncdisplaykit.org/static/images/layout-examples-photo-with-outset-icon-overlay-icon.png")
|
||||
iconNode.url = URL(string: "http://texturegroup.org/static/images/layout-examples-photo-with-outset-icon-overlay-icon.png")
|
||||
|
||||
iconNode.imageModificationBlock = { image in
|
||||
let profileImageSize = CGSize(width: 60, height: 60)
|
||||
|
||||
Reference in New Issue
Block a user