Comments (14)
First you have to be sure that your UIImageView has proper subclass and module.
Then using Attributes inspector just set whatever you want.
from uiimageviewalignedswift.
Ya, this solved my issue very well!
Thank you!!!
from uiimageviewalignedswift.
Hi,
The same question was asked in #4 and #6. Hope that it'll help you.
from uiimageviewalignedswift.
But my is in tableview so i need to declare at table cell swift file or the tableview controller file?
from uiimageviewalignedswift.
got this problem
from uiimageviewalignedswift.
That should work well. Are you sure jobImage
is an UIIimageViewAligned
class object?
from uiimageviewalignedswift.
it is UIImageViewAligned class object or this cannot work with the image view download from server?
which is SDWebImage
from uiimageviewalignedswift.
It should work well doesn't matter where the picture comes from. As I see your screenshot it compiles, but crashes on execute, right?
I've got no idea what's wrong. Could you try clean your project (⇧⌘K) and its build folder (⌥⇧⌘K)?
BTW According to requests I'm going to bring back support for setting it via storyboard. So you can look forward to next version and check it out if it solves your issue.
from uiimageviewalignedswift.
Sure no problem looking forward to the next version
from uiimageviewalignedswift.
it's available right now, so pod update
and check it out in Interface Builder :)
from uiimageviewalignedswift.
How to use this alignment interface builder?
from uiimageviewalignedswift.
This is so great!!!
from uiimageviewalignedswift.
Glad you like it :) Does your issue is solved right now and then can I close this thread?
from uiimageviewalignedswift.
I think you should include it in read file, especially the part about
1)choosing module = UIImageViewAlignedSwift
2) im swift file write import UIImageViewAlignedSwift
3) in storyboard drag UIView and set class UIImageViewAligned
thanks
from uiimageviewalignedswift.
Related Issues (20)
- Swift 3 HOT 2
- Swift 2.3 HOT 2
- Pod -> 0.1 installs 0.3.1 HOT 2
- Seems not to work? HOT 5
- Images are not displayed on a device but are shown in storyboard HOT 4
- Dismissing ViewControllers above causes UI bug HOT 11
- Interface builder designable fails to compile HOT 2
- required code signature missing
- Tag Carthage Updates HOT 1
- iOS 11 specific code question. HOT 2
- Image duplication in iOS 13b1 HOT 3
- Image duplication in iOS 13b3 [BUG] HOT 10
- Image duplication in iOS 13b5 [BUG] HOT 8
- Swift Package Manager Support
- The original unaligned image appear when presenting a UIAlertController, overlapping with the aligned image. HOT 5
- ImageAlign not working
- IOS 14 Issue - Image Background Color Issue
- Property alignTop HOT 3
- storyboard problem HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uiimageviewalignedswift.