Update MenuBar text daily on OS X - objective-c

Hello I want to create app with changing MenuBar text everyday at 00:00 from some system call.
For example in menu bar will be text Today celebrating Martin ... tomorrow will be : Today celebrating Michael ...

if I understand correctly, you want something that has separate "days" at the top of your screen?
I am developing an app right now that requires something similar.
You're going to want to create a calendar day reference that uses the device's calendar and location. Once you have this, compare that reference to a set day-- say, 1-Jan-1970.

I've used the NSTimer controller for making a changes on MenuBar everyday ...

Related

Location simulation locked up

Today, when I try to use the location simulation, I find it is unresponsive.
Prior to this, I was able to resize the simulator, and go to any location. Today, none of these inputs work.
Also, is it possible to change the default lat/long in the simulator?
It currently defaults to a location that is not very useful to me.
Thanks,
-Craig Lang
Horizon Technologies
You can change the default location by entering your desired Latitude and Longitude to the fields provided and Update, then close the location window.
Whenever you run app, it will now default to that location. I agree that location simulation should remember your last used location when it's opened and it shouldn't change the default to New York. I believe this is something Codenameone team could provide.
Your location simulation maybe freezing if you're using the update Piotr provided, as it may contain minor bug. Check if you are getting any Exception in your console.
Maybe these pull request are solutions:
https://github.com/codenameone/CodenameOne/pull/1703
https:/github.com/codenameone/CodenameOne/pull/1707
The first one added all locations parameters to the form and remove update button as not needed, you need just change value or move you mouse wheel. This pull request was accepted free days ago so it should be on production?
The second one add store form fields and waiting for accept.
New Location Form

How to highlight specific dates in datepicker on Android

I need to develop an application that checks a database and highlights the dates which have any record on this database (something like this). I have done some research about it but the method that I found is colorizing background of day manually.

List of entries in iOS development

I'm pretty new to iOS programming and I'm looking for a way to do something. I Want a single view with a list of entries. On top of the page, there is a + sign to add a new entry. An entry is just a text that you've entered (so of course you can click open the text on the list, and swipe to left to delete it).
What's the object that I need to do this?
Thank you.
Looks like a job for UITableView.

Gorm main window does not accept drag-and-drop

When I try to add any widget (label, button ...) to main application Window in Gorm, the Window does not accept the widget. I try to drag and drop but nothing wants to 'stick'. When I select and left click on button widget in palette window the curson changes to '2 green squares'. When I start dragging it changes to '2 black squares'.
Another problem is that the 'Document' window opens really long window (stretches about 5 times the width of my screen) but apart from NSOwner, NSFirst, My Window and NSMenu icons it is empty.
Any ideas what is wrong?
I'm running linux with fluxbox-1.1.1
I've compiled gorm-1.2.8 and gnustep-startup-0.22.0 that contains:
ffcall-1.10
gnustep-back-0.16.0
gnustep-base-1.18.0
gnustep-gui-0.16.0
gnustep-make-2.0.7
gnustep-objc-1.6.0
libffi-3.0.1
Any help is appreciated.
Thanks
Maybe there's a compatibility issue or some conflict between existing run time libraries and the new ones that I'm trying to add. Doesn't seems like there's a straightforward answer for this. Nevermind, I gave up trying atm. Maybe later when I setup another Linux box I give it a try - I'll stay with Mac OS X for now :)

Multiple windows or "pages" in an application

I am a newbie in Mac application development. I want to write a GUI application in Cocoa using Interface Builder. I want multiple screens i.e. when one button on a screen is clicked, another screen should be displayed. How can I activate a new screen at button click event?
I would heartily recommend Aaron Hilegass's book Cocoa Programming for Mac OS X. It took me from feeling like everything was impossible to being relatively competent in the space of a few short weeks. I was very impressed with it.
Apple's documentation is amazingly good, but it takes a while to get used to the style, and you will need to know which objects actually exist before you can look up how to use them, which is where Aaron's book comes in.
Your library may have a copy of it, or be able to order one for you if they don't.
I think you mean windows, not screens. Screens are the displays (monitors) on which all the user's windows from all the user's applications appear.
And I second Jonathan's recommendation of the Hillegass book.
The button has a target. That should link to the new window. As its action you can tell the window to show itself.
Take a look at:
http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/WinPanel/WinPanel.html
I think what you want is the type of interface like that seen in Coda, or System Preferences where there is a toolbar on the top of the screen that can be used to select between the content of the window.
The simplest method I have found is to use BWToolkit.
Another method is to use a series of views, and switch between them when the toolbar is clicked. I've found one description here, but that's not the one I used first (which may have been originally in Ruby Cocoa, IIRC).
NSTabView.