Po

Populating a UITableView in Swift

Hacker News

Populating a UITableView in Swift

I hacked up a quick UITableView example in XCode 6 to stretch the legs with Swift. https://github.com/brotchie/SwiftTableView Overall I really like the language, especially <3 the algebraic data types (enumerations) with pattern matching! After extensively using ADTs in Haskell, I really missed them in other languages... XCode 6 Swift editing feels buggy as hell, and auto-complete only seems to work intermittently; no doubt it will improve soon. Something that took me a while to track down: Swift's equivalent to [UITableViewCell class] is UITableViewCell.self Cheers, James

Share card

Actual performance

1points
1comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
66%66% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: using, code · Missing: mac, agents, macos
61%61% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
55%55% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRFits verified-revenue profile · Missing: mobile apps, ios, personal
54%54% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: soon · Missing: plus, platform, intuitive
49%49% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
2%2% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Ph
PhoneNumberKit – a Swift take on libphonenumber43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

PhoneNumberKit – a Swift take on libphonenumber

Hacker News4
Au
Autocompletion for Swift on Emacs54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Autocompletion for Swift on Emacs

Hacker News79
A
A Lisp Interpreter in Swift65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Lisp Interpreter in Swift

Hacker News3
Us
UserDefaults x Swift 443%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

UserDefaults x Swift 4

Hacker News1
At
Attributed strings in Swift 426%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Attributed strings in Swift 4

Hacker News28
Tr
Trailer Swift43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Trailer Swift

Hacker News32
20
2048 in Swift44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

2048 in Swift

Hacker News92
Cl
Clojure-ish Lisp interpreter implemented in Swift72%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Clojure-ish Lisp interpreter implemented in Swift

Hacker News2
Ge
Get to grips with NSTimer in Swift43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Get to grips with NSTimer in Swift

Hacker News3
Sw
Swift Playgrounds on steroids43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Swift Playgrounds on steroids

Hacker News1