allevato / icu-swift Goto Github PK
View Code? Open in Web Editor NEWSwift APIs for ICU
License: Apache License 2.0
Swift APIs for ICU
License: Apache License 2.0
Hi,
Would you mind telling how to wrap BreakIterator?
I was wondering if there were examples on how to use the LineBreakCursor
properly?
Also, I was wondering if you could tell me if my use case is a good use of the LineBreakCursor
.
Basically, I'm trying to convert a position (line number and character) into a byte position in the String
.
It seems that using LineBreakCursor
should work though I cannot seem to figure out how to do it right.
I was assuming that a simple clone and swift build
would get it building.
However, I'm getting a bunch of errors when I try to do so:
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "umbrella.h"
^
/Users/dave/Developer/ICU/icu-swift/.build/checkouts/icu4c-swift--3254461296892111381/umbrella.h:20:9: error: 'unicode/icudataver.h' file not found
#import <unicode/icudataver.h>
^
/Users/dave/Developer/ICU/icu-swift/Sources/ICU/BidiClass.swift:15:8: error: could not build Objective-C module 'ICU4C'
import ICU4C
...
I've been digging around and can't seem to locate the ICU headers anywhere on my macOS 10.13.3 system.
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.