WARNING: questions that require code level details of programming languages are generally off topic here. See the [help] for details.

learn more… | top users | synonyms (1)

1
vote
1answer
195 views

Why do editors such as BBEdit and Textmate have the option of ending your file in a newline (line break)? Why is that important?

Sorry about the n00b question but why is this an option? Is there any caveats to not ending a file with a line break?
1
vote
2answers
1k views

Can anyone confirm whether MacRuby framework shipped with Lion?

Somewhere I read that Apple wants to include macruby framework in OS X Lion. Did they include it?
1
vote
2answers
122 views

Scripting environment setup

When I start a session programming on my macbook pro, I have a bunch of apps I'd like open and ready: DevNull smtp java server (run from terminal with java -jar DevNull.jar) Terminal shell in the ...
1
vote
0answers
30 views

Export a changed Bundle from Textmate 2

How do I export a Bundle with changes (delta) from Textmate 2? I have installed the Bundle manually and it appears in the ~/Library/Application Support/Avian/Pristine Copy/Bundles directory. But ...
1
vote
0answers
68 views

Options for signing kernel extensions for loading under Yosemite without apple-issued certificate?

Has anyone tried to use codesign to self-sign a previously-unsigned kext for personal use under Yosemite (10.10)? Self-signing is discussed in this apple technote, but not for kernel extensions ...
1
vote
0answers
381 views

Install multiple different versions of Xcode

I am on Yosemite and trying to compile a software package using g++. Compiling this particular package has previously worked on Mountain Lion under Xcode 4.6.3, but now I have Xcode 6.1.1, and the ...
1
vote
1answer
29 views

ios development in windows [duplicate]

I have HP-2000-Notebook Pavilion series with windows on it. More my notebook doesn't support visualization technology. I want to develop and iOS app in objective c. Is there any alternative that ...
1
vote
0answers
82 views

Application to get Magnetometer, Acceleration and Gyro data in one file?

I use iPhone for analysing trajectory, more here. I am trying to find an app that makes it easy to get Mag/Acc/Gyro data from the phone to let say dropbox. I have found apps that allow you to get only ...
1
vote
1answer
28 views

iOS application monetization

Can developer monetize application like following: Developer develops application -> rents that application to certain person which pays to the developer monthly/yearly for such service, that ...
1
vote
0answers
616 views

AppStore Promtional Artwork Approved - Not Used

8 days ago, Apple emailed me and asked me to provide promotional artwork for an iOS App which I published on March 7. They needed me to upload promotional artwork for a possible feature on the App ...
1
vote
0answers
512 views

error: BerkeleyDB version incompatible with BDB/HDB backends [closed]

I've downloaded OpenLDAP sources from Apple Source for OSX 1.9. But I've the following error found in config.log when compiling using make: configure:27816: checking for db.h configure:27824: ...
1
vote
0answers
68 views

why is my signing option not available in xcode? [closed]

I have developed an app in xcode (5) but when I got to distribute it one of the first steps is to select a method of signing the app, however when I look at project | target | general | identity I ...
1
vote
2answers
818 views

Scripting on iPad - accessing features like accelerometer, GPS, etc

Are there any scripting languages for the iPad that can access native functionality like accelerometer, GPS, text messages, etc? I know that it is possible to write Scheme and Python scripts but I ...
1
vote
0answers
166 views

Does the javascript debugger in Safari have the ability to de-minify javascript like chrome does?

In the Chrome debugger under the "Sources" tab, there is a little "{}" button at the bottom that will de-minify minified code and make it human readable, as well as allow the developer to set ...
1
vote
1answer
1k views

Using dnsmasq when not connected to the Internet

I'm routing dns requests through dnsmasq so that domains I'm using for local development point to 127.0.0.1. This works great when I'm connected to the Internet via Wi-Fi or ethernet, but I start to ...
1
vote
0answers
578 views

Can I tie a referrer to an app store purchase to the referred customer of the app?

I am trying to find out if I can have several referrers (call them websites for now), and when downloaded/installed from a referral, know where that users came from, for example to show the logo of ...
1
vote
0answers
355 views

Monodevelop on OS X and Displaying UTF-8

Does using Copy or paste cause monodevelop to crash, or is it just me? If you have Monodevelop installed, please can you test this, I fount that both shortcuts and from the menus cause it to crash. I ...
1
vote
1answer
204 views

Homebrew and existent software in /usr/local

Is it ok to install homebrew in default(for homebrew) deirectory /usr/local if I've already have installed software there. In other words, if Mysql and GPGTool already installed in /usr/local and ...
0
votes
3answers
742 views

It is required to have a mac to build iphone application or we can use VirtualBox to emulate the MAC OS X platform?

It is required to have a mac to build iphone application or we can use VirtualBox to emulate the MAC OS X platform and do the same task ? Is there any license restriction ? Thanks.
0
votes
4answers
420 views

A better configuration to do development?

currently I have a mac mini: Hardware Overview : Model Name: Mac mini Model Identifier: Macmini2,1 Processor Name: Intel Core 2 Duo Processor Speed: 1,83 GHz Number Of Processor: ...
0
votes
2answers
5k views

Xcode update for 10.6.8

I would like to use a newer version of Xcode (current version on my system is 3.2.4) and the command line tools (gcc & make). I have tried to install Xcode through the Mac App Store, however I ...
0
votes
1answer
59 views

iOS development with Whited00r 7

I am an iOS developer, and have an old 3G device. If I setup whited00r 7, can I use that device for development as I can use a device with iOS 7? (Register provisioning profile for that device and ...
0
votes
2answers
1k views

Can I use iMac G5 PowerPC for iOS app development?

Can I use iMac G5 PowerPC for iOS app development? If not, why?
0
votes
1answer
301 views

Xcode tools getting working without the Xcode CD or external drive?

I would like to get the Xcode-developer things to my Macs. I noticed that Apple has started to offer some terminal things online, more here. I am still lazy to get the CDs, to get all Xcode-developer ...
0
votes
1answer
166 views

Can I release as opensource an iPad application I develop?

Suppose I want to develop for iPad or iPhone. Can I release the code of this application on a public git repo, and under an opensource license ? (side comment: I consider shocking that I have to ask ...
0
votes
1answer
11 views

To discontinue line in many lines in Xcode

I have the following code, but I do not want it to continue to many lines. I want everything in one line. How can you prevent this from happening?
0
votes
1answer
184 views

Different programs in the same Xcode C++ project

I am trying to use XCode as my training environment for simple C++ programs. If I create a new project, I can successfully complete everything (compile, run) but If I add one more file, it can't ...
0
votes
2answers
16 views

UI Guidelines : Left Navigation button should be a previous button

I've recently heard the that statement that the left navigation button should be a previous button and should not be used to display a menu. Is that statement present in an offical guideline ...
0
votes
1answer
116 views

Is iPhone 5C suitable for development?

I would like to buy a second-hand iPhone 5C and use it for testing purposes. Aside from hardware specs, are there any limitations specific to 5C that I should be aware of? Also, given that I want to ...
0
votes
2answers
132 views

Geeklet script to ping hosts

I have found the nice script below to ping a host to check if it is up or down. However I haven't found a way (and my very basic programming knowledge has failed me here) on how I can ping multiple ...
0
votes
3answers
136 views

Can I develop apps on an iPhone 5 without service?

The company I am working for wants to develop iPhone apps. But we don't want to have to pay for service on the phone. Is is possible to purchase a used phone and use it to develop apps without hooking ...
0
votes
1answer
3k views

Where to find ARM GCC compiler in XCODE5?

I am trying to run kivy on Mac and it relies on my Xcode arm gcc compiler. I already tryied to answer this question in a stackoverflow question but here I we again... Where to find the arm apple ...
0
votes
1answer
42 views

Docs needed to read before submitting app to App Store

What are the documents one has to read before submitting an app to the App Store? I guess these are the two: App review guidelines iOS human interface guidelines Are there others?
0
votes
1answer
91 views

Where did the iAds Network page go?

Good day, Apple has just came up with this new iAds Networks workbench where you can create your own campaign for promoting your app. This button appears instead of the old one (iAds Network) in ...
0
votes
1answer
2k views

Problem with libxml2-2.8.0 version on OS X Lion

I have installed OS X Lion and I was trying to resolve error libxml2 missing for Ruby programming purpose. I tried to install latest version of Libxml2 that is libxml2-2.8.0 Because of ...
0
votes
1answer
7 views

Where are stored C “object” and “executable” files in Xcode?

Platform: OS X: Yosemite 10.10.4; Xcode: v6.4 (6E35b); MacbookPro 15" Retina (mid-2015). Fact: As C compiler and linker (upon standard) create .o and executable file(s) Questions: Where (please ...
0
votes
1answer
35 views

Big binary file in all OSX/Linux?

I need to find test binary data for the command xxd -ps file which is some GB or at least several MBs. I am using at the moment /usr/bin/telnet but it is not big and heterogenous between different ...
0
votes
1answer
45 views

Does apple actually name classes as WTF?

In the screenshot below, find the stack trace and look at the last stack(s). Is that just a programmers (@Apple) frustration or is there any acronym? I tried looking for some meaningful values
0
votes
2answers
24 views

Use Fn Keys, but keep Playback Keys

I'm a programmer, so it'd be useful for me to have access to F1, F2, etc. while working on my laptop (a 2013 Macbook Air). That said, I'm not really willing to give up the music or volume control ...
0
votes
1answer
57 views

Would it be possible for a share sheet item to open a specific browser?

I'm thinking of a way to easily switch browser or simply open pages in Chrome by using the share sheet. Can an app to create an icon in the share sheet that opens a third-party app? Does ...
0
votes
2answers
236 views

Why doesn't mobile Safari have a JavaScript console?

My question is fairly simple, seeing as iPod has full support for executing JavaScript (proven my bookmarklets (See below) why doesn't it have a "dev tools" option, or at least a JS console? Is there ...
0
votes
1answer
26 views

How to skip the tools during installation which I don't want to install from this automated installation list for osx dev tools?

https://github.com/thoughtbot/laptop/blob/master/mac For example I don't use Heroku so I want to comment out Heroku stuff. But I don't know how to do that. I have forked this script and want to ...
0
votes
1answer
123 views

Are Quartz Compositions portable to Linux?

I am interested in using Quartz Composer to make some visualization programs, that I want to run on a Raspbery Pi. My question is, is it possible to run something made in Quartz on Linux?
0
votes
1answer
295 views

safari IOS menu bar conflicts with buttons in lower 10% of the screen

I am building a web-portal which has to be functional and pretty on multiple platforms. One of the platforms is IOS Safari, and this is were I encountered a problem. In my code I align two floating ...
0
votes
1answer
94 views

How to install GNU Objective-C on OS X?

I have OS X Mavericks and I want to try to learn Objective-C(++). For this, I need to install the gobjc compiler, how do it (I've tried to install gobjc from sources but it's still not present)?
0
votes
1answer
189 views

Is Mac Mini enough to publish my game on iTunes or do I need iPod or iPhone to publish the game on iTunes?

I have a simple trivia game where you basically click on one of the 4 buttons the whole time, nothing else, maybe except the main game menu. My question is, if I need to own anything else except my ...
0
votes
1answer
172 views

How to install the RHIDE C++ IDE in OS X?

I'm looking to mimic the environment of the classic Turbo C++ compiler from the DOS days on Mac OS X. I have used DOSBox with actual Turbo C++ installed in the virtual drive, but I'm just ...
0
votes
1answer
189 views

Ideal iMac For programming (and some photoshop) [closed]

I am going to get a 21.5" iMac. It will primarily be used for Android, iOS, and web development, but may occasionally be used for some photoshop. Any other uses I have for it will be insignificant ...
0
votes
1answer
445 views

Net-SNMP python binding path

I'm currently setting a development environment in python 3.3 and i'm trying to import the Net-SNMP python bindings but idk where the files are located. Simple question: anyone knows where are ...
0
votes
1answer
578 views

is python accepted in the mac app store?

I know Objective-C is the recommended language for mac app store apps. What if I would like to write a mac app with python? Will my app be rejected when published?