Re: [MonoTouch] Interface Builder on Lion?

2011-08-08 Thread Jeff Stedfast
You just need to keep the license text as-is in the MonoTouch.Dialog source files. Obviously since it will be closed source, no one will even see it but if the code ever gets opened in the future it won't be forgotten. Jeff On Aug 8, 2011 7:02 PM, "Mg" wrote: > I've gotten Monotouch.Dialog and th

Re: [MonoTouch] Interface Builder on Lion?

2011-08-08 Thread Mg
I've gotten Monotouch.Dialog and the included sample running and it is indeed awesome. Does anyone know how would I include the MIT X11 license it uses if I were to build a commercial app with it? -- View this message in context: http://monotouch.2284126.n4.nabble.com/Interface-Builder-on-Lion-t

Re: [MonoTouch] Performance cost of MonoTouch vs. Objective-C

2011-08-08 Thread Nic Wise
> Since image processing is largely CPU intensive (and normally done using > SIMD - which, sadly, MonoTouch does not support (maybe a feature for a > future version?)), this might be a task best suited for a native library or > something. Then again, maybe Apple's CoreImage does what you need, in w

Re: [MonoTouch] Interface Builder on Lion?

2011-08-08 Thread Mg
Thanks, I will definitely look at that. -- View this message in context: http://monotouch.2284126.n4.nabble.com/Interface-Builder-on-Lion-tp3724989p3727511.html Sent from the MonoTouch mailing list archive at Nabble.com. ___ MonoTouch mailing list MonoT

[MonoTouch] Dead code detection

2011-08-08 Thread David Black
Hi All Just a general query. I have an app that's ready for enterprise deployment. It's quite large (which isn't an issue per se) I do know of some classes that are no longer used and potentially there may be others that I am not aware of. Has anyone used any dead-code detection tools for in

Re: [MonoTouch] Performance cost of MonoTouch vs. Objective-C

2011-08-08 Thread Jeff Stedfast
As with anything, "it depends". File I/O should be as fast as buffered native I/O (I did a fair bit of testing of this for Mono a few years ago). Most of what apps do is spent idling waiting for user events and idle time is idle time and using the MonoTouch APIs is (for the most part) just a thin

Re: [MonoTouch] Performance cost of MonoTouch vs. Objective-C

2011-08-08 Thread kbudris
How about once the app is launched? Does using MonoTouch impose a performance overhead at runtime? Will things like file I/O or image processing be slower in MonoTouch than in Objective-C? -- View this message in context: http://monotouch.2284126.n4.nabble.com/Performance-cost-of-MonoTouch-vs-Obj

Re: [MonoTouch] Performance cost of MonoTouch vs. Objective-C

2011-08-08 Thread Jeff Stedfast
Just to add, MonoTouch 4.1 should improve things a fair bit. The size of apps should be considerably smaller (the linker is a bit smarter and will remove more unused API) and startup time is greatly reduced (depending on what you do in your FinishedLaunching() override. Jeff On Mon, Aug 8, 2011 a

Re: [MonoTouch] Performance cost of MonoTouch vs. Objective-C

2011-08-08 Thread Nic Wise
Not official, but: http://www.shrinkrays.net/code-snippets/csharp/monotouch-tips-and-snippets.aspx "Masking the startup time of Monotouch When you build a Monotouch application with a provisioning license (whether for the appstore or not), the startup time is generally around 1-2 seconds. The Mo

Re: [MonoTouch] Performance cost of MonoTouch vs. Objective-C

2011-08-08 Thread kbudris
Does Xamarin have an official statement on this in the kind of concise yet technical format that would satisfy a skeptical CTO? -- View this message in context: http://monotouch.2284126.n4.nabble.com/Performance-cost-of-MonoTouch-vs-Objective-C-tp3715348p3726872.html Sent from the MonoTouch maili

Re: [MonoTouch] Accessing iPhone camera without UIImagePickerController

2011-08-08 Thread kbudris
Thanks Dimitris and Chris for pointing me in the right direction. I downloaded the AVCaptureFrames sample and put it on an iPod Touch--the video preview is distorted (squished to square rather than filling screen). Any thoughts? -- View this message in context: http://monotouch.2284126.n4.nabble.

Re: [MonoTouch] Socket Server

2011-08-08 Thread Nic Wise
https://developer.apple.com/news/index.php?id=06062011c http://developer.apple.com/appstore/guidelines.html you may need to be logged into the developer site to read those, tho! On Mon, Aug 8, 2011 at 13:01, Bing Li wrote: > Dear Nic, > > Thanks again for your fast reply! > > I am planning to p

Re: [MonoTouch] Socket Server

2011-08-08 Thread Bing Li
Dear Nic, Thanks again for your fast reply! I am planning to put it into AppStore. I am really not sure if it will be accepted by the store. How can I get the information? It is possible that NAT might block some connections. However, I can reestablish the multicast tree to overcome the difficul

Re: [MonoTouch] Socket Server

2011-08-08 Thread Nic Wise
BTW, I'm not saying it can't be done, or it will not work, but before you get too far, check: 1. with apple's guidelines, to see if it'll be accepted into the store. If it doesn't need to go into the store, don't worry about this bit 2. with various telco's, to see if they block incoming ports (or

Re: [MonoTouch] Socket Server

2011-08-08 Thread dermotos
Yes true, bad example on my part, but the fact that a music player can receive a stream to a socket while running in the background, I would imagine it also allows outbound traffic. Nic's remark about blocking ports is a valid one however. My experience is virtually all mobile service providers NA

Re: [MonoTouch] Socket Server

2011-08-08 Thread Bing Li
Dear Nic, Thanks so much for your reply! I know one famous, BitTorrent. Although I did not implement BT on iPhone, the architecture of my system is the same. I believe such a system must get a better load balance and high performance. In such a system, a registry server is set up. It retains all

Re: [MonoTouch] Socket Server

2011-08-08 Thread Nic Wise
Hang on tho - this is the other way around. A music player connects to the remote server, and the server responds with the stream. The server never creates the connections, it's always the client doing it Just make sure you test it well, esp on slow cellular connections (GPRS for example, or

Re: [MonoTouch] Socket Server

2011-08-08 Thread Nic Wise
If you app is in the foreground, then yes, it will consume battery. The usual case for this is a GPS / SatNav type app, which has to be in the foreground all the time to do the navigation. Push basically uses nothing. It's "Free" with the iphone What does the socket server _do_? And how to yo

Re: [MonoTouch] WebRequest exception

2011-08-08 Thread dermotos
Hi, try declaring your request object as a HttpWebRequest object, rather than a WebRequest object, like so: HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://www.twitter.com";); Haven't tested it, but this is how i've always done it in .NET -- View this message in context: ht

Re: [MonoTouch] Socket Server

2011-08-08 Thread dermotos
It should be fine. I hope it will be anyway! I just finished writing my socket code for my app, and I'm just about to start debugging now. I imagine it will work fine with some kinds of multi-tasking. For example, internet radio players use sockets to stream data to them while in the background to

Re: [MonoTouch] Socket Server

2011-08-08 Thread Bing Li
Dear Nic, I designed a socket server on iPhone. But it only works when the application is started. If the application is down, the server is also closed. If so, the battery is still consumed more than push notifications? Thanks, Bing On Mon, Aug 8, 2011 at 4:57 PM, Nic Wise wrote: > If you wan

Re: [MonoTouch] Socket Server

2011-08-08 Thread Nic Wise
If you want the iphone to sit there and wait for things externally to happen, you should really look at using push notifications. thats the point of them :) there is a very good reason why apple discourages you from sitting there, listening on a port. Security is one. But the main one is you h

Re: [MonoTouch] SIGSEGV Crash: dyld: could not load inserted library...monotouch-fixes.dylib

2011-08-08 Thread MonkeyWorld
Hi catullum, Many thanks for your response, I've just tried explicitly setting the Keyboard type in code to Default and/or ASCII, but no change unfortunately. Yes, I've questioned (in my own mind) the robustness of the whole Mono/MT/MD environment across various versions over the last few month

Re: [MonoTouch] Socket Server

2011-08-08 Thread Dimitris Tavlikos
The System.Net.Sockets namespace is available in MonoTouch. I haven't used it in a project yet, but I believe it will work ok. I have doubts if it will work with multitasking though. Dimitris Tavlikos Software Developer Email: jimi...@gmail.com Twitter: http://twitter.com/#!/dtavlikos Blog: http

Re: [MonoTouch] new mono runtime crashing monodevelop

2011-08-08 Thread Jon Hopkins
No Addins. Just Monodevelop. Hopefully there will be a new release of something that will fix it. Jon Von: Jeff Stedfast [mailto:j...@xamarin.com] Gesendet: 05 August 2011 19:20 An: Jon Hopkins Cc: monotouch@lists.ximian.com Betreff: Re: [MonoTouch] new mono runtime crashing monodevelop

Re: [MonoTouch] Socket Server

2011-08-08 Thread Bing Li
Yes, you can. I ever did that using BSD socket in C. Thanks, Bing 2011/8/8 Andreas Ploetzeneder > Hi, > is it possible to put a socket server on the iPhone? > I want to program a socket client and a socket server on the iphone,.. > > -- > > > > > > Mit freundlichem Gruß,* > > Andreas Plötzened