Reputation: 71
How can i get nsstring from NSURL from this panel to use it with another action too?
arxeio = myPanel.URL.lastPathComponent;
Upvotes: 0
Views: 3775
Reputation: 5219
myPanel.URL.lastPathComponent
is an NSString
.
If you want the whole URL, use [myPanel.URL absoluteString]
.
Upvotes: 3