Git Product home page Git Product logo

Comments (14)

sochalewski avatar sochalewski commented on June 17, 2024 2

First you have to be sure that your UIImageView has proper subclass and module.
Identity inspector

Then using Attributes inspector just set whatever you want.
Attributes inspector

from uiimageviewalignedswift.

xuanzi23 avatar xuanzi23 commented on June 17, 2024 1

Ya, this solved my issue very well!
Thank you!!!

from uiimageviewalignedswift.

sochalewski avatar sochalewski commented on June 17, 2024

Hi,

The same question was asked in #4 and #6. Hope that it'll help you.

from uiimageviewalignedswift.

xuanzi23 avatar xuanzi23 commented on June 17, 2024

But my is in tableview so i need to declare at table cell swift file or the tableview controller file?

from uiimageviewalignedswift.

xuanzi23 avatar xuanzi23 commented on June 17, 2024

screen shot 2016-05-20 at 3 08 20 pm

got this problem

from uiimageviewalignedswift.

sochalewski avatar sochalewski commented on June 17, 2024

That should work well. Are you sure jobImage is an UIIimageViewAligned class object?

from uiimageviewalignedswift.

xuanzi23 avatar xuanzi23 commented on June 17, 2024

it is UIImageViewAligned class object or this cannot work with the image view download from server?
which is SDWebImage

from uiimageviewalignedswift.

sochalewski avatar sochalewski commented on June 17, 2024

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.

xuanzi23 avatar xuanzi23 commented on June 17, 2024

Sure no problem looking forward to the next version

from uiimageviewalignedswift.

sochalewski avatar sochalewski commented on June 17, 2024

it's available right now, so pod update and check it out in Interface Builder :)

from uiimageviewalignedswift.

xuanzi23 avatar xuanzi23 commented on June 17, 2024

How to use this alignment interface builder?

from uiimageviewalignedswift.

xuanzi23 avatar xuanzi23 commented on June 17, 2024

This is so great!!!

from uiimageviewalignedswift.

sochalewski avatar sochalewski commented on June 17, 2024

Glad you like it :) Does your issue is solved right now and then can I close this thread?

from uiimageviewalignedswift.

gulzatique avatar gulzatique commented on June 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.