8000 GitHub - chunta/RexPackage: Test a swiftpackge
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chunta/RexPackage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Practice creation of a custom Swift package, and load the image from package bundle

main files

MyHelloWorld.swift
Cow.swift

var button = UIButton(frame: CGRect(x: 10, y: 100, width: 100, height: 50))
view.addSubview(button!)
button?.setImage(MyHelloWorld().loadImage()!, for: .normal)

About

Test a swiftpackge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0