{"id":13293,"date":"2016-01-15T11:59:11","date_gmt":"2016-01-15T16:59:11","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=13293"},"modified":"2016-01-15T11:59:11","modified_gmt":"2016-01-15T16:59:11","slug":"nsstringfromclass-and-nsclassfromstring-in-swift","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2016\/01\/15\/nsstringfromclass-and-nsclassfromstring-in-swift\/","title":{"rendered":"NSStringFromClass and NSClassFromString in Swift"},"content":{"rendered":"<p><a href=\"https:\/\/www.natashatherobot.com\/nsstringfromclass-in-swift\/\">Natasha Murashev<\/a> (<a href=\"https:\/\/twitter.com\/NatashaTheRobot\/status\/687802159430242304\">tweet<\/a>):<\/p>\n<blockquote cite=\"https:\/\/www.natashatherobot.com\/nsstringfromclass-in-swift\/\">\n<p>Not sure when it happened, but I was extremely to see a more native solution in <a href=\"http:\/\/alisoftware.github.io\/swift\/generics\/2016\/01\/06\/generic-tableviewcells\/\">@aligatr&rsquo;s blog post<\/a>!<\/p>\n<pre>\/\/ This now works!!!\nString(MyTableViewCell)<\/pre>\n<\/blockquote>\n<p><a href=\"https:\/\/twitter.com\/jckarter\/status\/687805352629305345\">Joe Groff<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/jckarter\/status\/687805352629305345\"><p>NSClassFromString is <a href=\"https:\/\/github.com\/apple\/swift\/pull\/834\">in progress too<\/a>.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Natasha Murashev (tweet): Not sure when it happened, but I was extremely to see a more native solution in @aligatr&rsquo;s blog post! \/\/ This now works!!! String(MyTableViewCell) Joe Groff: NSClassFromString is in progress too.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[46,71,901],"class_list":["post-13293","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-languagedesign","tag-programming","tag-swift-programming-language"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/13293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=13293"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/13293\/revisions"}],"predecessor-version":[{"id":13294,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/13293\/revisions\/13294"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=13293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=13293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=13293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}