HiWas just wondering if anybody knows why the data retrieved for a specific app for daily downloads in reporter (using Sales, Summary, Daily) does not match up with the data I am seeing in Itunes Connect? The units column I am receiving via the tool is different to the Units column I see when hovering over the graph for that app date.Any ideas?RegardsR
Search results for
column
2,049 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
-(nullable NSString*)browser:(NSBrowser*)sender titleOfColumn:(NSInteger)column { return @title; }No titles are showing up on screen. Just a blank gap where the titles go.
Hmm even though you cannot adjust the space in IB for the area where column titles go, coming out of Interface builder, if I resize the window, column titles suddenly shows up.
Topic:
UI Frameworks
SubTopic:
AppKit
Tags:
So there's the allowsEmptySelection property, which I have set to NO.This prevents empty selection in column 0 it seems. Now let's say I have a fairly simple model and my browser only has 2 columns, and there must be a selection in both columns at all times. When changing the selection in column 0, column 1 pops out with no selection. I'm not sure if there's a better way to do this, but I autoselect row 0 in column 1 within:-(void)browser:(NSBrowser*)browser didChangeLastColumn:(NSInteger)oldLastColumn toColumn:(NSInteger)column //check if column is column 1...if it is, ensure atleast 1 value is select. Every entry in column 0 has at least 1 child.The code is a little ugly but I can tolerate it. Now another thing I have to do is track the current selection in column 1, and if the user clicks the background in column 1 (which will empty the selection in column 1) I have to deny it within:-(NSInd
Thanks for replying. I have to apologize - I was a little rushed when I wrote all that and mistakenly mentioned -drawRect:. I've actually just solved the two main issues I was having. Here's a post-mortem:My model object (Figure) does its own drawing (with lots of caching mechanisms) and its resulting image is used by an NSImageView on screen, and its PDF data is provided for export. Essentially, what I've discovered is that the low resolution is expected when using -lock/unlockFocus on NSImage instances. The correct behavior, which I somehow missed in the documentation the last time I visited this problem (and for a few hours this time), is to add an NSPDFImageRep to the image manually. This has resolved my resolution problem using the newer drawing handler method.I solved the render it now, please issue by immediately caching the PDF data for the image (which my Figure class holds as a property now vs. an on-demand method) alongside the image itself (dumping both when the figure is invalidated and its cache
Topic:
UI Frameworks
SubTopic:
AppKit
Tags:
So the issue with vmtracker is that it polls the system. Due to this, it can miss spikes. I bet what is happening is that something is mapping a large amount of memory into your process. Perhaps the kernel. Also the memory could be compressed out of your process so it doesn't appear in the dirty column.
Topic:
App & System Services
SubTopic:
Processes & Concurrency
Tags:
Its tables with numbers in format 00.00 or 0.00000 200-300 rowsabout 100 columns It’s a reference table, to get correct value by column and row nameAs an example, here is multiply table 1 2 31 1 2 32 2 4 33 3 6 9So, basically, to calculate some values, I need to get reference value from one or two tables.For examplex = (a+b+c)/(get value from table A for 2*3)
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Is the table rectangular? That is, does each row have the same number of columns? And vice versa?Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Yes, it isEach row have the same number of columns, and vice versa, yes. real one will be similar with this - https://sanctusaura.files.wordpress.com/2010/06/relative-humidity2.jpg
Topic:
Programming Languages
SubTopic:
Swift
Tags:
300 (rows) * 100 (columns) * 8 (size of double) = 240000 bytes = 234K. I think most people take up more space than that for icons on buttons.
Topic:
Programming Languages
SubTopic:
Swift
Tags:
If you downloaded older OS versions from the Mac App Store in the past, you can redownload them by going to the Mac App Store and clicking the Purchased button. You can also find older OS versions on Apple's developer site (developer.apple.com). Click the Downloads link at the bottom of the page. It's in the Develop column of links.If you find supporting old OS versions annoying, drop 10.10 support. Many developers officially support only the latest OS version (currently 10.12) and the previous version (currently 10.11). Anyone running 10.10 can upgrade to 10.11 or 10.12 for free.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Replied yesterday, but it still on moderation because of link to picture with table example.So yes, all tables is rectangular, and each row have the same number of columns, and vice versa, yes.
Topic:
Programming Languages
SubTopic:
Swift
Tags:
john daniel wrote:I think most people take up more space than that for icons on buttons.Right. But this will be considerably bigger if you put it in an XML plist.@DenisO, For a rectangular array like this I’d probably put the data into a file in binary form and then memory map that. You can then access the values at random and the VM subsystem will take care of the rest.Furthermore, I’d wrap this in a nice, Swift-friendly data structure. Something like this:class DataMap { let rowCount = 16 let columnCount = 16 init?(file: URL) { guard let d = try? NSData(contentsOf: file, options: [.alwaysMapped]) else { return nil } guard d.length == (self.rowCount * self.columnCount * MemoryLayout<Double>.size) else { return nil } self.data = d let base = d.bytes.assumingMemoryBound(to: Double.self) self.buffer = UnsafeBufferPointer(start: base, count: d.length) } private let data: NSData private let buffer: UnsafeBufferPointer<Double> subscript (row: Int, column: Int) -> Double { precondition((0..&
Topic:
Programming Languages
SubTopic:
Swift
Tags:
I found long ago that in Mac OS X 10.7 (Lion), you must set the Titled property of NSBrowser in Interface Builder; setting it in code in -awakeFromNib instead caused the column titles to disappear when the browser view was scrolled left or right. I haven't changed the code in my application since, because it works, so I don't know whether this problem still exists in more recent releases of macOS.
Topic:
UI Frameworks
SubTopic:
AppKit
Tags:
My application sets NSCollectionBehavior for all its windows to NSWindowCollectionBehaviorCanJoinAllSpaces. The main window contains an NSBrowser view. As long as I remain in the original space where I launched my application, the browser view works correctly.After I switch to a different space, rows in one column of the browser view do not become visible when I scroll the column vertically. Instead, rows that were scrolled out of view at the time I switched spaces appear blank when I scroll them into view in the new space. Sometimes they become visible after a little while if I jiggle the column up and down briefly in the second space, but sometimes they remain invisible no matter what I do. When I switch back to the space in which the application was originally launched, all the rows are visible and scrolling again works as expected.Still more puzzling, this only happens in the second column of the browser view. If the third and fourth rows also have rows scrolled out of