Three Stocks Hedge Funds Love Right Now
Last week I introduced Stock Genius, a brand new iPhone app that tracks and publishes the top holdings of some of the world’s most successful hedge fund managers.Each quarter, hedge fund managers are...
View ArticleHey Emil — sorry for the delay.
Hey Emil — sorry for the delay. I’m not sure what’s happening in your code because I use this pattern over and over in mine. Have you figured out your issue? Want to send me your code? Shoot me an...
View ArticleHey Geza -
Hey Geza -Which Swift version do you have bundled with Xcode 8.3.3? I’d like to update and take a look.
View ArticleMake sure your view is a subclass of UIView, not a subclass of itself.
Make sure your view is a subclass of UIView, not a subclass of itself. The few people who had this error realized this is what they were doing.
View ArticleUnfortunately this doesn’t let me attach a picture but in the attributes...
Unfortunately this doesn’t let me attach a picture but in the attributes inspector in interface builder you can change the background color from white to whatever you want (clear color in this case)
View ArticleThis would also work — although it may be better practice to keep this code...
This would also work — although it may be better practice to keep this code inside the view as opposed to in the view controller. That way if you want to use the view across several different view...
View ArticleYou should be able to just drag the XIB and file into your new project file.
You should be able to just drag the XIB and file into your new project file. Make sure to drag both in.
View ArticleHey Mohammad -
Hey Mohammad -If you don’t want to place your view in a XIB or storyboard, you can add the view to your view controller in code, add it as a subview of your parent view, and then constrain it as you...
View ArticleWhy is Apple So Cheap?
Why is Apple Stock So Cheap?A few days ago Apple announced record quarterly earnings that beat almost all analyst expectations. The stock price has since fallen 5%, of course.Whatever. You shouldn’t...
View ArticleArithmetic on Strings in Objective C: Don’t use Floats — Use NSDecimalNumber!
If you’re developing an iOS application, or just learning how to code, there’s a good chance you’re going to have to do the following:Receive one or more numeric inputs from a user in string form...
View ArticleCreating a Custom View using a xib in Objective-C
Creating a custom view is often easiest in a xib file, where you can easily visualize, layout, and edit the look and feel of what you’re trying to build.Getting these views from the xib to your...
View ArticleSwift — Creating a Custom View From a XIB (Updated for Swift 5)
How to create a custom view from a XIB using SwiftContinue reading on Better Programming »
View ArticleHow to copy the 13-F filings of the world’s best hedge fund managers
In 2009, I was a young Portfolio Manager at a large asset management firm. In the middle of a slow trading day, I struck up a conversation with a colleague about a hedge fund manager named David...
View ArticleSwiftUIKitUI — The easy way to write programmatic Auto Layout in Swift
SwiftUIKitUI — The easy way to write programmatic Auto Layout in SwiftProgrammatic layout in UIKit with Auto Layout is powerful when done well, but it’s way too verbose, overly complicated, and a pain...
View Article
More Pages to Explore .....