Under 5.3 in the simulator I get: 2012-08-20 08:25:40.000 SizeTestApp[27693:1507] GetSizeForMyTest 2012-08-20 08:25:40.002 SizeTestApp[27693:1507] getSizeTest - width=80.000000 - height=0.000000 2012-08-20 08:25:40.007 SizeTestApp[27693:1507] Size received from Obj-C - width: 80 height: 1.685304E-32
In same on a device (ios5) I get: Wrapper type 'TestBinding.DelegateTestLibrary' is missing its native ObjectiveC class 'DelegateTestLibrary'. (even if I change the LinkWith statement in the binding) Can you redo the .a file to have armv6, armv7 and simulator in it? Otherwise, go to bugzilla.xamarin.com and raise a bug - looks like a valid issue (tho an odd one - would have expected this to come up a LOT more often!) N On Sun, Aug 19, 2012 at 10:22 AM, laped <[email protected]> wrote: > Hi, > > While binding a obj-c static library i stumbled upon a rather weird issue, > that i have not been able to solve or find a solution to, through search via > this forum, or other sources as stackoverflow etc. But i found a question on > stackoverflow asking about a similar problem: > http://stackoverflow.com/questions/10569081/incorrect-conversion-value-for-cgsize-sizef-binding > > When implementing a protocol in obj-c with a method of return type CGSize > and binding it in a monotouch project to SizeF, the Height value seems to be > lost in the communication - but only in the iphone simulator - when > deploying to a real phone it works fine. > > I've created a small test project on github, which shows the issue - have a > look, maybe i'm doing something wrong? > https://github.com/laped/DelegateSizeFTest > > Best regards > Lasse > > > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/Protocol-Delegate-SizeF-binding-issue-tp4656573.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch -- Nic Wise t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise b. http://www.fastchicken.co.nz/ mobileAgent (for FreeAgent): get your accounts in your pocket. http://goo.gl/IuBU Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa Earnest: Self-employed? Track your business expenses and income. http://earnestapp.com Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2 _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
