Quantcast
Channel: Xamarin.Mac — Xamarin Community Forums
Browsing all 1429 articles
Browse latest View live

Native linking failed with error code 1

I have two xamarin projects 1. Mac binding project that wraps OS X obj-C library. 2. Mac app project I am referencing the Mac binding project in the mac app project and getting this error. couple notes...

View Article


NSTableVIew custom style

Hi, I need to change style of my table view in my mac application. I have found some ways to change cell item styles, but haven't found any way to change table view header style. I use...

View Article


How to make a NSCollectionView in Xamarin.mac.

I want to use Xamarin.mac to make a NSCollectionView. I already know how to do with xcode, but how to do it with Xamarin? I need a Detailed guidance or a sample,preferably a video. Thanks so much.

View Article

GUIUnit with PCL Project.

I'm trying to use NUnit with Xamarin.Mac.Mobile with GUIUnit as this link. https://developer.xamarin.com/samples/mac/guiunit-example/ Sample code is there. https://github.com/simeon052/NUnitTest But, I...

View Article

What options for installers?

My app should share it's data between all users. In order to do that I need to write to something like /Library/Application Support/Company To write files there I need admin permission. So is there a...

View Article


error in attaching provisioning profile in xamarin

Hi, i am trying to attach certificate to my project while release..but when i try to release it gives error"a sealed resource is missing or invalid" i have 2 project in solution and they are linked to...

View Article

Best practice to display directory content

inside directory I will have some image files and sub directories too. I want to display whole content of existing directory. What is the best practice to this task?

View Article

How to implement Bitmap library in Unified Xamarin Mac project

I just need Bitmap from System.Drawing. I'm using Xamarin.Mac . NET 4.5 Framework. And also I use QRCoder.dll and It needs Bitmap for returning image. How Can I use System.Drawing.Bitmap in my project?...

View Article


ORM using SQLite supporting Foreign Key added (Announcement)

An SQLite ORM (SQLite-Net Extensions) supporting Foreign key has been added. Features: Supports UWP (Win 10) Uses sqlite-net-pcl by Frank A. Krueger (Xamarin recommended) Note: Original ORM developed...

View Article


Interop Problem?

I am trying to call into a native C routine to get back a unsigned long / ulong value. My C# code is: class MainClass { [DllImport("mylib", EntryPoint = "getsz")] public static extern ulong Bug();...

View Article

Error in attaching developer ID certificate to Share Extension Project

Hi, I am trying to release my build .... normally it works fine but if i attached Provisioning Profiles from MacSigining .It gives error "a sealed resource is missing or invalid" i am having 2 project...

View Article

Error in attaching developer ID certificate to Share Extension Project

Hi, I am trying to release my build .... normally it works fine but if i attached Provisioning Profiles from MacSigining .It gives error "a sealed resource is missing or invalid" i am having 2 project...

View Article

NSOpenGLPixelFormat initWithAttributes

Hi there, I'm trying to convert the following lines of objective c into c# using Xamarin.Mac. NSOpenGLPixelFormatAttribute attributes[] = { NSOpenGLPFADoubleBuffer, NSOpenGLPFADepthSize, 24,...

View Article


How to Customize an NSCollectionView and NSCollectionViewItems in Xamarin.Mac

I've managed to implement the steps in the guide, https://developer.xamarin.com/guides/mac/user-interface/working-with-collection-views/, but Id like to have more control over the look and feel of the...

View Article

Xamarin.Mac NSColorPanel vs NSColorPicker

Can somebody tell me how to use these classes? I've got this simple code and on button click, the NSColorPanel pops up, but I don't know what to do in the panel to get the Selector to be invoked. And...

View Article


main.storyboard not opening properly

As I am new to Xamarin Studio I have an problem on Storyboard I have created an new project in that I am unable to open the main.storyboard. If I try to open means the page are get loading and I can't...

View Article

Create App / Bundle When using Winforms

Hi there, I have a winforms app that seems to work just fine on a Mac when I use Xamarin Studio Community (6.0). I can load the solution and run the app. I am trying to create a bundle, not necessarily...

View Article


Most convenient way to implement language localization using Xamarin Mac in...

Hi, I am looking for a convenient way to implement language localization for languages like English, Russian, Spanish etc. in same application using Xamarin Mac in Mac OS X. I have gone through...

View Article

Cannot get the method descriptor for "_original_setFrame" --- El Capitan only

Our app opens an NSPopOver, with content of an NSView descendant which contains a complex UI, layed out with AutoLayout. This works on OS X 10.10 for long; but we have discovered today it does not work...

View Article

Xamarin.Mac - NSInternalInconsistencyException

I'm suddenly getting this exception running 2 of my Xamarin.Mac .NET 4.5 applications. The UI's never get a chance to even show up. There're not new projects and I'm not sure if I ever ran them...

View Article
Browsing all 1429 articles
Browse latest View live