Re: [MonoTouch] Dequeuing table cells?

2015-01-14 Thread Jeff Stedfast
Hi Michael, Hopefully one of the Xamarin.iOS devs can chime in, but the IntPtr handle that is passed to .ctors is the native object pointer. If you don't pass it to base, then what happens is that the Xamarin.iOS runtime creates a new native instance. My understanding is that you have this:

Re: [MonoTouch] Problem binding library

2014-01-02 Thread Jeff Stedfast
It would appear that there are 2 public MD5 structs or methods in those native libraries and the linker doesn't know which one to use. I'm not sure how to solve that... do you have the source code for these native libraries? On Thu, Jan 2, 2014 at 4:44 PM, Matteo Polito map...@gmail.com wrote:

Re: [MonoTouch] Set Code Signing Identity to Don't Code Sign

2013-08-07 Thread Jeff Stedfast
You can't currently not code-sign an iOS application bundle. What is your reason for not wanting to code-sign? Jeff On Wed, Aug 7, 2013 at 8:31 AM, mobiledev1600 mobiledev1...@gmail.comwrote: How to set the Code Signing Identity to Don't Code Sign using MonoTouch. I dont want to code sign my

Re: [MonoTouch] MonoTouch binding SIGSEGV

2013-04-10 Thread Jeff Stedfast
Hi Patrik, The problem appears to be that SendTag...()'s thread uses the NSString that gets passed to it as an argument after it has already been free'd. 1. [Export (sendTagWithCategory:)] 2. int SendTagWithCategory (string category); This will generate code similar to this: int

Re: [MonoTouch] Again about binding Wrapper class mising

2013-02-28 Thread Jeff Stedfast
Make sure that your LinkWith attribute is correct in the binding project and that the btouch command is adding the native library(s) with the proper resource name (it has to match what is in the LinkWith attribute). If those are correct, you can do click the Build / Clean menu option and then try

Re: [MonoTouch] Again about binding Wrapper class mising

2013-02-27 Thread Jeff Stedfast
Hi mkovalyk, The reason you are getting that error for devices is because your native library only has i386 support. You need an armv6 or armv7 (or armv7s) native library in order for it to work on device (either that or replace the current native library with a fat binary which includes i386

Re: [MonoTouch] Again about binding Wrapper class mising

2013-02-27 Thread Jeff Stedfast
That's what I said :-) If you want it to work on your device, you need an arm version of the library. Jeff On Wed, Feb 27, 2013 at 7:46 AM, mkovalyk mishakova...@gmail.com wrote: Hi, Jeff. Thank you for replying. I know about i386. but I just thought that i386 is for Macbooks. because when

Re: [MonoTouch] Again about binding Wrapper class mising

2013-02-27 Thread Jeff Stedfast
Well, if the *.a is really an armv7 or armv7s library and not i386, that would be why it's not working on Simulator either, then. You need to make sure that the LinkWith attribute has the correct values or things won't work. Right now, your LinkWith attribute says that the *.a is for

Re: [MonoTouch] Again about binding Wrapper class mising

2013-02-27 Thread Jeff Stedfast
Where is your actual Makefile? The snippet on stackoverflow is improperly formatted. Jeff On Wed, Feb 27, 2013 at 9:00 AM, mkovalyk mishakova...@gmail.com wrote: OK. I have spent all my day with this problem. Maybe you can help me with another error. I'm trying to make a makefile. because it

Re: [MonoTouch] Again about binding Wrapper class mising

2013-02-27 Thread Jeff Stedfast
The first thing I notice is that you used spaces instead of tabs to indent the build commands for each target in the makefile. Try changing them to tabs (I'm on a Windows machine right now so can't actually test your makefile). Hope that helps, Jeff On Wed, Feb 27, 2013 at 9:16 AM, mkovalyk

Re: [MonoTouch] Build failed. ApplicationName='codesign'

2013-02-23 Thread Jeff Stedfast
Hi Kimmin, Do you have Xcode installed? You might need to install the Command-Line Tools package (from within Xcode's Preferences dialog, in the Downloads tab). to get the iphoneos-optimize script, I'm not sure. Does

Re: [MonoTouch] How do I make DateTimeElement datePicker show up in a popover?

2013-02-21 Thread Jeff Stedfast
Hi Xy, I wrote my own Element subclass for this in my own side-project. You can find the source for my DateEntryElement here: https://github.com/jstedfast/FlightLog/blob/master/FlightLog/Elements/DateEntryElement.cs Hope that helps! Jeff On Thu, Feb 21, 2013 at 2:34 AM, Xy

Re: [MonoTouch] Load image from native library resources

2012-12-14 Thread Jeff Stedfast
Hi Dennis, I'm a bit confused about your question... When you build your app bundle, where do the files end up? You can poke around in the appropriate bin directory. MonoTouch Binding Projects embed files marked as Content or BundleResource into the dll (temporarily) for ease of sharing the

Re: [MonoTouch] Load image from native library resources

2012-12-14 Thread Jeff Stedfast
Perhaps the BundleResource and Content options only work in MonoDevelop 3.1.0? Jeff On Fri, Dec 14, 2012 at 4:10 PM, Dennis Welu dennisw...@motisconsulting.com wrote: For the record, the build action I had to set to EmbeddedResource, as BundleResource was not available... (it's available for

Re: [MonoTouch] Multiple projects

2012-12-13 Thread Jeff Stedfast
Hi Guido, You Can select the project you want to build in the Solution Tree and then hit Command+K (instead of Command+B which builds the entire solution). You can also right-click on the project you'd like to build in the Solution Tree and select Build ProjectName. Hope that helps, Jeff On

Re: [MonoTouch] Thanks Everyone!

2012-12-04 Thread Jeff Stedfast
You're welcome and congratulations! Jeff On Mon, Dec 3, 2012 at 8:44 PM, dermotos m...@dermotos.com wrote: Well, after 18 months of spare time development learning, I've finally released my first app on the App Store. (more info: www.groovepond.com) I just wanted to thank everyone in this

Re: [MonoTouch] Monotouch.Dialog - Select Cell

2012-12-03 Thread Jeff Stedfast
Hi Iki, I think what you want to do is: // Select and scroll to a particular element // // From Apple's documentation: // // To scroll to the newly selected row with minimum scrolling, select the row using // selectRowAtIndexPath:animated:scrollPosition: with UITableViewScrollPositionNone, //

Re: [MonoTouch] Auto network credentials

2012-11-29 Thread Jeff Stedfast
? If so, which one? Might also explain why I've not had errors back from users on this one for a while :) Thanks Jeff! On Wed, Nov 28, 2012 at 11:41 PM, Jeff Stedfast j...@xamarin.com wrote: Hi Nic, That sounds a lot like this bug: https://bugzilla.xamarin.com/show_bug.cgi?id=7599

Re: [MonoTouch] Auto network credentials

2012-11-28 Thread Jeff Stedfast
Hi Nic, That sounds a lot like this bug: https://bugzilla.xamarin.com/show_bug.cgi?id=7599 Jeff On Wed, Nov 28, 2012 at 11:20 AM, Nic Wise n...@fastchicken.co.nz wrote: ... if anyone happens to be looking into the MT proxy code: If I set a proxy (using the iOS one, usually, but I think it

Re: [MonoTouch] Bindings for MapBox

2012-11-05 Thread Jeff Stedfast
Hi Dennis, For what it's worth, you don't need to create a fat binary to contain all architectures. You can also do the following: [assembly: LinkWith (libMapView-armv7.a, LinkTarget.ArmV7, Frameworks = CoreFoundation CoreLocation QuartzCore UIKit Foundation CoreGraphics,

Re: [MonoTouch] Exposing custom Controls/Views to iOS patterns

2012-10-17 Thread Jeff Stedfast
Hi Miljenko The problem you are hitting is that the .xib specifies that the type of that outlet is a UIImageView. In Xcode's UI Designer, you can select that UIImageView and then specify a custom class name to use in the property editor. Hope that helps, Jeff On Wed, Oct 17, 2012 at 3:11 AM,

Re: [MonoTouch] Error: No installed provisioning profiles match.

2012-10-11 Thread Jeff Stedfast
Hi Kris, It sounds like you probably haven't installed the Apple Mobile Provisioning profile. To do this, you'll need to log in to Apple's developer site and go to the iOS Provisioning Portal and create a provisioning profile for your app/company and then download/install it (if I recall

Re: [MonoTouch] having nightmares with updates to and from xcode

2012-09-28 Thread Jeff Stedfast
L2 Cache: 4 MB Memory: 4 GB Bus Speed: 800 MHz I am contemplating a quad core 15 with a solid state hdd with 8gb of ram, I need to reduce the compile round trip times significantly if I can, is it worth investigating this route? ATB Alex On 27 Sep 2012, at 17:05, Jeff Stedfast

Re: [MonoTouch] having nightmares with updates to and from xcode

2012-09-28 Thread Jeff Stedfast
it a hammering over the next couple of days. Whilst this has been frustrating to say the least, I am really happy with the support I am getting and I am sure we will get to the bottom of things. ATB Alex On 28 Sep 2012, at 15:20, Jeff Stedfast j...@xamarin.com wrote: Hi Alex, It's worth

Re: [MonoTouch] having nightmares with updates to and from xcode

2012-09-27 Thread Jeff Stedfast
Hi Alex, On Thu, Sep 27, 2012 at 7:24 AM, Alex White alexwhit...@gmail.com wrote: Hi Jeff, thanks for the reply, This problems has been occurring on and off for months, but in the last week 100% of the Xcode updates are no making their way into MonoDevelop it has forced me to recode my

Re: [MonoTouch] iPhone 5 ARM7 and ARM6

2012-09-27 Thread Jeff Stedfast
Hi Justin, I *think* that as long as you continue to target an iOS older than 6.0 and keep Xcode 4.4 (don't upgrade to 4.5), you can continue to build for armv6 and it will still work on iPhone5 You just can't use iOS6 APIs. Hope that helps, Jeff On Thu, Sep 27, 2012 at 3:47 PM, Justin Hansen

Re: [MonoTouch] uitableview and uipagecontrol

2012-09-27 Thread Jeff Stedfast
FWIW, I've actually got a fix for that performance issue in the works. I just need to land it. Now that I've been reminded, hopefully I'll land it tonight :-) Jeff On Thu, Sep 27, 2012 at 4:26 PM, Sebastien Pouliot sebast...@xamarin.comwrote: Hello Alex, UITableView can handle any number of

Re: [MonoTouch] uitableview and uipagecontrol

2012-09-27 Thread Jeff Stedfast
Patch landed! Jeff On Thu, Sep 27, 2012 at 5:19 PM, Jeff Stedfast j...@xamarin.com wrote: FWIW, I've actually got a fix for that performance issue in the works. I just need to land it. Now that I've been reminded, hopefully I'll land it tonight :-) Jeff On Thu, Sep 27, 2012 at 4:26 PM

Re: [MonoTouch] having nightmares with updates to and from xcode

2012-09-26 Thread Jeff Stedfast
Hi Alex, You should not be having to recreate them from scratch. There is clearly a bug in MonoDevelop's Xcode syncing, somewhere. Is it possible for you to file a bug about this on http://bugzilla.xamarin.com and attach your XcodeSyncdate.log file (you can attach it and mark it private). This

Re: [MonoTouch] New Resources Folder

2012-09-20 Thread Jeff Stedfast
Hi Alex, I implemented support for this back at the end of July, but it looks like it didn't make it into 3.0.4. It should be included in the next major release of MonoDevelop, though. Hope that helps, Jeff On Thu, Sep 20, 2012 at 10:20 AM, Alex Soto dxdr...@gmail.com wrote: Hello I'm

Re: [MonoTouch] New Resources Folder

2012-09-20 Thread Jeff Stedfast
...@gmail.com wrote: Yikes thats awesome Jeff thanks a lot for that awesome feature I will be looking forward next release of MD hope it doesn't take to much time to come Alex El 20/09/2012, a las 10:28, Jeff Stedfast j...@xamarin.com escribió: Hi Alex, I implemented support for this back

Re: [MonoTouch] exception handling in native lib not working with mtouch?

2012-09-11 Thread Jeff Stedfast
Hi Iain, I'm not sure if this will work, but it might be worth a try... Does it work if you add -lgcc_eh to the gcc_flags? Jeff On Tue, Sep 11, 2012 at 8:03 AM, mcleodia mcleo...@gmail.com wrote: Dear all. We are compiling a static library built in c++ into our monotouch app, as per

Re: [MonoTouch] Clarification on the XamarinHQ tweet/blog about iOS 6

2012-09-04 Thread Jeff Stedfast
Yikes, that's a pretty major regression in battery usage! Could you submit a bug report about that? Hopefully the MonoTouch guys can figure out what changed between 5.2.12 and 5.2.13 that may have caused that and fix it. Jeff On Tue, Sep 4, 2012 at 10:40 AM, Dean Cleaver

Re: [MonoTouch] Help please! App won't start anymore: unable to find app identifier.

2012-08-13 Thread Jeff Stedfast
Hi Rene, Can you file a bug with this info? I suspect that MonoDevelop's logic for determining if a new build is required might be broken. (It seems that MD did not force a rebuild when you changed the App Id) Thanks! Jeff On Mon, Aug 13, 2012 at 5:38 AM, René Ruppert

Re: [MonoTouch] iTunes Artwork images

2012-08-13 Thread Jeff Stedfast
Hi Alex, Unfortunately not yet, but it is on the TODO list @ https://bugzilla.xamarin.com/show_bug.cgi?id=4093 We haven't yet figured out how to include the 1024x1024 iTunesArtwork image (I should check the latest Xcode versions to see if/how they do it). Once we figure that out (i.e. do we

Re: [MonoTouch] MonoTouch and SQLCipher

2012-08-09 Thread Jeff Stedfast
Does LLVM have a static library you can link against to get those symbols? Jeff On Thu, Aug 9, 2012 at 9:43 AM, cmckeegan charlie.mckee...@totalmobile.co.uk wrote: I've made a little progress. I've narrowed it down to the openssl project that SQLCipher uses. If I try to link in just the

Re: [MonoTouch] Problems creating bindings to a barcode reader API

2012-08-09 Thread Jeff Stedfast
Hi, It looks like the library was written in c++ and so you'll need to use the c++ linker. To do this, edit the LinkWith attribute for the libScanAPI.a and set IsCxx to true, like this: [assembly::LinkWith (libScanAPI.a, LinkTarget.ArmV7, IsCxx = true)] Hope that helps, Jeff On Thu, Aug 9,

Re: [MonoTouch] How to write bindings for a framework?

2012-08-07 Thread Jeff Stedfast
., Jeff Stedfast j...@xamarin.com escribió: Hi Shawn, I recently added feature which adds a Resources folder where you can add things like the ArcGIS.bundle files. I think it landed in MonoDevelop 3.0.4 (you'll have to create the Resources folder manually, though) Jeff On Mon, Aug 6, 2012

Re: [MonoTouch] How to write bindings for a framework?

2012-08-02 Thread Jeff Stedfast
I'll poke the docs team about this. Jeff On Thu, Aug 2, 2012 at 1:04 AM, spcware sh...@spcware.com wrote: I guess I should have searched this mailing list for the answer first. I saw a previous post saying that the framework file inside the *.framework file is usually a static library that

Re: [MonoTouch] Mountain Lion

2012-07-25 Thread Jeff Stedfast
We should be releasing a new MonoDevelop this week with support for Mountain Lion (and I'm pretty sure new MonoTouch and MonoDroid as well). It's in the QA process right now afaik Hope that helps, Jeff On Wed, Jul 25, 2012 at 10:23 AM, Dean Cleaver dean.clea...@xceptionsoftware.com wrote: I

Re: [MonoTouch] Await / Async / Task

2012-07-19 Thread Jeff Stedfast
The core runtime team will need to stabilize release Mono 2.12 before the MonoTouch team will begin updating their runtime (which probably won't happen until after MonoTouch 6.0). Late fall or winter is when I might expect MonoTouch to have async/wait, but probably not much sooner. Jeff On

Re: [MonoTouch] XIB file in sub-folder of Library Project

2012-07-19 Thread Jeff Stedfast
Hi Phil, This appears to be a bug in MonoDevelop's logic for calculating the .nib paths to be embedded into the resulting dll. Would you mind submitting a bug report about this to http://bugzilla.xamarin.com? I'll be taking a look into fixing this issue shortly. Thanks! Jeff On Wed, Jul 18,

Re: [MonoTouch] Await / Async / Task

2012-07-19 Thread Jeff Stedfast
I wish we could have it sooner, but it's probably too risky to get it in for MonoTouch 6.0 (for iOS 6) Jeff On Thu, Jul 19, 2012 at 5:43 PM, JB jeff.butterwo...@softwareresults.com.au wrote: Gulp. Am just thinking of the code I'm going to have to rewrite for the async/await i've used :-(

Re: [MonoTouch] XIB file in sub-folder of Library Project

2012-07-19 Thread Jeff Stedfast
Hi Phil, Never mind about submitting a bug report (I've just fixed it, so it should end up in the next release; 3.0.4 or 3.0.3.5 or whatever it ends up being). Jeff On Thu, Jul 19, 2012 at 4:46 PM, Jeff Stedfast j...@xamarin.com wrote: Hi Phil, This appears to be a bug in MonoDevelop's

Re: [MonoTouch] Await / Async / Task

2012-07-18 Thread Jeff Stedfast
Hi, Async/Await features are available in the alpha releases of Mono (ie. 2.11) but not MonoTouch (yet). I think the plan for these features being included in MonoTouch Mono 4 Android is this fall (although I'm not on that team, so I could be wrong). Hope that helps, Jeff On Wed, Jul 18, 2012

Re: [MonoTouch] Changes in XCode doesn't update to Monotouch

2012-07-17 Thread Jeff Stedfast
Hi Jeff, What version of MonoDevelop are you using? Earlier emails in this thread suggest 2.8.6.5, but a lot of improvements have gone into MonoDevelop in this area since then... Jeff On Mon, Jul 16, 2012 at 7:17 PM, Jeff Kesselman jef...@gmail.com wrote: Okay, so here's the ela. This has

Re: [MonoTouch] Binding an interface that conforms to multiple protocols

2012-07-16 Thread Jeff Stedfast
Hi, On Fri, Jul 13, 2012 at 3:30 PM, tkacem thabe...@hotmail.com wrote: Jeff, Thanks for your reply. 1. The Dll's size (on disk) is bit over the native library size (30.6 MB vs 30.5 MB) but when I reference it in the new project the window finder shows it has 29.1 MB which is a bit

Re: [MonoTouch] Binding an interface that conforms to multiple protocols

2012-07-16 Thread Jeff Stedfast
On Fri, Jul 13, 2012 at 4:39 PM, tkacem thabe...@hotmail.com wrote: when I create the Dll by: */Developer/MonoTouch/usr/bin/btouch -e GDBinding.cs AssemblyInfo.cs -s:StructsAndEnums.cs -x:Extra.cs* are you no longer using --link-with? then when I reference it in the sample project, I

Re: [MonoTouch] Binding an interface that conforms to multiple protocols

2012-07-13 Thread Jeff Stedfast
The easiest way to bind these types of classes is to subclass one of them and then manually bind the other class's methods. Hope that helps, Jeff On Tue, Jul 10, 2012 at 11:23 AM, tkacem thabe...@hotmail.com wrote: Hi Nic, Thanks for your reply. The interface definition is as follows:

Re: [MonoTouch] Binding an interface that conforms to multiple protocols

2012-07-13 Thread Jeff Stedfast
That makes me think that the native library isn't being linked into the final app. 1. Make sure that the binding dll is larger than the size of the native library (this is just a quick easy way of determining if the dll has the native library embedded in it) 2. Make sure that you are targeting

Re: [MonoTouch] Link all assemblies required?

2012-06-26 Thread Jeff Stedfast
You can set that value to anything you want, it's just an option to help shrink the size of your bundled application by removing classes/methods/etc that your program doesn't use. Hope that answers your question, Jeff On Mon, Jun 25, 2012 at 6:20 PM, rnendel11 rnende...@gmail.com wrote: For

Re: [MonoTouch] Odd UIAlertView regression between 5.3 and 5.2

2012-06-25 Thread Jeff Stedfast
Hi Nic, This was a bug, but I've looked at the code and it appears to have been fixed in git master (the first button title was passed to the base ctor and then added again in the UIAlertView ctor). Hope that helps, Jeff On Mon, Jun 25, 2012 at 2:48 PM, Nic Wise n...@fastchicken.co.nz wrote:

Re: [MonoTouch] XIB Sync from IB to designer.cs New to MonoTouch

2012-06-18 Thread Jeff Stedfast
Hi, This is a bug that will be fixed in the next release of MonoDevelop which will hopefully be out in the next few days. Hope that helps, Jeff On Sat, Jun 16, 2012 at 7:21 PM, vulclanccit chuckcond...@clearchannel.comwrote: I am following a tutorial on Pluralsight (ProteinTracker).

Re: [MonoTouch] Newbie: File - New - MonoTouch Sln - XCode build error

2012-06-13 Thread Jeff Stedfast
Hi Pure, The Objective-C projects generated by MonoDevelop and exported to Xcode are not meant to be buildable, they are simply meant to allow you to construct your UIs and connect Actions Outlets. Hope that helps, Jeff On Wed, Jun 13, 2012 at 12:52 AM, Pure Krome

Re: [MonoTouch] Newbie question : MonoDevelop error when creating outlet

2012-06-13 Thread Jeff Stedfast
Hi John and Kerry, This bug has been fixed in the 3.0.3.1 beta. Can you verify? Jeff On Wed, Jun 13, 2012 at 2:35 AM, Kerry Street kcsw...@live.com wrote: Kerry Street kcswork@... writes: I submitted bug 5627 to Xamarin bugzilla: https://bugzilla.xamarin.com/show_bug.cgi?id=5627

Re: [MonoTouch] Binding Sample Make File

2012-06-13 Thread Jeff Stedfast
Hi Martin, The way to build the bindings is to run the `make` command at the command-line while in the toplevel monotouch-bindings directory (or the binding directory of the binding you want). It looks like you tried to actually run the Makefile file, but it is not a script - it is meant to be

Re: [MonoTouch] MonoTouch Binding TargetName in MakeFile

2012-06-13 Thread Jeff Stedfast
Hi Martin, If you are using the Makefiles found in the monotouch-bindings project, you can ignore the TARGET variable. That variable is only used for compiling native Xcode projects. The only Makefile rule you should have is the .dll rule. Hope that helps, Jeff On Wed, Jun 13, 2012 at 9:33 AM,

Re: [MonoTouch] Binding of Zebra SDK to Monotouch

2012-06-13 Thread Jeff Stedfast
Hi, I think what you want to do is change this: [BaseType (typeof(NSObject))] interface TcpPrinterConnection : ZebraPrinterConnection to this: [BaseType (typeof(ZebraPrinterConnection))] interface TcpPrinterConnection On Wed, Jun 13, 2012 at 4:19 AM, Дмитрий Надеждин

Re: [MonoTouch] Class __MonoTouch_NSActionDispatcher is implemented in both ?? and ??. One of the two will be used. Which one is undefined.

2012-06-12 Thread Jeff Stedfast
Hi Felix, I've not experienced this, so I don't know... but it won't hurt to submit a bug report about it. Hope that helps, Jeff On Tue, Jun 12, 2012 at 5:31 PM, Felix Collins fe...@intranel.com wrote: Anyone, anyone? Has no one else experienced this? On 11/06/2012 1:43 p.m., Felix

Re: [MonoTouch] Cannot synch Xcode changes in Monotouch

2012-06-09 Thread Jeff Stedfast
Can you try the MonoDevelop 3.0.3.1 beta? It *should* be fixed now... Thanks, Jeff On Thu, Jun 7, 2012 at 5:09 PM, rnendel11 rnende...@gmail.com wrote: Right now it is a pain. There seems also to be a problem with Actions being stripped from the resulting monotouch files. You can load the

Re: [MonoTouch] Cannot synch Xcode changes in Monotouch

2012-06-07 Thread Jeff Stedfast
Hi Elena, Could you submit a bug report to http://bugzilla.xamarin.com (file it under MonoDevelop / iPhone Add-in)? Once thing you could try, if you aren't already doing it, is to go to each of the files you've changed in Xcode and saving them before swapping back to MonoDevelop. This might

Re: [MonoTouch] Cannot synch Xcode changes in Monotouch

2012-06-07 Thread Jeff Stedfast
://bugzilla.xamarin.com/show_bug.cgi?id=5569 I've seen a few others on the list with the same problem. I dont normally use IB, so I've not seen it until today On Thu, Jun 7, 2012 at 5:36 PM, Jeff Stedfast j...@xamarin.com wrote: Hi Elena, Could you submit a bug report to http

Re: [MonoTouch] trying to work out how to get searches to work properly.

2012-06-05 Thread Jeff Stedfast
Hi Alex, When you create a UISearchDisplayController, you can pass it a UISearchBar. I will say that using a UISearchDisplayController can be very confusing the first time you use it, so I might suggest taking a look at https://github.com/jstedfast/MonoTouch.SQLite You'll see how I setup a

Re: [MonoTouch] trying to work out how to get searches to work properly.

2012-06-05 Thread Jeff Stedfast
just try and figure out how you have done stuff and make changes to my program, it is early days for this project so big changes can happen without too many issues. Thanks again Alex On 5 Jun 2012, at 16:31, Jeff Stedfast wrote: Hi Alex, When you create a UISearchDisplayController, you

Re: [MonoTouch] Runtime system identification?

2012-06-01 Thread Jeff Stedfast
Hi Anthony, etc The reason that we continue to report Unix is for historical reasons (the MacOSX enum value was not in the original specifications and so Mono started out reporting Unix). We cannot start reporting MacOSX as the PlatformID because it would break any existing applications that

Re: [MonoTouch] Using Portable Library Projects in MonoDevelop/MonoTouch

2012-05-25 Thread Jeff Stedfast
Hi Stuart, On Fri, May 25, 2012 at 9:02 AM, slodge m...@slodge.com wrote: Hi All I'm still plugging away at trying to get Portable Library projects to work fully across wp7, winrt, droid and touch. I'm especially trying this as it will deliver lots of benefits in terms of refactoring and

Re: [MonoTouch] Using Portable Library Projects in MonoDevelop/MonoTouch

2012-05-25 Thread Jeff Stedfast
Thanks Stuart, I'll look into these issues. Jeff On Fri, May 25, 2012 at 11:25 AM, Stuart Lodge m...@slodge.com wrote: Just logged the two issues and also updated the Gist so it shows slightly more public member info in the profile dump - https://gist.github.com/2788579 Hope that helps

Re: [MonoTouch] When and why would TryGetNSObject() fail?

2012-05-17 Thread Jeff Stedfast
It's possible that the native pointer address has been reused (e.g. the runtime thinks the old object is still around even tho it is not). Jeff On Thu, May 17, 2012 at 4:46 AM, Rolf Bjarne Kvinge r...@xamarin.comwrote: Hi, I just looked at the source and this is something that should not

Re: [MonoTouch] Bought Licence, now MT won't start?

2012-05-17 Thread Jeff Stedfast
Hi Nic Steve, The recent files list is ~/.recently-used - it sounds like maybe that file is corrupted? (I'm poking Michael Hutchinson to look at this email in case I'm wrong). Hope that helps, Jeff On Thu, May 17, 2012 at 12:35 PM, Nic Wise n...@fastchicken.co.nz wrote: From memory,

Re: [MonoTouch] MD corrupting entitlements.plist

2012-05-17 Thread Jeff Stedfast
Hi Felix, Can you submit a bug report about empty arrays being added to the Entitlements.plist? That should be fixed to not happen. I wonder also if that is the *actual* cause of the first problem you mentioned... I'll look into getting this fixed ASAP. Jeff On Wed, May 16, 2012 at 11:36 PM,

Re: [MonoTouch] MD corrupting entitlements.plist

2012-05-17 Thread Jeff Stedfast
Hi Neal, Can you check to see if you have empty array values in your Entitlements.plist, too? Then, if you could, try removing those empty array key/value pairs from the Entitlements.plist using a text editor and then recompile your app. Do you still get the error when installing on device? I

Re: [MonoTouch] Failure to build CorePlot bindings

2012-04-30 Thread Jeff Stedfast
Hi Guido, Try running `xcode-select -switch /Applications/Xcode.app` Then you might not even need to replace the path to xcodebuild Hope that helps, Jeff On Mon, Apr 30, 2012 at 7:24 AM, Guido Van Hoecke gui...@gmail.com wrote: Trying to build the CorePlot bindings found at

Re: [MonoTouch] Failure to build CorePlot bindings

2012-04-30 Thread Jeff Stedfast
Looks like you need to install command-line tools in Xcode 4.3 Xcode - Preferences - Downloads and then click the install button next to Command Line Tools. Jeff On Mon, Apr 30, 2012 at 2:47 PM, Guido Van Hoecke gui...@gmail.com wrote: Jeff, On Mon, Apr 30, 2012 at 18:56, Jeff Stedfast j

Re: [MonoTouch] Suggestion: Would really love a dot MonoTouch file :)

2012-04-27 Thread Jeff Stedfast
Hi, For the upcoming MonoDevelop 3.0 release, I've implemented support for Microsoft's Portable Library projects which Mono4Android and MonoTouch projects will be able to reference. This solves the problem you are facing in a much simpler and more robust way. Hope that helps, Jeff On Fri, Apr

Re: [MonoTouch] Opening XIB exception: Error updating Objective-C type information. Did not get project info

2012-04-25 Thread Jeff Stedfast
Hi Miljenko, No, there is no designer with MonoDevelop 2.9.4, but there is with 2.9.5 which was just released last night. Hope that helps, Jeff On Wed, Apr 25, 2012 at 1:43 AM, Miljenko Cvjetko mcvje...@holisticware.net wrote: Hi Jeff On 4/23/12 5:29 PM, Jeff Stedfast wrote: Hi

Re: [MonoTouch] Opening XIB exception: Error updating Objective-C type information. Did not get project info

2012-04-23 Thread Jeff Stedfast
Hi Miljenko, Could you try MonoDevelop 2.8.8.4 or 2.9.4? The version of MonoDevelop that you are running is basically MonoDevelop 2.8.6 + the new resolver changes, but not many of the Xcode sync changes that went into 2.8.8.x. You could also try 2.9.4, although I think that also lacks some fixes

Re: [MonoTouch] Monodevelop will no longer allow me to edit a XIB

2012-04-20 Thread Jeff Stedfast
Hi Dermot, The Xcode sync project is stored in the 'obj' directory of the MonoTouch project. I suspect that deleting that won't matter, though, because MonoDevelop generally deletes and re-syncs everything when you launch Xcode on a xib. I would suggest taking a look at your

Re: [MonoTouch] Monodevelop will no longer allow me to edit a XIB

2012-04-19 Thread Jeff Stedfast
Hi Dermot, Someone else just reported this the other day too. https://bugzilla.xamarin.com/show_bug.cgi?id=4467 Would it be possible to get a copy of your project (while it still has this problem) so that I could take a look and try to figure out what is wrong? Thanks! Jeff On Thu, Apr 19,

Re: [MonoTouch] btouch Binding of Blocks? (I know its in the docs, but having a little trouble)

2012-04-17 Thread Jeff Stedfast
wasn't c++ or if I didnt know what it was written in? Eitherway I will post the binding project to my github github.com/dermotoslater today or tomorrow for anyone else who comes across this. On Tue, Apr 17, 2012 at 5:50 AM, Jeff Stedfast j...@xamarin.com wrote: Hi Dermot, From the build

Re: [MonoTouch] btouch Binding of Blocks? (I know its in the docs, but having a little trouble)

2012-04-16 Thread Jeff Stedfast
proposedChannelID); . . . [BaseType (typeof (NSObject))] interface BumpClient{ [Export(BumpEventBlock:)] void BumpEvent(BumpEventBlock evt); [Export(BumpEventBlock:)] void BumpMatchBlock(ulong proposedChannelID); . . . } On Sat, Apr 14, 2012 at 12:45 AM, Jeff Stedfast j

Re: [MonoTouch] btouch Binding of Blocks? (I know its in the docs, but having a little trouble)

2012-04-13 Thread Jeff Stedfast
Hi Dermot, Let me try to better explain how blocks are bound... On Thu, Apr 12, 2012 at 10:22 PM, dermotos m...@dermotos.com wrote: Im trying to bind the latest version of the bump api (version 3). This version uses blocks as callbacks when events occur. The header file, located here:

Re: [MonoTouch] SharpZipLib performances

2012-04-12 Thread Jeff Stedfast
I've not tested performance, but another option might be to try Ionic.Zip and see how that fares. Jeff On Thu, Apr 12, 2012 at 6:13 PM, johnHolmes francesco.colo...@gmail.comwrote: Hi, In my app I need to unzip a big file (~200mb) when the application run for the first time after

Re: [MonoTouch] SharpZipLib performances

2012-04-12 Thread Jeff Stedfast
Heh, I was gonna say I'm pretty sure Ionic.Zip would build ok for MonoDroid since it builds for MonoTouch (they use the same subset of the class libraries), but I guess if it doesn't have a stream API, then that makes a damn good argument as to why you can't use it ;-( Oh well, it was worth a

Re: [MonoTouch] How to obtain message body

2012-03-30 Thread Jeff Stedfast
Hi Rafael, Try this: void msgSelected (DialogViewController dvc, UITableView tv, NSIndexPath path) { var body = ((MessageElement) dvc.Root[path.Section][path.Row]).Body; } Hope that helps, Jeff On Thu, Mar 29, 2012 at 7:45 PM, rafaelc rafaelc...@hotmail.com wrote: Hello, I´m using

Re: [MonoTouch] Header file for view controller not created

2012-03-29 Thread Jeff Stedfast
-wizard of MonoDevelop) Versions: MonoDevelop 2.8.6.5 (or 2.8.8.1 if I install the version you linked) Mono 2.10.8 XCode 4.2 Mac OS X: 10.7.3 Any help would be much appreciated. Thanks in advance. Sincerly, Vincent Jünemann Jeff Stedfast wrote Hi Marcus, Do you have a C# class

Re: [MonoTouch] Header file for view controller not created

2012-03-29 Thread Jeff Stedfast
X: 10.7.3 Any help would be much appreciated. Thanks in advance. Sincerly, Vincent Jünemann Jeff Stedfast wrote Hi Marcus, Do you have a C# class with the same name as the .xib? If not, then this isn't a bug; MonoDevelop doesn't create header files from .xibs, it creates

Re: [MonoTouch] Header file for view controller not created

2012-03-29 Thread Jeff Stedfast
. Do you have, by any chance, an ETA when this fix will be pushed into the stable release? Thanks for the help, Vincent Junemann Jeff Stedfast wrote Hi Kroan, When I said it was fixed in 2.8.8, I meant 2.8.8.3, not 2.8.8.1 (which was already in beta before I even heard

Re: [MonoTouch] [monotouch] how can you pass values between 2 tableviews

2012-03-29 Thread Jeff Stedfast
Hi sibzsangreal, I'm not entirely clear on what exactly you want to do, but what you'll need to do is to implement a UITableViewDelegate for tableview1 and implement the RowSelected() method, where it could use the NSIndexPath into tableview1's data model to extract the data item and then pass it

Re: [MonoTouch] Help displaying UISplitViewController from UIViewController

2012-03-29 Thread Jeff Stedfast
Hi Chris, One possibility would be to wrap your ScreenStart view controller in a UINavigationController. Then, in your Click() event handler, you could push your DataSplitView. e.g.: ScreenStart _srcStart; // declared at AppDelegate class level AppDelegate.FinishedLaunching() { window

Re: [MonoTouch] Fwd: UIDevice.CurrentDevice.CheckSystemVersion

2012-03-26 Thread Jeff Stedfast
Hi, Yes, Roy's interpretation of how this method is supposed to work is correct. You can think of it as a check for = the version you pass in. Hope that helps, Jeff On Sun, Mar 25, 2012 at 9:49 PM, Roy Goode r...@roygoode.com wrote: Hi Alex If you're running on an iOS 5.x device then it

Re: [MonoTouch] [Monotouch] Using framework library

2012-03-25 Thread Jeff Stedfast
Hi Pavel, Most Frameworks are really the same as statically linked libraries, so you can just rename MyFramework.framework/MyFramework to libMyFramework.a and then use them like a normal static library. Hope that helps, Jeff On Sun, Mar 25, 2012 at 4:18 PM, Pavel Sich pavel.s...@me.com wrote:

Re: [MonoTouch] Sharing UIToolbar between ViewControllers?

2012-03-21 Thread Jeff Stedfast
Hi Chris, You could always write a new UIToolbar subclass that adds all of the right items to itself. That's probably how I would do it. Hope that helps, Jeff On Wed, Mar 21, 2012 at 1:52 PM, Chris House chrisho...@proag.com wrote: I’m currently developing an iPad app with MT. The general

Re: [MonoTouch] Sharing UIToolbar between ViewControllers?

2012-03-21 Thread Jeff Stedfast
Hi Chris, On Wed, Mar 21, 2012 at 2:21 PM, Chris House chrisho...@proag.com wrote: Thanks Jeff. I actually came to that same conclusion shortly after I sent my email, but I’m glad to have some validation of my approach as I’m still quite new to MT. So far it seems to be working just like

Re: [MonoTouch] Apple dev program - joining as part of someone else's team

2012-03-20 Thread Jeff Stedfast
I'm interested in knowing the answer to this as well (getting close to publishing my own app, woo!). Jeff On Tue, Mar 20, 2012 at 10:07 AM, Nic Wise n...@fastchicken.co.nz wrote: Hi there I have my normal dev account, lets say the apple id is fastchicken. I pay the 99$ a year. I've been

Re: [MonoTouch] SQLite iOS binding to UITableView

2012-03-16 Thread Jeff Stedfast
Hi Jon, Most people seem to use Frank Krueger's SQLite-Net binding as opposed to System.Data because it's a bit simpler for most people. As luck would have it, I'm working on trying to make a very easy to use / generic (literally!) MonoTouch library for displaying data from a sqlite database in

Re: [MonoTouch] Nib in library (dll)

2012-03-14 Thread Jeff Stedfast
Hi John, You probably want to add yourself to the Cc on this bug: https://bugzilla.xamarin.com/show_bug.cgi?id=3591 If you can provide any additional info, that would be great. Thanks, Jeff On Wed, Mar 14, 2012 at 11:54 AM, johnHolmes francesco.colo...@gmail.comwrote: Hi, I'm facing the

Re: [MonoTouch] Retina iPad Graphics

2012-03-14 Thread Jeff Stedfast
Hey Andy, Could you submit a bug report about this for MonoTouch (maybe it's a bug in MonoTouch? I can't find anything that MonoDevelop is doing wrong) at http://bugzilla.xamarin.com? Let me know the bug # when you submit it so that I can Cc myself on it. Thanks, Jeff On Wed, Mar 14, 2012 at

Re: [MonoTouch] Retina iPad Graphics

2012-03-13 Thread Jeff Stedfast
Hi Andy, I've got a few more things for you to check... In your MonoTouch project's .xib, does it refer to the images as ImageName.png or ImageName? It should be using the latter form, but it sounds like it is maybe using the former. How about for your working Xcode project? Which form does it

Re: [MonoTouch] linking dependency

2012-03-13 Thread Jeff Stedfast
Hi Josh, If you are writing a binding to a native library, you probably want to take advantage of LinkWithAttribute(s) instead of specifying gcc flags in MonoDevelop. The LinkWithAttribute is an assembly level attribute that you probably want to either put in your AssemblyInfo.cs, or, if you are

Re: [MonoTouch] Retina iPad Graphics

2012-03-13 Thread Jeff Stedfast
Thanks Andy, I can reproduce here. I'll try to figure out what the issue is... Jeff On Tue, Mar 13, 2012 at 1:38 PM, AndyW andywh...@gmail.com wrote: I've created a test project here using MonoTouch, if you look at the images and then run the simulator and then retina simulator, you'll see

  1   2   3   4   >