[MonoTouch] NSNotificationCenter.DefaultCenter.AddObserver - iOS5 problem

2011-09-26 Thread Craig Dunn
Hi everyone, I'm just throwing this out there to see if anyone has a similar experience. We have an existing iOS4 app ~ it's been live for a year ~ that crashes on startup in iOS5 b7 Debugging it shows that all our notificationcenter objects are null when we try to remove them (whereas in iOS4

Re: [MonoTouch] Twitter without UI - only code

2011-10-14 Thread Craig Dunn
Apple's doco says: Although you may perform Twitter requests on behalf of the user, *you cannot append text, images, or URLs to tweets without the user’s knowledge*. Hence, you can set the initial text and other content before presenting the tweet to the user but cannot change the tweet after the

Re: [MonoTouch] Best practice for leveraging existing C# library projects

2011-12-08 Thread Craig Dunn
We have been successfully using SvnBridge (from Codeplex) for 18+ months. Makes TFS looks like SVN, you can then use MD SVN integration or the excellent VersionsApp for source control on the Mac. No thoughts on build server tho' sorry On Dec 8, 2011, at 8:48 PM, Nic Wise

Re: [MonoTouch] Storyboard - Properly adding a new UIViewController

2011-12-20 Thread Craig Dunn
Specifically, Miguel links to the iOS intro doco http://docs.xamarin.com/ios/tutorials/Introduction_to_iOS_5 (scroll waaay down, to the Storyboard section, and sample ziphttp://docs.xamarin.com/@api/deki/files/323/=Storyboard.zip ) In particular, read around the line *Viewing the class is not

Re: [MonoTouch] Release 5.1.1 Question - Support for iOS 5.0.1's skip file from being backed up to iCloud

2012-01-04 Thread Craig Dunn
Have you already seen 'Technical QA QA1719' regarding this feature of iOS 5.0.1? https://developer.apple.com/library/ios/#qa/qa1719/_index.html#//apple_ref/doc/uid/DTS40011342 As it says Whenever you create a file or folder that should not be backed up, write the data to the file and then call

Re: [MonoTouch] Pushing Monotouch.Dialog.DialogViewController - No back button

2012-02-14 Thread Craig Dunn
Felix, DialogViewController ctor has an optional parameter pushing, if you pass true then the back button will show. In my case i subclass DialogViewController, so i've got this - notice the third param in the base() call public ExhibitorsScreen () : base (UITableViewStyle.Plain, null, true) {

Re: [MonoTouch] App local file access

2012-02-21 Thread Craig Dunn
Dean, hopefully this helps a little: http://docs.xamarin.com/ios/tutorials/Working_with_the_File_System#Application_Directories you are correct, anything embedded in your app is in the 'app bundle', which is readonly on the device. there are a few other folders available for you to store data -

Re: [MonoTouch] Threading best practice

2012-02-22 Thread Craig Dunn
Miguel's ImageLoader (from TweetStation, in MonoTouch.Dialog) does something like that. https://github.com/migueldeicaza/MonoTouch.Dialog/blob/master/MonoTouch.Dialog/Utilities/ImageLoader.cs ...might be worth a read On Thu, Feb 23, 2012 at 8:57 AM, Tomasz Cielecki tom...@ostebaronen.dkwrote:

Re: [MonoTouch] MonoTouch.Dialog Pull-to-Refresh

2012-02-26 Thread Craig Dunn
Brett, short answer: attach the handler in the ctor. TL;DR the code at DialogViewController.cs line 63 is this (MonoTouch.Dialog source is on github https://github.com/migueldeicaza/MonoTouch.Dialog/): if (tableView != null) throw new ArgumentException (You should set the handler before the

Re: [MonoTouch] writing a photo (jpeg) to Photo Album

2012-03-07 Thread Craig Dunn
UIImagePicker

Re: [MonoTouch] Strange issue with double values in a Dictionary

2012-03-08 Thread Craig Dunn
iPhone4s, iOS5.0.1 everything looks fine to me... http://imgur.com/VOfp6 On Thu, Mar 8, 2012 at 8:53 PM, HairyJohn m...@johnhair.com wrote: Can somebody try this code on an actual device please? Driving me nutty. Dictionaryint, double test = new Dictionaryint, double();

Re: [MonoTouch] Problem with UISegmentedControl on iPad

2012-03-19 Thread Craig Dunn
What iOS version is your iPad running? ApportionsSegmentWidthsByContent is iOS5 only. Using that property seems to work on my iPad with iOS5.1 installed... You could try something like this to avoid 'unknown selector' errors if (*yourSegmentedControl*.RespondsToSelector(new

Re: [MonoTouch] MonoDevelop 2.8.8.2 / MonoTouch dll Output Folder Error

2012-03-22 Thread Craig Dunn
Not sure why 2.8.8.2 is packaging 'Library Projects' as app bundles, but another tacky workaround is to 'show contents' of the .app file it is generating and copy the DLL out into the same folder, then rebuild. WARNING: rebuilds won't pick up the latest - you would need to do this manually after

Re: [MonoTouch] Newbie: iPad application and incompatible target frameworks :(

2012-03-25 Thread Craig Dunn
So if i reference dll's in MonoDevelop -BUT- the project is a simple .NET4.0 class library..then there should be no problems Incorrect - sorry :-( To avoid confusion, **don't reference DLLs at all** (there are caveats to this if they're already built for the correct platform, but for now just

Re: [MonoTouch] Newbie: iPad application and incompatible target frameworks :(

2012-03-25 Thread Craig Dunn
I wouldn't characterize it as fragile - there are many large scale projects out there sharing massive amounts of code across platforms. And it sure as heck beats re-writing the code in Objective-C and Java! So now this means I can't do any of that :( well, no - you can still do *most* of that.

Re: [MonoTouch] Newbie: iPad application and incompatible target frameworks :(

2012-03-25 Thread Craig Dunn
Will look forward to your first AppStore approval ;) On Mon, Mar 26, 2012 at 4:28 PM, Pure Krome pure.kr...@world-domination.com.au wrote: Thanks again Craig :) i'll give the suggestions in here a try and report back with any success or more questions. But I will keep giving it a go :)

Re: [MonoTouch] ViewDidAppear or ViewWillAppear not firing

2012-03-27 Thread Craig Dunn
yeah, maybe you could provide the code? gist.github.com the MWC sample subclasses DialogViewController https://github.com/xamarin/mobile-samples/blob/master/MWC/MWC.iOS/Screens/iPhone/UpdateManagerLoadingDialogViewController.cs which is in turn subclassed

Re: [MonoTouch] save file to windows

2012-03-29 Thread Craig Dunn
you can expose files that you save in your apps /Documents/ directory to the user through iTunes http://docs.xamarin.com/ios/tutorials/Working_with_the_File_System#Sharing_Files_with_the_User_through_iTunes just 'turn on' UIFileSharingEnabled via Info.plist then save your documents in that

Re: [MonoTouch] How to handle the brightness, contrast, saturation for an UIImage.

2012-03-29 Thread Craig Dunn
There is some introductory info in the docs http://docs.xamarin.com/ios/tutorials/Introduction_to_iOS_5#CoreImage And a more compete example on github https://github.com/xamarin/monotouch-samples/tree/master/CoreImage On Thu, Mar 29, 2012 at 9:28 PM, Tomasz Cielecki tom...@ostebaronen.dkwrote:

Re: [MonoTouch] MT.Dialog iPad / Universal

2012-03-29 Thread Craig Dunn
the MWC sample uses the same MT.Dialog screens in iPhone iPad - on the phone they're fullscreen (obviously) and on the iPad they sit in a SplitView (for example: the Speakers and Sessions lists). Pretty much the only special handling required was in the Element.Selected method - for iPhone we

Re: [MonoTouch] Help displaying UISplitViewController from UIViewController

2012-03-30 Thread Craig Dunn
SplitViewController is supposed to be the root (ala the Mail app) according to Apple's guidelines. It can also be added inside a UITabBarController (seehttps://raw.github.com/xamarin/mobile-samples/master/MWC/Screenshots/iOS/Sessions_iPad.PNGthe MWC sample

Re: [MonoTouch] how to UISlider use to implement brightness contrast , saturation

2012-03-30 Thread Craig Dunn
I just quickly put this sample together http://twitpic.com/93gfty you'll have to create a monotouch project from these files https://gist.github.com/2257994 AND don't forget to add the image file to your project https://github.com/xamarin/monotouch-samples/raw/master/CoreImage/clouds.jpg *

Re: [MonoTouch] Monotouch.Dialog controller calling Storyboard controller - a bad idea?

2012-04-03 Thread Craig Dunn
I haven't done a Storyboard with MT.D yet, but opening a Storyboard viewcontroller from regular old TableSource.RowSelected can be done like this (note the Identifier must be set in the Storyboard+Attributes Inspector for your view controller) // Specially for Storyboard !! var detail =

Re: [MonoTouch] Using NS types instead of .NET types?

2012-04-03 Thread Craig Dunn
Hey, I don't know any pros/cons OTTOMH but there are some parts of the API (exposed by MonoTouch) that still require NSStrings (even NSArrays), so you will occasionally see them, even in examples and such. Therefore it is worthwhile being aware of their existence and how to use them. However,

Re: [MonoTouch] On wifi, 3G, 4G or nothing?

2012-04-03 Thread Craig Dunn
Currently I think this class https://github.com/xamarin/monotouch-samples/blob/master/ReachabilitySample/reachability.cs is your best bet - however in my experience it can block, so should be run on another thread. also, i don't think it can tell the difference between 3G and 4G :) HTH cd On

Re: [MonoTouch] DialogViewController displays blank until touched

2012-04-10 Thread Craig Dunn
' when you tab away and back... :-s On Wed, Apr 11, 2012 at 9:34 AM, davidortinau d...@davidortinau.com wrote: Gist of the view and the service being called (uses RestSharp): https://gist.github.com/2355621 I'm not using ViewWillAppear. On Apr 10, 2012, at 6:30 PM, Craig Dunn [via

Re: [MonoTouch] DialogViewController displays blank until touched

2012-04-10 Thread Craig Dunn
, davidortinau wrote: Gist of the view and the service being called (uses RestSharp): https://gist.github.com/2355621 I'm not using ViewWillAppear. On Apr 10, 2012, at 6:30 PM, Craig Dunn [via MonoTouch] wrote: This also will happen if you navigate to a different tab and back. any chance you can

Re: [MonoTouch] Path of NSUserDefaults plist

2012-04-11 Thread Craig Dunn
never really thought about this before, but a quick look with PhoneDisk indicates the file is at /Library/Preferences/bundleid.plist this code should get a valid path (not tested) string documentsPath = Environment.GetFolderPath (Environment.SpecialFolder.Personal); // Documents folder string

Re: [MonoTouch] SharpZipLib performances

2012-04-13 Thread Craig Dunn
a-ha! context :) for the record, I have used SharpZipLib to decompress 200-500Mb *downloads* (post-install), which makes a lot of sense for certain applications (say, a magazine reader). I don't think you are getting much value from ZIPping something you ship in the IPA. As previously mentioned,

Re: [MonoTouch] Animate-rotate an imageview?

2012-04-17 Thread Craig Dunn
there's a recipe for a simple animated image http://docs.xamarin.com/ios/recipes/Standard_Controls/Image_View/Animate_an_ImageView looks like thishttp://docs.xamarin.com/@api/deki/files/902/=ImageViewAnim1.png?size=bestfitwidth=233height=350 hth cd On Wed, Apr 18, 2012 at 3:59 AM, MojoDK

Re: [MonoTouch] Animate-rotate an imageview?

2012-04-17 Thread Craig Dunn
Sure - I'm just pointing out options. Personally I'd use the least-code approach every time... Apple put the UIImageView animation feature there for us to use! On Wed, Apr 18, 2012 at 3:25 PM, MojoDK m...@fpr.dk wrote: Hi Craig, I do not want to add unnecessary image files to my project,

Re: [MonoTouch] How to save Image from Iphone Camera to project directory other than photo album - Mono touch

2012-04-26 Thread Craig Dunn
Hey, so you might have already seen this example http://docs.xamarin.com/ios/recipes/Media/Video_and_Photos/Save_Photo_to_Album_with_Metadata grab that code, then in ImageViewController.cs : add this code to the Tweet Station.Camera.TakePicture handler. Note that it isn't saving the GPS or other

Re: [MonoTouch] Monotouch.Dialog.MessageElement not clipping to the rounded table view corner

2012-04-26 Thread Craig Dunn
Have you considered just using UITableViewStyle.Plain? I'm not sure putting MessageElements inside the Grouped style is 'normal' UI... the Mail.app is Plain. Just a thought... On Fri, Apr 27, 2012 at 12:39 PM, Felix Collins fe...@intranel.com wrote: I notice that the top and bottom

Re: [MonoTouch] Monotouch.Dialog.MessageElement not full height the first time it is displayed

2012-04-29 Thread Craig Dunn
Hey Felix, From memory MT.D custom element sizing can be done two ways - implementing IElementSizing on the Element (which I am assuming what is happening here, as MessageElement is built-in) OR implementing CreateSizingSource on the DialogViewController subclass and returning something that

Re: [MonoTouch] mainnavigationcontrller buttons

2012-05-08 Thread Craig Dunn
Hey John, do you want to give this a try? NavigationItem.SetRightBarButtonItem (new UIBarButtonItem (UIBarButtonSystemItem.Add), false); NavigationItem.RightBarButtonItem.Clicked += (sender, e) = { Console.WriteLine(Right Bar Button Clicked!); }; this particular snippet is from the Tasky

Re: [MonoTouch] Open iTunes Store from App

2012-05-14 Thread Craig Dunn
Are you testing on a real device? Because the simulator doesn't have the iTunes app, it can only show links in Safari (same goes for AppStore and Maps links). I just ran this on my iPhone var u = new NSUrl( http://itunes.apple.com/mx/album/meditacion-del-testigo/id415533606?uo=4;);

Re: [MonoTouch] UIBarButtonItems are not firing in UIViewController

2012-05-15 Thread Craig Dunn
Looks like a couple of problems to me (i'm looking at AuthenticatePasscodeController, probably the same problems are in SetPasscodeController) First, this.NavigationController.InvokeOnMainThread( should just be InvokeOnMainThread( Second, alertView.Hidden = true; doesn't do what

Re: [MonoTouch] Problem with making code based on database access gallery project work

2012-05-16 Thread Craig Dunn
try changing var counties = connection.TableCountyData(); to the following two lines: var countiesTable = connection.TableCountyData(); var counties = (from i in countiesTable select i).ToList (); // using System.Linq basically the object returned from connection.Table isn't really a list

Re: [MonoTouch] iPad Master/Detail help, please?

2012-05-21 Thread Craig Dunn
Bob, there is also a SplitView sample on github https://github.com/xamarin/monotouch-samples/tree/master/SplitView (looks like https://github.com/xamarin/monotouch-samples/raw/master/SplitView/Screenshots/01.png ) and a couple of SplitView 'recipes' here with sample code to download

Re: [MonoTouch] Duplex WCF Communication

2012-05-24 Thread Craig Dunn
Mr Shackles has kindly created client apps for MonoTouch and Mono-for-Android, although I'm not sure how complete they are https://github.com/gshackles/SignalR HTH On Fri, May 25, 2012 at 3:11 PM, Mike Kuzminski mkuzmin...@gmail.comwrote: I emailed Monotouch support and they suggest using

Re: [MonoTouch] How to keep selected (element)row highlighted

2012-06-03 Thread Craig Dunn
The MWC sample does that - both for the master list (landscape view) and also the mini 'speaker list' for sessions that you can see in this screenshot. https://raw.github.com/xamarin/mobile-samples/master/MWC/Screenshots/iOS/Sessions_iPad.PNG the relevant pieces of code are : * in the

Re: [MonoTouch] C#/Mono Oauth libraries

2012-06-04 Thread Craig Dunn
You're sure to come across Miguel's TweetStation app - code is OS https://github.com/migueldeicaza/TweetStation On Tue, Jun 5, 2012 at 7:31 AM, Brett Spurrier brett.spurr...@gmail.comwrote: I'll check it out. I've only been on the list for a few months. Thanks! On Mon, Jun 4, 2012 at 2:28

Re: [MonoTouch] How to keep selected (element)row highlighted

2012-06-04 Thread Craig Dunn
the selected color in Monotouch.Dialog? It would be a pity if I had to recode the existing iPhone controller as a lower level TableViewController on the Ipad... Thanks in advance, Guivho. On 3 June 2012 23:58, Craig Dunn craig.d...@gmail.com wrote: The MWC sample does that - both for the master

Re: [MonoTouch] Need help with UITableView

2012-06-04 Thread Craig Dunn
Possibly you are using a UITableViewController or a Monotouch.Dialog.DialogViewController as the basis of the screen - both of these have a UITableView 'built in' that uses up the entire screen space, which is why the rows appear as you described. This is kinda their expected behavior. Create a

Re: [MonoTouch] Twitter without UI - only code

2012-06-05 Thread Craig Dunn
Apple's docohttp://developer.apple.com/library/ios/#documentation/Twitter/Reference/TWTweetSheetViewControllerClassRef/Reference/Reference.htmlseems pretty clear that the built-in Twitter framework is not intended to send tweets without the user seeing them first. you cannot append text, images,

Re: [MonoTouch] Twitter without UI - only code

2012-06-06 Thread Craig Dunn
Ah, right, setEditinghttp://developer.apple.com/library/ios/#DOCUMENTATION/UIKit/Reference/UIViewController_Class/Reference/Reference.html isn't a Twitter framework method, it's inherited from UIViewController. Its doco states: Subclasses that use an edit-done button must override this method to

Re: [MonoTouch] Checking local network availability

2012-06-07 Thread Craig Dunn
Hey, not 100% sure I know what you're asking here, but I'll take a shot 1. Apple basically requires that your app doesn't crash. They will test on a device without network, and if it crashes (because of bad code, or startup time exceeds the 10sec limit) they will fail your app. So: you need to

Re: [MonoTouch] is the downloadable code in McClure's iPhone Programming with MT... compatible with current version of MT/MD?

2012-06-08 Thread Craig Dunn
Hey, That book was sent to press just after the first iPad was launched (early-mid 2010) so some of the code is getting old (from 2009)! I didn't get the same error as you, but the sample also didn't work for me just now; this updated gist shows code that does work (3 lines modified). I also

Re: [MonoTouch] Implementing IImageUpdated in custom MTD Element

2012-07-08 Thread Craig Dunn
Hey - the MWC2012 sample app has a couple of custom MTD elements that use IImageUpdated (Speaker cells have a head-shot, Exhibitor cells have a logo, Twitter cells have an avatar image). links below. HTH craig

Re: [MonoTouch] UISplitView - master always hidden in landscape

2012-07-08 Thread Craig Dunn
Hi Petr, which Xamarin sample did you try? There is one on github https://github.com/xamarin/monotouch-samples/tree/master/SplitView also also three separate recipes on http://docs.xamarin.com/ios/recipes eg.

Re: [MonoTouch] Newsstand Sample

2012-07-19 Thread Craig Dunn
There is some documentation on using the Newsstand APIs http://docs.xamarin.com/ios/tutorials/Introduction_to_Newsstand however that doesn't cover the actual reading/rendering stuff - you choose your own data format and write that yourself... HTH On Thu, Jul 19, 2012 at 6:04 PM, Lennie De

Re: [MonoTouch] Signalr and monotouch

2012-07-20 Thread Craig Dunn
Mr Shackles has already done some good work getting SignalR on Xamarin https://github.com/gshackles/SignalR HTH On Jul 21, 2012, at 8:23 AM, Alex Soto dxdr...@gmail.com wrote: Hello guys, Do you know if SignalR can be used with MonoTouch?? Also any example would be great Or if you

Re: [MonoTouch] Trying to Create HTML-Style Image Map

2012-07-22 Thread Craig Dunn
Tool that might be helpful - http://www.paintcodeapp.com/ - for drawing custom CG shapes. It outputs MonoTouch/C# code http://blog.xamarin.com/2012/06/06/meet-our-new-favorite-design-tool-paintcode/but does cost $99 to buy the full version. Just FYI... On Mon, Jul 23, 2012 at 10:56 AM, Chris_M

Re: [MonoTouch] Retrieving EXIF (GPS) data from UIImage

2012-08-16 Thread Craig Dunn
Just to clarify, you can't get this info from a UIImage object, because that object is just for loading/displaying images. You *can* get the info direct from an image *file* (with an NSUrl reference) using the ImageIO framework (as per that example you linked to). Here's the MonoTouch equiv...

Re: [MonoTouch] Setting HighlightedTextColor when UITableViewCellSelectionStyle.None is used

2012-08-20 Thread Craig Dunn
What about cell.Highlighted = true; // no animation or cell.SetHighlighted(true,false); // optional animation ? I'm not really sure what effect you are trying to accomplish with this code... if it is just to have different colors on every second row, why not just set the TextColor directly

Re: [MonoTouch] cross platform library code

2012-08-20 Thread Craig Dunn
Yep - there is a very basic example PCL project here https://github.com/conceptdev/xamarin-samples/blob/master/TaskyProPortable/ there is a few basic Linq statements in here https://github.com/conceptdev/xamarin-samples/blob/master/TaskyProPortable/Tasky.Core.Portable/DL/TaskDatabase.cs HTH

Re: [MonoTouch] Setting HighlightedTextColor when UITableViewCellSelectionStyle.None is used

2012-08-20 Thread Craig Dunn
; label.HighlightedTextColor = UIColor.Yellow; } } ** ** ** ** *From:* monotouch-boun...@lists.ximian.com [mailto: monotouch-boun...@lists.ximian.com] *On Behalf Of *Drew Greenwell *Sent:* Monday, August 20, 2012 9:07 PM *To:* Craig Dunn

Re: [MonoTouch] Uitableview with images .. slow scrolling

2012-08-21 Thread Craig Dunn
you should look into MonoTouch.Dialog.Utilities.ImageLoader - just add a project reference to MonoTouch.Dialog-1 https://github.com/migueldeicaza/MonoTouch.Dialog#image-loading On Wed, Aug 22, 2012 at 8:44 AM, Jason Awbrey ja...@awbrey.net wrote: load the images asynchronously and cache them

Re: [MonoTouch] Uitableview with images .. slow scrolling

2012-08-22 Thread Craig Dunn
oh, also, i forgot this sample https://github.com/xamarin/monotouch-samples/tree/master/LazyTableImages (unfortunately it's a bit old, but might be useful reference) On Wed, Aug 22, 2012 at 8:00 PM, Wally McClure theevilprogram...@hotmail.com wrote: Apologies for just noticing this thread. I

Re: [MonoTouch] Monotouch.Dialog with SQL-NET CRUD

2012-08-23 Thread Craig Dunn
TaskyPro is a very simple example that uses MonoTouch.Dialog for a list screen, and MonoTouch.Dialog's Reflection API to render the task-input form which allows for data editing and deletion. it uses the SQLite-NET library to wrap the database. Solution:

Re: [MonoTouch] Need Simple UIWebView Example to Format Text

2012-09-06 Thread Craig Dunn
in the Monospace11 app - https://github.com/conceptdev/Monospace11 - some of the screens use webviews for formatting (found it faster to format nicely, and work cross-platform with Android). anyway, check out the

Re: [MonoTouch] Issue with tableView [Noob]

2012-09-13 Thread Craig Dunn
not 100% sure what you mean? if you're using one of the built-in UITableViewCell layouts, eg cell = new UITableViewCell (UITableViewCellStyle.Default, cellIdentifier); then the text _is_ being displayed in a UILabel, so you can just set the shadow properties: cell.TextLabel.ShadowColor =

Re: [MonoTouch] StoreKit: UpdatedTransactions() not called for restores?

2012-09-18 Thread Craig Dunn
Hey there, I know that Restore does work, as I've built commercial apps that implement it; and the Xamarin sample also works for me. The documentation basically says if there are no restorable-transactions then UpdatedTransactions() won't get called. If

Re: [MonoTouch] Passbook API

2012-09-20 Thread Craig Dunn
The PassBook API lets you read passes that have been created and signed with a certificate attached to your TeamID. So you can create multiple pass types (each with their own certificate), distribute them to customers and write multiple apps that can read one type or all of those passes. Your apps

Re: [MonoTouch] Maptastrophe?

2012-09-24 Thread Craig Dunn
looks like the URL to 'capture' requests from an app via OpenUrl() and show the Maps app is now: http://maps.apple.com/maps?q=cupertino https://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Articles/MapLinks.html#//apple_ref/doc/uid/TP40007894-SW1 OT:

Re: [MonoTouch] Error in creating GeoLocation since MT 6.0

2012-09-27 Thread Craig Dunn
basically it says: (as of September 20th) The currently available binaries are now compiled for MonoTouch 6.http://xamarin.com/mobileapi if you're using the mobileAPI (Xamarin.Geolocation) maybe try downloading the latest from that link? On Thu, Sep 27, 2012 at 5:21 PM, Rolf Bjarne Kvinge

Re: [MonoTouch] Any idea what this could be?

2012-10-12 Thread Craig Dunn
from what version did you move _to_ 6.0.3? perhaps the changelog between the two releases might point at something that's been updated to give you a clue? also, 6.0.4 has been released http://docs.xamarin.com/ios/releases/MonoTouch_6/MonoTouch_6.0#MonoTouch_6.0.4 -- you might already have been

Re: [MonoTouch] Any idea what this could be?

2012-10-12 Thread Craig Dunn
around that. ** ** Dino ** ** *From:* Craig Dunn [mailto:craig.d...@gmail.com] *Sent:* Friday, October 12, 2012 19:44 *To:* Dean Cleaver *Cc:* James Darbyshire; monotouch@lists.ximian.com *Subject:* Re: [MonoTouch] Any idea what this could be? ** ** from what version did

Re: [MonoTouch] UIRefreshControl UITableView

2012-12-13 Thread Craig Dunn
Wally, I don't see you assigning the UIRefreshControl you created to the UITableView's RefreshControl property. You've got a local var refresh but unless the table view itself has the widget assigned, it won't work... you could probably just ditch your field and assign to the

Re: [MonoTouch] Multiple projects

2012-12-13 Thread Craig Dunn
That is normally what people expect - assuming the startup project references the other one, you really want them both to be compiled so that the latest changes are all included. Aanyway... to change the behavior, right click on your solution in MonoDevelop Options Build Configurations

Re: [MonoTouch] Load image from native library resources

2012-12-14 Thread Craig Dunn
I think they'll be in the 'root' file location of the App Bundle? If the library has them in a folder-structure, then the folder structure will be preserved, based in the App Bundle root... On Fri, Dec 14, 2012 at 8:22 AM, Nic Wise n...@fastchicken.co.nz wrote: If you build the app, and look

Re: [MonoTouch] Storyboard and localization

2013-01-02 Thread Craig Dunn
Storyboards provide a nice design-time experience for UI layout, navigation design and can be faster to load in your app than XIBs. Regarding l10n however, this quote is from Apple's docs: *Note:* Before Xcode 4.5, developers and localizers had to modify storyboards and nib files for each

Re: [MonoTouch] IOS to Android

2013-01-31 Thread Craig Dunn
it will depend on the structure of the monotouch app. all the UIKit code (views, viewcontrollers, ui controls) will need to be re-written for Android (views, activities, ui controls). HOWEVER all non-UI-specific code should be re-usable... you might just need to check some assumptions about

Re: [MonoTouch] building a ipa from visual studio with Xamarin Studio

2013-03-05 Thread Craig Dunn
I'm just looking at this now. There is a button in the iOS toolbar in Visual Studio - Show IPA file in Finder, which I think some of you have already found. It doesn't seem to work as expected, however; or else there's some ritual to follow first in terms of the configuration you build, etc. I'm

Re: [MonoTouch] Xamarin.iOS to Xamarin.Mac Roseta Stone

2013-03-21 Thread Craig Dunn
the biggest shock for me was how different NSTableView was - it's still kinda familiar (and let me get a basic sample http://conceptdev.blogspot.com/2012/09/microsofts-azure-mobile-services-and_13.htmlup and running pretty quick) but the Mac controls definitely feel different to iOS :) bon

Re: [MonoTouch] Database Encryption

2013-03-21 Thread Craig Dunn
Depends on how secure you want it to be - the sandbox (plus curated app store) generally means other applications can never hack at/steal your data, and in the /Library/ folder end-users generally won't find it either. However, if the phone/device was stolen, unencrypted files are fairly simple

Re: [MonoTouch] How to save the file to user accessible folder outside the application bundle in Ipad

2013-04-25 Thread Craig Dunn
this doc might help http://docs.xamarin.com/guides/ios/application_fundamentals/working_with_the_file_system On Wed, Apr 24, 2013 at 11:50 PM, madhusudhan reddy ymadhusudhanredd...@gmail.com wrote: I have an application where i need to save the PDF to a folder where user can see and access

Re: [MonoTouch] Hosting database server or services in iOS

2013-08-27 Thread Craig Dunn
Here's a pretty old (2009) sample from Mike doing some basic listening/response from iOS http://mikebluestein.wordpress.com/2009/10/13/create-a-mini-web-server-using-monotouch-to-serve-up-a-silverlight-app-to-your-desktop/ HTH On Tue, Aug 27, 2013 at 8:42 AM, Nic Wise n...@fastchicken.co.nz

Re: [MonoTouch] Error with monotouch.dialog (new monotouch update)

2013-09-24 Thread Craig Dunn
an easy fix is to build up the Sections manually rather than combining it all into one statement, for example this old code: Root = new RootElement (Tasky) { new Section() { from t in tasks select (Element) new StringElement((t.Name==?newTask:t.Name), t. Notes) } };

Re: [MonoTouch] Error with monotouch.dialog (new monotouch update)

2013-09-25 Thread Craig Dunn
-- *From:* Craig Dunn craig.d...@gmail.com *To:* Alejandro Vazquez alexvazq...@yahoo.com *Cc:* monotouch@lists.ximian.com monotouch@lists.ximian.com *Sent:* Tuesday, September 24, 2013 11:31 PM *Subject:* Re: [MonoTouch] Error with monotouch.dialog (new monotouch