Giter Site home page Giter Site logo

istimeline's People

Contributors

holzleitner avatar sanjeetsuhag avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

istimeline's Issues

Updated for Swift 3?

I'm interested in using this but it doesn't seem to be compatible for Swift 3 at the moment, will it be updated?

Add Objects From Array

How to Add Objects from Array
I tried this but it only adding last Object

let dataArr = ["2011","2012","2013","2014","2015"]

    for str in dataArr
    {
        print(str)
        
        let myPoin = [
            ISPoint(title: str, description: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam.", pointColor: black, lineColor: black, touchUpInside: touchAction, fill: false)]
        timeline.points = myPoin
    }

Specify each bubble color

It would be a nice feature to be able to specify the background color of each bubble individually, rather than have all bubbles the same color.

get strange wrong when using oc invoke timeline.points

halo master
forgive my poor english
i get wrong when using oc invoke timeline

h file

@interface UserDetailViewController : UIViewController
@property (strong, nonatomic) IBOutlet ISTimeline *timeline;
@end

m file

- (void)viewDidLoad {
    [super viewDidLoad];
    self.timeline //Property 'points' not found on object of type 'ISTimeline *'
}

But other property of timeline is found except 'points'
could u tell me whats problem with that?

i notice something u might want to know as follow
ISTimeline.h

import UIKit

public class ISTimeline : UIScrollView {
    open var pointDiameter: CGFloat { get set }
    open var lineWidth: CGFloat { get set }
    open var bubbleRadius: CGFloat { get set }
    open var bubbleColor: UIColor
    open var titleColor: UIColor
    open var descriptionColor: UIColor
    open var points: [ITUserSample.ISPoint] { get set }
    open var bubbleArrows: Bool
    override public init(frame: CGRect)
    required public init?(coder aDecoder: NSCoder)
    override open func draw(_ rect: CGRect)
    override open func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?)
}

ISPoint.h

import UIKit

public class ISPoint {
    open var title: String
    open var description: String?
    open var pointColor: UIColor
    open var lineColor: UIColor
    open var touchUpInside: Optional<(_ point: ISPoint) -> Void>
    open var fill: Bool
    public init(title: String, description: String, pointColor: UIColor, lineColor: UIColor, touchUpInside: Optional<(_ point: ISPoint) -> Void>, fill: Bool)
    public convenience init(title: String, description: String, touchUpInside: Optional<(_ point: ISPoint) -> Void>)
    public convenience init(title: String, touchUpInside: Optional<(_ point: ISPoint) -> Void>)
    public convenience init(title: String)
}

Not working inside UITableviewcell.

I just create new UIView inside UITableviewcell and make the class as "ISTimeline".
Did the necessary steps. but getting outing like empty gray bg view.

How can I resolve this? Did anyone face this same issue?

Build error with carthage and xcode 10.2

Hello.
Today I've updated to xCode 10.2 and Swift 5. Now I get the following build error:

Build Failed
  Task failed with exit code 65:
  /usr/bin/xcrun xcodebuild -project /Development/ios-v2/Carthage/Checkouts/ISTimeline/ISTimeline/ISTimeline.xcodeproj -scheme ISTimeline -configuration Release -derivedDataPath /Users/dan/Library/Caches/org.carthage.CarthageKit/DerivedData/10.2_10E125/ISTimeline/v1.0.0 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/7t/yps0c3352m56m6jyvg_135c80000gn/T/ISTimeline SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Development/ios-v2/Carthage/Checkouts/ISTimeline)

Is it possible that you create an update to fix this build error?

Thanks!

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.