This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (IBAction)saveRingtoneButtonClicked:(UIButton *)sender { | |
m_saveRingtoneButtonLowlighted = false; | |
m_saveRingtoneButtonHighlighted = true; | |
[self animateSaveRingtoneButton]; | |
NSArray* paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,true); | |
NSString* sourceFilePath = [[NSBundle mainBundle] pathForResource:[m_activeClip.mp3 componentsSeparatedByString:@"."][0] ofType:@"mp3"]; | |
NSData* mainBundleFile = [NSData dataWithContentsOfFile:sourceFilePath]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void WirePanorama(ObservableCollection<Screen> topNavItems) | |
{ | |
Dispatcher.BeginInvoke(() => | |
{ | |
Panorama.Items.Clear(); | |
foreach (var pi in topNavItems.Select(CreatePanoramaItemForViewModel)) | |
{ | |
Panorama.Items.Add(pi); | |
} |