Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add method to calculate the width of a String #26

Merged
merged 1 commit into from
Oct 7, 2016

Conversation

3lvis
Copy link
Collaborator

@3lvis 3lvis commented Sep 25, 2016

Changelog

  • Add method to calculate the width of a String
let font = UIFont.systemFont(ofSize: 15)
let greeting = "Good morning, sunshine"
let width = string.width(for: font)

@3lvis
Copy link
Collaborator Author

3lvis commented Oct 7, 2016

Is almost Swift 4. Could someone review this one, please?

@elland
Copy link
Contributor

elland commented Oct 7, 2016

¡Barco eso!

@3lvis
Copy link
Collaborator Author

3lvis commented Oct 7, 2016

¡Vamos fazer isso!

@3lvis 3lvis merged commit b85c8df into master Oct 7, 2016
@3lvis 3lvis deleted the feature/calculate-strings-width branch October 7, 2016 08:13
@elland
Copy link
Contributor

elland commented Oct 7, 2016

@3lvis that doesn't look like spanish 🤔

@3lvis
Copy link
Collaborator Author

3lvis commented Oct 7, 2016

@elland
brazil-people

@elland
Copy link
Contributor

elland commented Oct 7, 2016

Can I block you on Github? 😄

@3lvis
Copy link
Collaborator Author

3lvis commented Oct 7, 2016

@elland HAHAHA

@elland
Copy link
Contributor

elland commented Oct 7, 2016

@3lvis I think you mean "AUEHHEUAHUAEHUAEHEU" 😢

@3lvis
Copy link
Collaborator Author

3lvis commented Oct 7, 2016

@elland ?

@elland
Copy link
Contributor

elland commented Oct 7, 2016

that's how they laugh :)

@3lvis
Copy link
Collaborator Author

3lvis commented Oct 7, 2016

"They" 😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants