Update the Example for Appkit using the aligning and scaling layout
This commit is contained in:
parent
1487f6762f
commit
9c28ce40a9
|
@ -41,6 +41,8 @@
|
|||
[self.imageView3 sd_setImageWithURL:[NSURL URLWithString:@"https://nr-platform.s3.amazonaws.com/uploads/platform/published_extension/branding_icon/275/AmazonS3.png"]];
|
||||
// SDAnimatedImageView + Animated Image
|
||||
self.imageView4.sd_imageTransition = SDWebImageTransition.fadeTransition;
|
||||
self.imageView4.imageScaling = NSImageScaleProportionallyUpOrDown;
|
||||
self.imageView4.imageAlignment = NSImageAlignLeft; // supports NSImageView's layout properties
|
||||
[self.imageView4 sd_setImageWithURL:[NSURL URLWithString:@"http://littlesvr.ca/apng/images/SteamEngine.webp"] placeholderImage:nil options:SDWebImageForceTransition];
|
||||
|
||||
self.clearCacheButton.target = self;
|
||||
|
|
Loading…
Reference in New Issue