This project allows you to select an image from your album, add text to it and save it as meme. Saved memes can then be viewed in a TableView or CollecitonView.
- Select image for adding text to and then save as meme.
- Display memes as a TableView or CollectionView.
- Also allow camera to take picture for meme.
The TableView also allowed an image to be brought back up, and it was interesting to see how a variety of views could be loaded onto the screen.
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
{
let detailController = self.storyboard!.instantiateViewController(withIdentifier: "MemeDetailController") as! MemeDetailController
detailController.meme = (UIApplication.shared.delegate as! AppDelegate).myMemes[(indexPath as NSIndexPath).row]
self.navigationController!.pushViewController(detailController, animated: true)
}Some good articles for tips :
