Skip to content

leihaoyu/SinglePixLine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

SinglePixLine

SinglePixLine is subclass of UIView. It helps iOS developer to draw 1px width line on iPhone screen.

DEMO

Run SinglePixLineDemo/SinglePixLineDemo.xcodeproj


Basic Usage

  • drag a UIView in your Interface Builder

  • bind class MYIHorizontalSinglePixLine

  • setting line color


SinglePixLine

SinglePixLine 是一个帮助iOS开发者在iPhone上绘制出1px的横线。

因为iPhone是Retina屏,想画出最细的线也就是1px的线很困难。SinglePixLine 可以满足这一需求。

演示项目(DEMO)

查看并运行 SinglePixLineDemo/SinglePixLineDemo.xcodeproj


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published