instant-solutions / istimeline Goto Github PK
View Code? Open in Web Editor NEWSimple timeline view written in Swift 3
License: Apache License 2.0
Simple timeline view written in Swift 3
License: Apache License 2.0
alignment to right Available
I'm interested in using this but it doesn't seem to be compatible for Swift 3 at the moment, will it be updated?
Hi,
It's will be great to make your component Carthage compatible
Take a look at these articles:
On your README.md
add on top and add section for the installation with Carthage.
is there a call to scroll to the bottom of the stack?
Hello @andlinger @holzleitner ,
Let me know what is expected in the example would love to contribute.
I also added an sample image let me know how can i help into it.
๐
would be great to support reverse timeline from bottom to top
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
}
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.
It would be really nice to be able to give spacing (gap) between each row, or specify a row height.
Is it possible to set a different color for the bubble that I want?
timeLine.bubbleColor = UIColor.orange
this code change for all bubbles of timeline.
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)
}
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?
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!
Animating Circle and line to move to the next item, animation would look nice with a gradient color moving in a masked circle and line...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.