![]() ![]() On its own, this isn't particularly useful, but it's a start. This would allow the user to share this text via various built-in applications, such as Messages, Mail, or Notes, via 3rd party apps, such as Dropbox or Facebook, or via AirDrop. This would present a Share Sheet sharing "A shared piece of text". ![]() PresentViewController ( vc, animated : true, completion : nil ) There's not a whole lot of documentation that helps determine exactly how to use UIActivityViewController and its associated classes, but the simplest way to use it would be: // This code assumes: // - This is inside a subclass of `UIViewController` // - This is inside a class that contains a property called `shareBarButtonItem` of type `UIBarButtonItem` let activityItems : = let vc = UIActivityViewController ( activityItems : activityItems, applicationActivities : nil ) // If run on iPad, this is required vc. UIActivityViewController and UIActivityItem ![]() ![]() The full list can be found in Apple's Documentation. In the blog post we'll be looking at location exclusively, but there are a various things that can be shared, from images, to URLs, to text files. When tapping this, the user is presented with a Share Sheet, which provides various options, depending on the item being shared. Sharing on iOS is done using the Share Sheet, which is often opened via the "Action" icon (shown left). This is the first post in a series of planned posts going over a few of the tips, tricks, and common pitfalls I have found while working with iOS Share Sheets. When a company is suffering a short term problem, Buffett looks at cash or marketable securities to see whether it has the financial strength to ride it out.Sharing a location on iOS is something that not a lot of apps need, but after requiring it for my latest app, Scanula, I found that there isn't a good resource explaining how to do it properly. There are 3 ways to create large cash reserve.ģ) It has an ongoing business generating more cash than it burns (usually means durable competitive advantage) Furthermore, the rate at which these securities can be bought or sold has little effect on their prices.ġ) The company has competitive advantage generating lots of cashĢ) Just sold a business or bonds (not necessarily good)Ī low stockpile of cash usually means poor to mediocre economics. Marketable securities are very liquid as they tend to have maturities of less than one year. Swift Haulage Bhd (XKLS:5303) Cash, Cash Equivalents, Marketable Securities Explanation Payments to Suppliers for Goods and Services.Other Cash Receipts from Operating Activities.Other Cash Payments from Operating Activities.Cash Received from Insurance Activities.Cash Receipts from Securities Related Activities.Cash Receipts from Operating Activities.Cash Receipts from Fees and Commissions.Cash Receipts from Deposits by Banks and Customers.Cash Payments for Deposits by Banks and Customers.Cash from Discontinued Operating Activities.Cash From Discontinued Investing Activities.Short-Term Debt & Capital Lease Obligation.Other Liabilities for Insurance Companies.Long-Term Debt & Capital Lease Obligation.Inventories, Raw Materials & Components.Cash, Cash Equivalents, Marketable Securities.Balance Sheet Cash And Cash Equivalents.Accumulated other comprehensive income (loss).Accounts Payable & Accrued Expense for Financial Companies.Net Income Including Noncontrolling Interests.Depreciation, Depletion and Amortization.Margin of Safety % (DCF Dividends Based).Margin of Safety % (DCF Earnings Based).Total Revenue Growth Rate (Future 3Y To 5Y Est).EPS Growth Rate (Future 3Y To 5Y Estimate).Float Percentage Of Total Shares Outstanding. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |